diff --git a/lib/plexus_web.ex b/lib/plexus_web.ex index 848368ce..79acab6e 100644 --- a/lib/plexus_web.ex +++ b/lib/plexus_web.ex @@ -17,7 +17,9 @@ defmodule PlexusWeb do those modules here. """ - def static_paths, do: ~w(assets fonts images favicon.ico robots.txt) + def static_paths do + ~w(assets fonts images favicon.ico favicon mstile browserconfig apple safari robots.txt site) + end def router do quote do diff --git a/lib/plexus_web/components/layouts/root.html.heex b/lib/plexus_web/components/layouts/root.html.heex index e127692d..dcf2b16f 100644 --- a/lib/plexus_web/components/layouts/root.html.heex +++ b/lib/plexus_web/components/layouts/root.html.heex @@ -7,6 +7,38 @@ <.live_title suffix=" ยท Plexus"> <%= assigns[:page_title] || "Plexus" %> + + + + + + + + + + + + + + + + + + + diff --git a/lib/plexus_web/endpoint.ex b/lib/plexus_web/endpoint.ex index a11394eb..7f975cdc 100644 --- a/lib/plexus_web/endpoint.ex +++ b/lib/plexus_web/endpoint.ex @@ -21,7 +21,7 @@ defmodule PlexusWeb.Endpoint do at: "/", from: :plexus, gzip: false, - only: PlexusWeb.static_paths() + only_matching: PlexusWeb.static_paths() # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. diff --git a/lib/plexus_web/live/app_live/index.ex b/lib/plexus_web/live/app_live/index.ex index 20a9e24c..e24d4dd7 100644 --- a/lib/plexus_web/live/app_live/index.ex +++ b/lib/plexus_web/live/app_live/index.ex @@ -39,7 +39,7 @@ defmodule PlexusWeb.AppLive.Index do defp apply_action(socket, :index, _params) do socket - |> assign(:page_title, "Apps") + |> assign(:page_title, "Crowdsourced de-Googled Android apps status ratings") |> assign(:app, nil) end diff --git a/priv/static/android-chrome-192x192.png b/priv/static/android-chrome-192x192.png new file mode 100644 index 00000000..65a8212d Binary files /dev/null and b/priv/static/android-chrome-192x192.png differ diff --git a/priv/static/android-chrome-512x512.png b/priv/static/android-chrome-512x512.png new file mode 100644 index 00000000..c116dd77 Binary files /dev/null and b/priv/static/android-chrome-512x512.png differ diff --git a/priv/static/apple-touch-icon.png b/priv/static/apple-touch-icon.png new file mode 100644 index 00000000..b482d303 Binary files /dev/null and b/priv/static/apple-touch-icon.png differ diff --git a/priv/static/browserconfig.xml b/priv/static/browserconfig.xml new file mode 100644 index 00000000..c76c07c4 --- /dev/null +++ b/priv/static/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #333333 + + + diff --git a/priv/static/favicon-16x16.png b/priv/static/favicon-16x16.png new file mode 100644 index 00000000..a4e6c003 Binary files /dev/null and b/priv/static/favicon-16x16.png differ diff --git a/priv/static/favicon-32x32.png b/priv/static/favicon-32x32.png new file mode 100644 index 00000000..435e948e Binary files /dev/null and b/priv/static/favicon-32x32.png differ diff --git a/priv/static/favicon.ico b/priv/static/favicon.ico index 73de524a..8be1fa1a 100644 Binary files a/priv/static/favicon.ico and b/priv/static/favicon.ico differ diff --git a/priv/static/images/og-plexus.jpg b/priv/static/images/og-plexus.jpg new file mode 100644 index 00000000..c7e6c4e1 Binary files /dev/null and b/priv/static/images/og-plexus.jpg differ diff --git a/priv/static/mstile-144x144.png b/priv/static/mstile-144x144.png new file mode 100644 index 00000000..79c55933 Binary files /dev/null and b/priv/static/mstile-144x144.png differ diff --git a/priv/static/mstile-150x150.png b/priv/static/mstile-150x150.png new file mode 100644 index 00000000..2e95fd3f Binary files /dev/null and b/priv/static/mstile-150x150.png differ diff --git a/priv/static/mstile-310x150.png b/priv/static/mstile-310x150.png new file mode 100644 index 00000000..432bd8b4 Binary files /dev/null and b/priv/static/mstile-310x150.png differ diff --git a/priv/static/mstile-310x310.png b/priv/static/mstile-310x310.png new file mode 100644 index 00000000..bf996c48 Binary files /dev/null and b/priv/static/mstile-310x310.png differ diff --git a/priv/static/mstile-70x70.png b/priv/static/mstile-70x70.png new file mode 100644 index 00000000..452d659c Binary files /dev/null and b/priv/static/mstile-70x70.png differ diff --git a/priv/static/safari-pinned-tab.svg b/priv/static/safari-pinned-tab.svg new file mode 100644 index 00000000..9b544ef6 --- /dev/null +++ b/priv/static/safari-pinned-tab.svg @@ -0,0 +1,48 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + diff --git a/priv/static/site.webmanifest b/priv/static/site.webmanifest new file mode 100644 index 00000000..69c8977c --- /dev/null +++ b/priv/static/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "Plexus", + "short_name": "Plexus", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#111111", + "background_color": "#111111", + "display": "standalone" +}