diff --git a/src/components/layout.js b/src/components/layout.js index 65e56ab..5ab24c0 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -3,9 +3,8 @@ import Link from 'next/link' import tabs from '../data/tabs.json' import constants from '../constants.json' -// TODO: activelink prop to set link to active export default function Layout (props) { - const href = '' // TODO + const { route } = props return (
@@ -25,7 +24,7 @@ export default function Layout (props) { return ( {item.text} ) diff --git a/src/data/links.json b/src/data/links.json index ea27f66..122ac9d 100644 --- a/src/data/links.json +++ b/src/data/links.json @@ -3,6 +3,10 @@ "href": "install", "text": "Install" }, + "allqr": { + "href": "allqr.txt", + "text": "Összes kérdés TXT" + }, "data": { "href": "data.json", "text": "Összes kérdés JSON" diff --git a/src/defaultStyles.css b/src/defaultStyles.css index 81cf34d..8ab097b 100644 --- a/src/defaultStyles.css +++ b/src/defaultStyles.css @@ -15,6 +15,12 @@ body { font-size: 20px; } +.feedbackArea { + color: var(--text-color); + background-color: var(--background-color); + font-size: 20px; +} + .sidebarLink { color: var(--text-color); text-decoration: none; diff --git a/src/pages/_app.js b/src/pages/_app.js index bad7188..a594dc7 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -3,9 +3,9 @@ import '../defaultStyles.css' import Layout from '../components/layout' -function MyApp ({ Component, pageProps }) { +function MyApp ({ Component, pageProps, router }) { return ( - + ) diff --git a/src/pages/feedback.js b/src/pages/feedback.js index d4bc6ef..e821dfb 100644 --- a/src/pages/feedback.js +++ b/src/pages/feedback.js @@ -8,6 +8,7 @@ export default function Feedback (props) {
Észrevételek: (közeledő teszt miatti kérdés-karbantartás, bug, feature vagy egyéb dolog, ami nyomja a lelked)