From c7e251b36ed172b7b3606b8b60e72e4c1903a5ca Mon Sep 17 00:00:00 2001 From: nelsonic Date: Sat, 8 Jun 2024 10:07:35 +0100 Subject: [PATCH] add apple touch icons. fixes #172 --- BUILDIT.md | 8 +- lib/app_web/templates/layout/icons.html.heex | 84 ++++++++++++++++++++ lib/app_web/templates/layout/root.html.heex | 1 + 3 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 lib/app_web/templates/layout/icons.html.heex diff --git a/BUILDIT.md b/BUILDIT.md index c248280..9652ef2 100644 --- a/BUILDIT.md +++ b/BUILDIT.md @@ -49,8 +49,8 @@ mix test This will help you keep track of where you are and retrace your steps if something is not working as expected. -We suggest keeping two terminal tabs/windows running -one for the server `mix phx.server` and the other for the tests. +We suggest keeping two terminal tabs/windows running;
+one for the server `mix phx.server` and the other for the **tests**.
That way you can also see the UI as you progress. With that in place, let's get building! @@ -318,8 +318,8 @@ you should see the following: ## 1.6 Update Tests At this point we have made a few changes -that mean our automated test suite will no longer pass ... -Run the tests in your command line with the following command: +that mean our automated test suite will no longer pass ...
+Run the tests in your terminal: ```sh mix test diff --git a/lib/app_web/templates/layout/icons.html.heex b/lib/app_web/templates/layout/icons.html.heex new file mode 100644 index 0000000..c26826c --- /dev/null +++ b/lib/app_web/templates/layout/icons.html.heex @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/app_web/templates/layout/root.html.heex b/lib/app_web/templates/layout/root.html.heex index fed63c4..46a685b 100644 --- a/lib/app_web/templates/layout/root.html.heex +++ b/lib/app_web/templates/layout/root.html.heex @@ -8,6 +8,7 @@ <.live_title suffix="- MyApp"> <%= assigns[:page_title] || "Welcome" %> + <%= render("icons.html") %>