diff --git a/public/header.js b/public/header.js
index dcbcfe7..66eebf1 100644
--- a/public/header.js
+++ b/public/header.js
@@ -3,24 +3,28 @@ function displayHeader() {
{
href: "/",
name: "Home",
+ accessKey: "h",
},
{
href: "/register/",
name: "Register",
+ accessKey: "r",
},
{
href: "/login/",
name: "Login",
+ accessKey: "l",
},
{
href: "/upload/",
name: "Upload",
+ accessKey: "u",
},
- ].map(({name, href}) => {
+ ].map(({name, href, accessKey}) => {
if (href === window.location.pathname) {
- return `${name}`
+ return `${name}`
} else {
- return `${name}`
+ return `${name}`
}
}).join(" - ");