diff --git a/assets/package-lock.json b/assets/package-lock.json index 349ee8534..4c5b9ca05 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1694,6 +1694,7 @@ "jest-resolve": "^26.6.2", "jest-util": "^26.6.2", "jest-worker": "^26.6.2", + "node-notifier": "^8.0.0", "slash": "^3.0.0", "source-map": "^0.6.0", "string-length": "^4.0.1", @@ -3267,6 +3268,7 @@ "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", + "fsevents": "~2.3.1", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -5127,7 +5129,8 @@ "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1" + "optionator": "^0.8.1", + "source-map": "~0.6.1" }, "bin": { "escodegen": "bin/escodegen.js", @@ -6969,6 +6972,7 @@ "@types/node": "*", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", + "fsevents": "^2.1.2", "graceful-fs": "^4.2.4", "jest-regex-util": "^26.0.0", "jest-serializer": "^26.6.2", @@ -8588,6 +8592,7 @@ "version": "6.1.0", "license": "MIT", "dependencies": { + "graceful-fs": "^4.1.6", "universalify": "^2.0.0" }, "optionalDependencies": { diff --git a/lib/livebook/notebook/explore.ex b/lib/livebook/notebook/explore.ex index 52711686c..92a6b3f23 100644 --- a/lib/livebook/notebook/explore.ex +++ b/lib/livebook/notebook/explore.ex @@ -68,7 +68,8 @@ defmodule Livebook.Notebook.Explore do defnotebook(:distributed_portals_with_elixir, description: "A fast-paced introduction to the Elixir language by building distributed data-transfer portals.", - image_url: "/images/portals.png" + image_url: "/images/elixir-portal.jpeg", + image_names: ["portal-drop.jpeg", "portal-list.jpeg"] ) defnotebook(:elixir_and_livebook, diff --git a/lib/livebook/notebook/explore/distributed_portals_with_elixir.livemd b/lib/livebook/notebook/explore/distributed_portals_with_elixir.livemd index e5838398f..4650f3cd6 100644 --- a/lib/livebook/notebook/explore/distributed_portals_with_elixir.livemd +++ b/lib/livebook/notebook/explore/distributed_portals_with_elixir.livemd @@ -23,13 +23,13 @@ In order to teleport, the player uses the Portal gun to shoot doors onto flat planes, like a floor or a wall. Entering one of those doors teleports you to the other: -![](/posts/elixir/1/images/portal-drop.jpeg) +![](images/portal-drop.jpeg) Our version of the Portal game will use Elixir to shoot doors of different colors and transfer data between them! We will even learn how we can distribute doors across different machines in our network: -![](/posts/elixir/1/images/portal-list.jpeg) +![](images/portal-list.jpeg) Here is what we will learn: @@ -817,7 +817,6 @@ and [many of the available learning resources](https://elixir-lang.org/learning. You can also learn how to use some of Elixir and Livebook's unique features together in the [Elixir and Livebook](/explore/notebooks/elixir-and-livebook) notebook. -Finally, huge thanks to [Augie De Blieck Jr.](http://twitter.com/augiedb) for the -drawings in this tutorial. +Finally, huge thanks to Augie De Blieck Jr. for the drawings in this tutorial. See you around! diff --git a/lib/livebook/notebook/explore/images/portal-drop.jpeg b/lib/livebook/notebook/explore/images/portal-drop.jpeg new file mode 100644 index 000000000..637e94d88 Binary files /dev/null and b/lib/livebook/notebook/explore/images/portal-drop.jpeg differ diff --git a/lib/livebook/notebook/explore/images/portal-list.jpeg b/lib/livebook/notebook/explore/images/portal-list.jpeg new file mode 100644 index 000000000..6b6bbbd5b Binary files /dev/null and b/lib/livebook/notebook/explore/images/portal-list.jpeg differ diff --git a/priv/static/images/elixir-portal.jpeg b/priv/static/images/elixir-portal.jpeg new file mode 100644 index 000000000..a4ae8cbb7 Binary files /dev/null and b/priv/static/images/elixir-portal.jpeg differ