diff options
| author | schererleander <leander@schererleander.de> | 2025-07-14 18:05:49 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-07-14 18:05:49 +0200 |
| commit | 6746aa770c34e9efc4d0794518ff46cf4942dba6 (patch) | |
| tree | 1649d08dde6873adaaffb512416370b08f3668ad | |
| parent | f5187f366774a7d53b5a06fa9af83d1a6b686013 (diff) | |
chore: remove gear and project page
33 files changed, 15 insertions, 85 deletions
diff --git a/public/images/980pro.webp b/public/images/980pro.webp Binary files differdeleted file mode 100644 index 6e004bf..0000000 --- a/public/images/980pro.webp +++ /dev/null diff --git a/public/images/B550MITX.webp b/public/images/B550MITX.webp Binary files differdeleted file mode 100644 index aeaf364..0000000 --- a/public/images/B550MITX.webp +++ /dev/null diff --git a/public/images/airpodspro.webp b/public/images/airpodspro.webp Binary files differdeleted file mode 100644 index 7426f84..0000000 --- a/public/images/airpodspro.webp +++ /dev/null diff --git a/public/images/amdryzen55600g.webp b/public/images/amdryzen55600g.webp Binary files differdeleted file mode 100644 index ffd55a3..0000000 --- a/public/images/amdryzen55600g.webp +++ /dev/null diff --git a/public/images/amdryzen7700x.webp b/public/images/amdryzen7700x.webp Binary files differdeleted file mode 100644 index 22393d1..0000000 --- a/public/images/amdryzen7700x.webp +++ /dev/null diff --git a/public/images/authentication.webp b/public/images/authentication.webp Binary files differdeleted file mode 100644 index 91980d2..0000000 --- a/public/images/authentication.webp +++ /dev/null diff --git a/public/images/b650e-i.webp b/public/images/b650e-i.webp Binary files differdeleted file mode 100644 index 5cb20f6..0000000 --- a/public/images/b650e-i.webp +++ /dev/null diff --git a/public/images/github.webp b/public/images/github.webp Binary files differdeleted file mode 100644 index 92d6ffa..0000000 --- a/public/images/github.webp +++ /dev/null diff --git a/public/images/gskilltridentz5.webp b/public/images/gskilltridentz5.webp Binary files differdeleted file mode 100644 index 6017949..0000000 --- a/public/images/gskilltridentz5.webp +++ /dev/null diff --git a/public/images/hackintosh.webp b/public/images/hackintosh.webp Binary files differdeleted file mode 100644 index 831e7b7..0000000 --- a/public/images/hackintosh.webp +++ /dev/null diff --git a/public/images/iphone11.webp b/public/images/iphone11.webp Binary files differdeleted file mode 100644 index 6708e1d..0000000 --- a/public/images/iphone11.webp +++ /dev/null diff --git a/public/images/jonsbon2.webp b/public/images/jonsbon2.webp Binary files differdeleted file mode 100644 index a7f9459..0000000 --- a/public/images/jonsbon2.webp +++ /dev/null diff --git a/public/images/ksm32ed8.webp b/public/images/ksm32ed8.webp Binary files differdeleted file mode 100644 index 5de5a94..0000000 --- a/public/images/ksm32ed8.webp +++ /dev/null diff --git a/public/images/macbookair.webp b/public/images/macbookair.webp Binary files differdeleted file mode 100644 index 2713c6d..0000000 --- a/public/images/macbookair.webp +++ /dev/null diff --git a/public/images/markdownparser.webp b/public/images/markdownparser.webp Binary files differdeleted file mode 100644 index be7c23d..0000000 --- a/public/images/markdownparser.webp +++ /dev/null diff --git a/public/images/ncasem2.webp b/public/images/ncasem2.webp Binary files differdeleted file mode 100644 index f887f25..0000000 --- a/public/images/ncasem2.webp +++ /dev/null diff --git a/public/images/nix.webp b/public/images/nix.webp Binary files differdeleted file mode 100644 index 3061b5c..0000000 --- a/public/images/nix.webp +++ /dev/null diff --git a/public/images/noctuanh-d9l.webp b/public/images/noctuanh-d9l.webp Binary files differdeleted file mode 100644 index 3d9b00e..0000000 --- a/public/images/noctuanh-d9l.webp +++ /dev/null diff --git a/public/images/p3plus.webp b/public/images/p3plus.webp Binary files differdeleted file mode 100644 index f02ced1..0000000 --- a/public/images/p3plus.webp +++ /dev/null diff --git a/public/images/patriop300.webp b/public/images/patriop300.webp Binary files differdeleted file mode 100644 index aa81f3c..0000000 --- a/public/images/patriop300.webp +++ /dev/null diff --git a/public/images/raylibshooter.webp b/public/images/raylibshooter.webp Binary files differdeleted file mode 100644 index 36a8559..0000000 --- a/public/images/raylibshooter.webp +++ /dev/null diff --git a/public/images/rice.webp b/public/images/rice.webp Binary files differdeleted file mode 100644 index 769ca06..0000000 --- a/public/images/rice.webp +++ /dev/null diff --git a/public/images/rx9070xt.webp b/public/images/rx9070xt.webp Binary files differdeleted file mode 100644 index cd3b89b..0000000 --- a/public/images/rx9070xt.webp +++ /dev/null diff --git a/public/images/seagateironwolf.webp b/public/images/seagateironwolf.webp Binary files differdeleted file mode 100644 index 25fd27f..0000000 --- a/public/images/seagateironwolf.webp +++ /dev/null diff --git a/public/images/sf450.webp b/public/images/sf450.webp Binary files differdeleted file mode 100644 index 4c15b5d..0000000 --- a/public/images/sf450.webp +++ /dev/null diff --git a/public/images/sf750.webp b/public/images/sf750.webp Binary files differdeleted file mode 100644 index cf1afe1..0000000 --- a/public/images/sf750.webp +++ /dev/null diff --git a/public/images/site.webp b/public/images/site.webp Binary files differdeleted file mode 100644 index 2268da0..0000000 --- a/public/images/site.webp +++ /dev/null diff --git a/public/images/spaceinvaders.webp b/public/images/spaceinvaders.webp Binary files differdeleted file mode 100644 index 01065ec..0000000 --- a/public/images/spaceinvaders.webp +++ /dev/null diff --git a/public/images/todolist.webp b/public/images/todolist.webp Binary files differdeleted file mode 100644 index 2a833d5..0000000 --- a/public/images/todolist.webp +++ /dev/null diff --git a/src/App.tsx b/src/App.tsx index ca7bcb4..0d4b55e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,8 +1,6 @@ import { Routes, Route } from 'react-router-dom'; import Navbar from './components/Navbar'; -import Gear from './pages/Gear'; import Home from './pages/Home'; -import Projects from './pages/Projects'; import Footer from './components/Footer'; import NotFound from './pages/404'; import Blog from './pages/Blog'; @@ -11,13 +9,11 @@ import Post from './pages/Post'; function App() { return ( - <> + <> <Navbar /> - <section className="max-w-xl mx-auto py-5 px-4"> + <section className="max-w-4xl mx-auto py-5 px-4"> <Routes> <Route path="/" element={<Home />} /> - <Route path="/gear" element={<Gear />} /> - <Route path='/projects' element={<Projects />} /> <Route path='/blog' element={<Blog />} /> <Route path='/blog/:slug' element={<Post />} /> <Route path='*' element={<NotFound />} /> diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 5f9dbbd..720274b 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,22 +1,23 @@ +import { Button } from "./ui/button"; import ThemeToggle from "./ThemeToggle"; -export default function Navbar() { - const navItems = [ - { label: 'Home', href: '/' }, - { label: 'Gear', href: '/gear' }, - { label: 'Projects', href: '/projects' }, - { label: 'Blog', href: '/blog' } - ]; +const navItems = [ + { label: "Home", href: "/" }, + { label: "Blog", href: "/blog" }, +]; +export default function Navbar() { return ( - <nav className="sticky top-0 z-50 backdrop-blur flex items-center"> - <div className="max-w-2xl mx-auto flex px-4 py-4 text-sm"> - <div className="flex gap-6 items-center"> + <nav className="sticky top-0 z-50 w-full backdrop-blur"> + <div className="max-w-2xl mx-auto flex items-center justify-between px-4 py-4"> + <div className="flex gap-4 justify-center flex-1"> {navItems.map(({ label, href }) => ( - <a className="hover:underline" key={label} href={href}>{label}</a> + <Button key={label} variant="ghost" asChild> + <a href={href}>{label}</a> + </Button> ))} - <ThemeToggle /> </div> + <ThemeToggle /> </div> </nav> ); diff --git a/src/pages/Gear.tsx b/src/pages/Gear.tsx deleted file mode 100644 index a1984ee..0000000 --- a/src/pages/Gear.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import Card from '../components/Card'; - -import { - dailyDrivers, - desktopParts, - nasParts, - type Part, -} from '../data/gear'; - -function PartsGroup({ title, parts }: { title?: string; parts: Part[] }) { - return ( - <> - {title && <h2 className="text-2xl font-semibold my-8">{title}</h2>} - <ul className="space-y-2"> - {parts.map((p) => ( - <li key={p.name}> - <Card - title={p.name} - body={p.description} - href={p.url} - imgSrc={p.image} - /> - </li> - ))} - </ul> - </> - ); -} - -export default function Gear() { - return ( - <> - <title>߸ gear</title> - <h1>Gear</h1> - - <PartsGroup parts={dailyDrivers} /> - - <PartsGroup title="Desktop" parts={desktopParts} /> - - <PartsGroup title="NAS" parts={nasParts} /> - </> - ); -} diff --git a/src/pages/Projects.tsx b/src/pages/Projects.tsx deleted file mode 100644 index 973eaa0..0000000 --- a/src/pages/Projects.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import Card from '../components/Card'; -import { projects, type Project } from '../data/projects'; - -export default function Projects() { - return ( - <> - <title>߸ projects</title> - <h1>Projects</h1> - - <ul className="space-y-2"> - {projects.map((p: Project) => ( - <li key={p.name}> - <Card - title={p.name} - body={p.description} - href={p.url} - imgSrc={p.image} - /> - </li> - ))} - </ul> - </> - ); -} |
