From b81dd6557cf7301132746d4d6eedc863f81cf2b7 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Wed, 14 May 2025 11:37:11 -0400 Subject: [PATCH] social sharing meta tags --- lib/labelmaker_web.ex | 3 +- .../components/layouts/root.html.heex | 28 ++++++++++-- priv/static/{ => images}/apple-touch-icon.png | Bin priv/static/{ => images}/favicon-96x96.png | Bin priv/static/images/favicon.ico | Bin 0 -> 15086 bytes priv/static/images/favicon.svg | 3 ++ priv/static/images/labelmaker_1024x512.png | Bin 0 -> 36980 bytes priv/static/images/labelmaker_1200x630.png | Bin 0 -> 39190 bytes .../{ => images}/web-app-manifest-192x192.png | Bin .../{ => images}/web-app-manifest-512x512.png | Bin priv/static/site.webmanifest | 41 +++++++++--------- 11 files changed, 49 insertions(+), 26 deletions(-) rename priv/static/{ => images}/apple-touch-icon.png (100%) rename priv/static/{ => images}/favicon-96x96.png (100%) create mode 100644 priv/static/images/favicon.ico create mode 100644 priv/static/images/favicon.svg create mode 100644 priv/static/images/labelmaker_1024x512.png create mode 100644 priv/static/images/labelmaker_1200x630.png rename priv/static/{ => images}/web-app-manifest-192x192.png (100%) rename priv/static/{ => images}/web-app-manifest-512x512.png (100%) diff --git a/lib/labelmaker_web.ex b/lib/labelmaker_web.ex index a1c029e..2314592 100644 --- a/lib/labelmaker_web.ex +++ b/lib/labelmaker_web.ex @@ -18,8 +18,7 @@ defmodule LabelmakerWeb do """ def static_paths, - do: - ~w(assets fonts images labels favicon.ico favicon.svg favicon-96x96.png apple-touch-icon.png web-app-manifest-192x192.png web-app-manifest-512x512.png site.webmanifest robots.txt) + do: ~w(assets fonts images labels favicon.ico favicon.svg site.webmanifest robots.txt) def router do quote do diff --git a/lib/labelmaker_web/components/layouts/root.html.heex b/lib/labelmaker_web/components/layouts/root.html.heex index 4d44bf2..adf51ff 100644 --- a/lib/labelmaker_web/components/layouts/root.html.heex +++ b/lib/labelmaker_web/components/layouts/root.html.heex @@ -7,11 +7,31 @@ <.live_title default="labelmaker.xyz"> {assigns[:page_title]} - - - - + + + + + + + + + + + + + + + + + +