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 81ea16eccbc6440703fb2afacaf6cee4e2fc0760
parent ff27b5e62011039954d088e2315f0550988ad1c3
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Sat, 13 Mar 2021 12:22:43 -0800

Add routes for /data and /tests

Diffstat:
Mdata/index.html | 4+++-
Mjs/app.js | 8++++++++
2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/data/index.html b/data/index.html @@ -13,7 +13,9 @@ </head> <body onload="SetTheme();"> - <header onclick="window.location = '../';">Spanish-Quizzer</header> + <header> + <span onclick="window.location = '../';">Spanish-Quizzer</span> + </header> <main> <h1>Spanish-Quizzer Data</h1> diff --git a/js/app.js b/js/app.js @@ -152,6 +152,14 @@ function loadVue() { component: referencePage }, { + path: "/data", + beforeEnter: function() { window.location.href = "data"; } + }, + { + path: "/tests", + beforeEnter: function() { window.location.href = "tests"; } + }, + { path: "*", redirect: "/home" },