Skip to content

Commit

Permalink
fixed webmanifest (#1)
Browse files Browse the repository at this point in the history
* 🚀 (webmanifest) fixed start_url pointing to the root of account's GitHub Pages instead of the root of the website itself

Also added the wide screenshot. However, still purposely ignoring the “twin” warning that asks for a mobile screenshot –
 because this page/website is unlikely to be used on mobile anyway.

Besides, while at it, thrown this screenshot in the readme.
  • Loading branch information
dogfuntom authored Jul 21, 2024
1 parent 3c25245 commit 092aec0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"dictionaries": [
"node"
]
},
{
"languageId": "json",
"dictionaries": [
"fullstack"
]
}
]
}
18 changes: 14 additions & 4 deletions docs/readme.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
== 🖼➡🖼🖼➡🖨 fit few copies of picture on printed page
= 🖼➡🖼🖼➡🖨 fit few copies of picture on printed page
:figure-caption!:

=== development
.screenshot
[%collapsible]
====
// Custom HTML for the sake of lazy loading.
++++
<img src="./screenshot.webp" loading="lazy" />
++++
====
== development
"We feel the best way to become a well-rounded and highly-capable web developer is to focus first on learning what the web platform has to offer with as few frameworks and tools added on top as possible."
-- https://modern-web.dev[Modern Web], "`https://modern-web.dev/guides/going-buildless[Going Buildless]`" https://modern-web.dev/guides/going-buildless/getting-started/[§ Getting Started] (https://github.com/modernweb-dev/web/blob/8c0250c6d844767896360d083e743c5a3edc502a/docs/guides/going-buildless/getting-started.md[permalink])
Expand All @@ -14,9 +24,9 @@ This repo is intended to be a sample project about:
* having use for the notoriously “shunned” `+reset+` button
* and--to a small extent--validation, allowing scale-up in `+flex+` in `+grid+`, `+IntersectionObserver+`, `+<output>+`, print margins, units of length, etc.
=== limitations
== limitations
* PWA support is untested and incomplete
* PWA support is, technically, not fully to specificaton--"`a user agent MAY ignore it`" and if it does, the user will see the root of account's GitHub Pages (which is horribly extraneous)
* accessibility is untested (meant to be hopefully serviceable to sighted screen reader users, partially sighted, etc.)
---
Expand Down
Binary file added docs/screenshot.webp
Binary file not shown.
12 changes: 10 additions & 2 deletions manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"sizes": "any"
}
],
"start_url": "/",
"display": "minimal-ui"
"start_url": "./",
"display": "minimal-ui",
"screenshots": [
{
"src": "./docs/screenshot.webp",
"sizes": "1280x720",
"form_factor": "wide",
"label": "default state with a custom image opened"
}
]
}

0 comments on commit 092aec0

Please sign in to comment.