diff --git a/frontend/src/app.jsx b/frontend/src/app.jsx
index 0133166..bd3f5c3 100644
--- a/frontend/src/app.jsx
+++ b/frontend/src/app.jsx
@@ -5,6 +5,7 @@ import { useState } from 'preact/hooks'
// Components
import NavBar from './components/NavBar/navbar'
+import FiltersPanel from './components/Filters/panel'
import Button from './components/Buttons/button'
// Styles
@@ -30,6 +31,8 @@ export function App() {
+
+
>
)
}
diff --git a/frontend/src/components/Filters/panel.jsx b/frontend/src/components/Filters/panel.jsx
new file mode 100644
index 0000000..2571373
--- /dev/null
+++ b/frontend/src/components/Filters/panel.jsx
@@ -0,0 +1,16 @@
+import { h } from 'preact' // Necessary ?
+import styles from './panel.module.css'
+
+function FiltersPanel({ children, className, ...rest}) {
+
+ return (
+
+ {children}
+
+ )
+}
+
+export default FiltersPanel;
\ No newline at end of file
diff --git a/frontend/src/components/Filters/panel.module.css b/frontend/src/components/Filters/panel.module.css
new file mode 100644
index 0000000..1fb2db2
--- /dev/null
+++ b/frontend/src/components/Filters/panel.module.css
@@ -0,0 +1,19 @@
+.navbar {
+ position: absolute;
+ top: 13rem;
+ bottom: 3rem;
+ right: 3rem;
+ /* left: 12rem; */
+ left: 21rem;
+
+ margin: 1rem;
+ width: 18rem;
+ min-height: 40rem;
+
+ background-color: #1a1a1a;
+ color: #eaeaea;
+
+ border: #3a3a3a solid;
+ border-width: .1em;
+ border-radius: .5rem;
+}
\ No newline at end of file
diff --git a/frontend/src/components/NavBar/navbar.jsx b/frontend/src/components/NavBar/navbar.jsx
index 16c586d..2c7770d 100644
--- a/frontend/src/components/NavBar/navbar.jsx
+++ b/frontend/src/components/NavBar/navbar.jsx
@@ -4,12 +4,15 @@ import styles from './navbar.module.css'
function NavBar({ children, className, ...rest}) {
return (
-
{children}
-
+ Home
+ Mods
+ Modpacks
+
)
}
diff --git a/frontend/src/components/NavBar/navbar.module.css b/frontend/src/components/NavBar/navbar.module.css
index 9bbdfbb..95e5e3b 100644
--- a/frontend/src/components/NavBar/navbar.module.css
+++ b/frontend/src/components/NavBar/navbar.module.css
@@ -14,5 +14,25 @@
border-width: .1em;
border-radius: .5rem;
+ display: flex;
+ flex-direction: row;
+ align-items: center; /* Vertically align items along the cross axis */
+ padding-left: 1em;
+}
+.navbar > a {
+ position: relative;
+ /* margin: 0 1.2em; */
+ padding: .2em .7em;
+
+ color: #eaeaea;
+ border-radius: .5rem;
+ font-size: 1.4rem;
+ font-weight: 500;
+
+ transition: 200ms;
+}
+
+.navbar > a:hover {
+ background-color: #eaeaea10;
}
\ No newline at end of file