spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit 8e4c16eabf743fb97ac185c946db358c69d49626
parent 2eb59833240b87418b355c5b4f787eda5f6172af
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Mon, 22 Feb 2021 08:58:11 -0800

Add 404 page

Diffstat:
A404.html | 19+++++++++++++++++++
Mjs/app.js | 1+
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/404.html b/404.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"/> + <title>404 Not Found - Spanish-Quizzer</title> + <meta name="description" content="Quiz yourself on Spanish vocabulary and conjugations through a free and highly customizable web interface."> + <meta name="viewport" content="width=device-width, user-scalable=no"/> + <link rel="icon" type="image/png" href="https://ashermorgan.github.io/Spanish-Quizzer/images/favicon-32.png"> + <link rel="apple-touch-icon" sizes="180x180" href="https://ashermorgan.github.io/Spanish-Quizzer/images/apple-touch-icon.png"> + <link rel="stylesheet" href="https://ashermorgan.github.io/Spanish-Quizzer/css/global.css"/> + </head> + <body> + <header>Spanish-Quizzer</header> + <main> + <h1>404 Not Found</h1> + <p><a href="https://ashermorgan.github.io/Spanish-Quizzer">homepage</a></p> + </main> + </body> +</html> diff --git a/js/app.js b/js/app.js @@ -88,6 +88,7 @@ function loadVue() { { path: "/vocab", name: "vocab", component: filtersPage, props: {category: "vocab"}}, { path: "/quizzer", name: "quizzer", component: quizzerPage, props:true }, { path: "/reference", name: "reference", component: referencePage }, + { path: "*", redirect: "/home" }, ], }),