From a11bc6b51255f38719b1d2c8e916a8cfaa2bfea7 Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 18 Jun 2026 20:48:21 -0300 Subject: [PATCH] style: move sidebar to root folder --- app/styles/Sidebar.module.css | 63 ---------------------- {app/components => components}/Sidebar.tsx | 7 ++- 2 files changed, 3 insertions(+), 67 deletions(-) delete mode 100644 app/styles/Sidebar.module.css rename {app/components => components}/Sidebar.tsx (85%) diff --git a/app/styles/Sidebar.module.css b/app/styles/Sidebar.module.css deleted file mode 100644 index 07c4c88..0000000 --- a/app/styles/Sidebar.module.css +++ /dev/null @@ -1,63 +0,0 @@ -.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 diff --git a/app/components/Sidebar.tsx b/components/Sidebar.tsx similarity index 85% rename from app/components/Sidebar.tsx rename to components/Sidebar.tsx index 35f3730..f21ef58 100644 --- a/app/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -2,12 +2,13 @@ import Link from "next/link"; import styles from '../styles/Sidebar.module.css'; -const Sidebar = () => { +export default function Sidebar() { return ( ); -}; - -export default Sidebar; \ No newline at end of file +}; \ No newline at end of file