Skip to content

Commit

Permalink
Add Web Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Apr 29, 2024
1 parent ad984b6 commit df6b84b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
({{ .Section | humanize | title -}}) · {{ .Site.Title -}}
{{- end -}}</title>

<link rel="manifest" href="/manifest.json">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#0e416c">
{{ $themeToggle := resources.Get "js/theme-toggle.js" }}
Expand Down
39 changes: 39 additions & 0 deletions docs/static/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "Modus Icons",
"short_name": "Modus Icons",
"start_url": "/?utm_source=a2hs",
"display": "standalone",
"lang": "en-us",
"background_color": "#f1f1f6",
"theme_color": "#0e416c",
"icons": [
{
"src": "favicon.svg",
"sizes": "512x512",
"type": "image/svg+xml"
}
],
"shortcuts": [
{
"name": "Modus Solid Icons",
"short_name": "Solid",
"description": "View all the Modus Solid Icons",
"url": "/modus-solid/",
"icons": [{ "src": "/modus-solid/svg/thumbs-up.svg", "sizes": "512x512" }]
},
{
"name": "Modus Outlined Icons",
"short_name": "Outlined",
"description": "View all the Modus Solid Icons",
"url": "/modus-outlined/",
"icons": [{ "src": "/modus-outlined/svg/thumbs-up.svg", "sizes": "512x512" }]
},
{
"name": "Modus Transportation Icons",
"short_name": "Transportation",
"description": "View all the Transportation Icons",
"url": "/transportation/",
"icons": [{ "src": "/transportation/svg/truck.svg", "sizes": "512x512" }]
}
]
}

0 comments on commit df6b84b

Please sign in to comment.