From 8b1654fc16446633b115e0f4ace4afd0fea478d8 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Tue, 2 Sep 2025 10:35:15 +0800 Subject: [PATCH] Added navbar component --- fwt/components/Navbar/Navbar.sass | 7 +++++++ fwt/components/Navbar/Navbar.tsx | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 fwt/components/Navbar/Navbar.sass create mode 100644 fwt/components/Navbar/Navbar.tsx diff --git a/fwt/components/Navbar/Navbar.sass b/fwt/components/Navbar/Navbar.sass new file mode 100644 index 0000000..edbda91 --- /dev/null +++ b/fwt/components/Navbar/Navbar.sass @@ -0,0 +1,7 @@ +.nav + position: fixed + top: 0 + width: 100% + padding: 1rem 0 + // margin: 5rem + diff --git a/fwt/components/Navbar/Navbar.tsx b/fwt/components/Navbar/Navbar.tsx new file mode 100644 index 0000000..81f39c4 --- /dev/null +++ b/fwt/components/Navbar/Navbar.tsx @@ -0,0 +1,18 @@ +import './Navbar.sass' +import { Show } from 'solid-js' +import Row from '../Row/Row' + +interface Props { + transparent?: boolean + children: any +} + +export default (props: Props) => { + return ( + <> + + + ) +}