1099 Make a 404 page for the marketing site #4

Merged
laney-delaney-slaney merged 6 commits from 1099-create-404-page into main 2023-02-10 13:41:30 +13:00
laney-delaney-slaney commented 2023-02-09 09:42:11 +13:00 (Migrated from github.com)
No description provided.
netlify[bot] commented 2023-02-09 09:42:16 +13:00 (Migrated from github.com)

Deploy Preview for mythic-c4dc9a ready!

Name Link
Latest commit 72d7e317ea
Latest deploy log https://app.netlify.com/sites/mythic-c4dc9a/deploys/63e591b0e8ee730008385c11
Deploy Preview https://deploy-preview-4--mythic-c4dc9a.netlify.app/404
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

### <span aria-hidden="true">✅</span> Deploy Preview for *mythic-c4dc9a* ready! | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 72d7e317ea962a9a4bc4891b02e2964100d41baa | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/mythic-c4dc9a/deploys/63e591b0e8ee730008385c11 | |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-4--mythic-c4dc9a.netlify.app/404](https://deploy-preview-4--mythic-c4dc9a.netlify.app/404) | |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTQtLW15dGhpYy1jNGRjOWEubmV0bGlmeS5hcHAifQ.TNokhNim9o3qpHMIeYvvsqenmPYQCKHKOm1GUDhvAsU)<br /><br />_Use your smartphone camera to open QR code link._</details> | --- _To edit notification comments on pull requests, go to your [Netlify site settings](https://app.netlify.com/sites/mythic-c4dc9a/settings/deploys#deploy-notifications)._
philiprenich commented 2023-02-09 13:02:07 +13:00 (Migrated from github.com)

image

I take it back, I think the mascot can be on top for mobile, just maybe a little smaller and adjusting white space.

Mascot on the right for the wide screen version.

![image](https://user-images.githubusercontent.com/635088/217679309-8b18db15-ecf4-4ab8-807a-d8c3043f4830.png) I take it back, I think the mascot can be on top for mobile, just maybe a little smaller and adjusting white space. Mascot on the right for the wide screen version.
philiprenich (Migrated from github.com) requested changes 2023-02-09 13:20:58 +13:00
philiprenich (Migrated from github.com) commented 2023-02-09 13:03:31 +13:00

Should we remove this since Netlify handles the 404 mapping? In dev we can just hit the page directly.

Should we remove this since Netlify handles the 404 mapping? In dev we can just hit the page directly.
philiprenich (Migrated from github.com) commented 2023-02-09 13:04:51 +13:00
      Are you lost, Adventurer?
```suggestion Are you lost, Adventurer? ```
philiprenich (Migrated from github.com) commented 2023-02-09 13:05:23 +13:00
      Maybe we can help you find your way.
```suggestion Maybe we can help you find your way. ```
philiprenich (Migrated from github.com) commented 2023-02-09 13:06:53 +13:00

Flipping the phrasing around to put the link nearer the start and have a more active voice.

      <a href="https://app.mythic.nz/">Visit the dashboard</a> to get started using the Mythic editor.
Flipping the phrasing around to put the link nearer the start and have a more active voice. ```suggestion <a href="https://app.mythic.nz/">Visit the dashboard</a> to get started using the Mythic editor. ```
philiprenich (Migrated from github.com) commented 2023-02-09 13:07:49 +13:00
      Need a hand? Our <a href="https://mythic.nz/help">help scrolls</a> have information on how to

fyi help has moved to the marketing site

```suggestion Need a hand? Our <a href="https://mythic.nz/help">help scrolls</a> have information on how to ``` fyi help has moved to the marketing site
@ -0,0 +20,4 @@
<h2>
Maybe we can help you find your way.
</h2>
<p>
philiprenich (Migrated from github.com) commented 2023-02-09 13:10:11 +13:00

This second line might be nice as an h2

This second line might be nice as an `h2`
philiprenich (Migrated from github.com) commented 2023-02-09 13:20:44 +13:00

Let's remove the aria-hidden in this case. I think it's nice to have this text available to screen readers. On the other pages, the alt text is blank so the attribute makes more sense.

As an aside though, it looks like aria-hidden is not a true boolean attribute; that is, it needs to be set to "true". Its presence alone doesn't remove it from the accessibility api, at least for MacOS VoiceOver. So the other pages could be updated to fix that. TBH, I could be swayed to add in an alt text to the other dragon images just to give a little bit of flavour to non-sighted users.

Let's remove the `aria-hidden` in this case. I think it's nice to have this text available to screen readers. On the other pages, the alt text is blank so the attribute makes more sense. As an aside though, it looks like `aria-hidden` is not a true boolean attribute; that is, it needs to be set to "true". Its presence alone doesn't remove it from the accessibility api, at least for MacOS VoiceOver. So the other pages could be updated to fix that. TBH, I could be swayed to add in an alt text to the other dragon images just to give a little bit of flavour to non-sighted users.
philiprenich (Migrated from github.com) requested changes 2023-02-09 16:24:12 +13:00
philiprenich (Migrated from github.com) commented 2023-02-09 16:22:18 +13:00

Remove this, it's going into the meta tags.

Remove this, it's going into the meta tags.
philiprenich (Migrated from github.com) commented 2023-02-09 16:22:47 +13:00

Maybe "Page not found"?

Maybe "Page not found"?
philiprenich (Migrated from github.com) commented 2023-02-09 16:23:31 +13:00

I think we can get rid of this and just drop the text directly into the code.

I think we can get rid of this and just drop the text directly into the code.
@ -0,0 +2,4 @@
class: 404
title: "Page not found"
permalink: 404.html
---
philiprenich (Migrated from github.com) commented 2023-02-09 16:23:17 +13:00

The permalink is needed so 11ty builds "404.html" not "/404/index.html". Netlify needs the former it looks like.

The permalink is needed so 11ty builds "404.html" not "/404/index.html". Netlify needs the former it looks like.
philiprenich (Migrated from github.com) approved these changes 2023-02-10 13:37:17 +13:00
Sign in to join this conversation.
No description provided.