From 8e2cd843a17ab77fe6f811d3aedfecb21d459f8c Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 8 Feb 2021 18:09:57 +0100 Subject: added really epic search bar --- components/navbar.tsx | 3 +-- components/ui.tsx | 2 ++ pages/search.tsx | 38 ++++++++++++++++++++++++++++++++++++++ styles/global.css | 4 ++++ 4 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 pages/search.tsx diff --git a/components/navbar.tsx b/components/navbar.tsx index c62965a..275de07 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -26,7 +26,6 @@ export class NavBar extends Component { constructor(props: {}) { super(props); - } render () { @@ -55,7 +54,7 @@ export class NavBar extends Component { - +
+ + + +} + +export default class HomePage extends Component { + render () { + return
+ + + Zoeken + + +
+ } +} + diff --git a/styles/global.css b/styles/global.css index 0152efd..2a82fa2 100644 --- a/styles/global.css +++ b/styles/global.css @@ -75,3 +75,7 @@ input::placeholder { /* material-ui default state */ svg.MuiSvgIcon-root { transition: none !important; } +input::placeholder { opacity: .75; } +input.dark::placeholder { color: var(--text); } +input.light::placeholder { color: var(--text-alt); } + -- cgit v1.2.3