diff --git a/app/components/Sidebar.tsx b/app/components/Sidebar.tsx new file mode 100644 index 0000000..35f3730 --- /dev/null +++ b/app/components/Sidebar.tsx @@ -0,0 +1,24 @@ +import Link from "next/link"; + +import styles from '../styles/Sidebar.module.css'; + +const Sidebar = () => { + return ( + + ); +}; + +export default Sidebar; \ No newline at end of file diff --git a/app/page.tsx b/app/page.tsx index b95c3ed..c5d1e04 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,7 +1,9 @@ +import Sidebar from "./components/Sidebar" + export default function Home() { return (
-
Hello world!
+
); } diff --git a/app/styles/Sidebar.module.css b/app/styles/Sidebar.module.css new file mode 100644 index 0000000..07c4c88 --- /dev/null +++ b/app/styles/Sidebar.module.css @@ -0,0 +1,63 @@ +.sidebar { + width: 280px; + height: 100vh; + background: #050505; + border-right: 2px solid #1a1a1a; + display: flex; + flex-direction: column; + padding: 2.5rem 1.5rem; + color: #c9c9c9; + font-family: 'Oswald', 'Roboto Condensed', sans-serif; + letter-spacing: 0.02em; +} + +.title { + font-size: 1.25rem; + text-transform: uppercase; + color: #e4e4e4; + margin-bottom: 2.5rem; + padding-bottom: 0.5rem; + border-bottom: 2px solid #330000; + text-shadow: 2px 2px 4px rgba(0,0,0,0.5); +} + +.navLink { + display: block; + padding: 0.8rem 1rem; + margin-bottom: 0.25rem; + text-decoration: none; + color: #777777; + text-transform: uppercase; + font-size: 0.85rem; + position: relative; + transition: all 0.1s ease-in; + background: transparent; + border-left: 3px solid transparent; +} + +.navLink:hover { + color: #ffffff; + background: linear-gradient(90deg, #1a0000, transparent); + border-left: 3px solid #a30000; +} + +.syncButton { + margin-top: auto; + padding: 1rem; + background: #0a0a0a; + border: 1px solid #4a0000; + color: #a30000; + text-transform: uppercase; + font-weight: 700; + font-size: 0.9rem; + cursor: pointer; + transition: all 0.2s ease; + letter-spacing: 0.1em; +} + +.syncButton:hover { + background: #a30000; + color: #ffffff; + border-color: #ff0000; + box-shadow: 0 0 10px #7f0000; +} \ No newline at end of file