From afda8895451040b35eafc2bde5b62ec9286a4014 Mon Sep 17 00:00:00 2001
From: ben little
+ "This app is a " "Single Page Applicaton" " \
+ or SPA. This means that routing (how your browser decides what \
+ to do with the URL) is determined by code running on this page \
+ rather than by making a web request to a remote server."
+
+ "This would normally be fine, but this site is also hosted on Github \
+ Pages, which doesn't currently provide support for a SPA's routing \
+ mechanism. That means you may need to navigate to the page using \
+ a " "link in the app" " rather than by following an external \
+ link."
+
+ "If you clicked something inside the app and got to this page, that's \
+ definitely a bug!"
+ "Uh oh!"
}
+ let spa_wiki = "https://en.wikipedia.org/wiki/Single-page_application";
+ view! {
+
"We couldn't find that page!""Not Found"
+
+
+ "Check out the navigation menu by hovering your cursor \
+ over the blue-ish purple-ish bar on the left."
+
+
+ "But this URL worked before!"
+
"Shortname" | diff --git a/ui/style.scss b/ui/style.scss index 41a8a0a..554d84c 100644 --- a/ui/style.scss +++ b/ui/style.scss @@ -450,4 +450,15 @@ nav ul { .hidden { display: none !important; +} + +#not-found { + display: flex; + flex-direction: column; + align-items: start; + text-align: left; + + >* { + margin-bottom: 1rem; + } } \ No newline at end of file