Compare commits

...

5 Commits

Author SHA1 Message Date
Gavin McDonald
b81dd6557c social sharing meta tags 2025-05-14 11:37:11 -04:00
Gavin McDonald
3bd08c60df favicons 2025-05-14 10:49:04 -04:00
Gavin McDonald
3a789d8a7c link to proper repository 2025-05-14 08:52:53 -04:00
Gavin McDonald
28abab8aa8 Merge branch 'trunk' of github.com:mcdoh/labelmaker into trunk 2025-05-14 08:50:59 -04:00
Gavin McDonald
a11c93431a clean up image comment 2025-05-14 08:33:15 -04:00
15 changed files with 58 additions and 3 deletions

View File

@@ -17,7 +17,8 @@ defmodule LabelmakerWeb do
those modules here. those modules here.
""" """
def static_paths, do: ~w(assets fonts images labels favicon.ico robots.txt) def static_paths,
do: ~w(assets fonts images labels favicon.ico favicon.svg site.webmanifest robots.txt)
def router do def router do
quote do quote do

View File

@@ -5,7 +5,7 @@
</a> </a>
<div class="flex items-center gap-4"> <div class="flex items-center gap-4">
<a <a
href="https://github.com/mcdoh/tarokka" href="https://github.com/mcdoh/labelmaker"
class="h-[35px] w-[125px]" class="h-[35px] w-[125px]"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"

View File

@@ -7,6 +7,32 @@
<.live_title default="labelmaker.xyz"> <.live_title default="labelmaker.xyz">
{assigns[:page_title]} {assigns[:page_title]}
</.live_title> </.live_title>
<meta name="description" content="Easily create text images via URL for Tabletop Simulator" />
<link rel="icon" type="image/png" href="/images/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="shortcut icon" href="/images/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="Labelmaker" />
<meta property="og:title" content="Labelmaker" />
<meta
property="og:description"
content="Easily create text images via URL for Tabletop Simulator"
/>
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image" content="https://labelmaker.xyz/labelmaker_1200x630.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Labelmaker" />
<meta
name="twitter:description"
content="Easily create text images via URL for Tabletop Simulator"
/>
<meta name="twitter:image:type" content="image/png" />
<meta name="twitter:image:width" content="1024" />
<meta name="twitter:image:height" content="512" />
<meta name="twitter:image" content="https://labelmaker.xyz/labelmaker_1024x512.png" />
<link rel="manifest" href="/site.webmanifest" />
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} /> <link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}> <script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
</script> </script>

View File

@@ -41,7 +41,7 @@ defmodule LabelmakerWeb.LabelController do
"label:#{String.slice(options.label, 0, Constants.max_label_length())}", "label:#{String.slice(options.label, 0, Constants.max_label_length())}",
"-set", "-set",
"comment", "comment",
inspect(Jason.encode!(options)), inspect(Jason.encode!(Map.drop(options, [:link]))),
filepath filepath
] ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 15 KiB

3
priv/static/favicon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 523 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 523 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

View File

@@ -0,0 +1,22 @@
{
"name": "Labelmaker",
"short_name": "Labelmaker",
"icons": [
{
"src": "/images/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/images/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#6495ED",
"background_color": "#6495ED",
"display": "standalone"
}