aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/images/980pro.webpbin13206 -> 0 bytes
-rw-r--r--public/images/B550MITX.webpbin27598 -> 0 bytes
-rw-r--r--public/images/airpodspro.webpbin11402 -> 0 bytes
-rw-r--r--public/images/amdryzen55600g.webpbin17350 -> 0 bytes
-rw-r--r--public/images/amdryzen7700x.webpbin284886 -> 0 bytes
-rw-r--r--public/images/authentication.webpbin1928 -> 0 bytes
-rw-r--r--public/images/b650e-i.webpbin41786 -> 0 bytes
-rw-r--r--public/images/github.webpbin6250 -> 0 bytes
-rw-r--r--public/images/gskilltridentz5.webpbin9714 -> 0 bytes
-rw-r--r--public/images/hackintosh.webpbin16886 -> 0 bytes
-rw-r--r--public/images/iphone11.webpbin40480 -> 0 bytes
-rw-r--r--public/images/jonsbon2.webpbin16288 -> 0 bytes
-rw-r--r--public/images/ksm32ed8.webpbin12068 -> 0 bytes
-rw-r--r--public/images/macbookair.webpbin85954 -> 0 bytes
-rw-r--r--public/images/markdownparser.webpbin12700 -> 0 bytes
-rw-r--r--public/images/ncasem2.webpbin19282 -> 0 bytes
-rw-r--r--public/images/nix.webpbin27256 -> 0 bytes
-rw-r--r--public/images/noctuanh-d9l.webpbin42058 -> 0 bytes
-rw-r--r--public/images/p3plus.webpbin8140 -> 0 bytes
-rw-r--r--public/images/patriop300.webpbin10666 -> 0 bytes
-rw-r--r--public/images/raylibshooter.webpbin6334 -> 0 bytes
-rw-r--r--public/images/rice.webpbin31914 -> 0 bytes
-rw-r--r--public/images/rx9070xt.webpbin8250 -> 0 bytes
-rw-r--r--public/images/seagateironwolf.webpbin10692 -> 0 bytes
-rw-r--r--public/images/sf450.webpbin16006 -> 0 bytes
-rw-r--r--public/images/sf750.webpbin12926 -> 0 bytes
-rw-r--r--public/images/site.webpbin17846 -> 0 bytes
-rw-r--r--public/images/spaceinvaders.webpbin15830 -> 0 bytes
-rw-r--r--public/images/todolist.webpbin16534 -> 0 bytes
-rw-r--r--src/App.tsx8
-rw-r--r--src/components/Navbar.tsx25
-rw-r--r--src/pages/Gear.tsx43
-rw-r--r--src/pages/Projects.tsx24
33 files changed, 15 insertions, 85 deletions
diff --git a/public/images/980pro.webp b/public/images/980pro.webp
deleted file mode 100644
index 6e004bf..0000000
--- a/public/images/980pro.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/B550MITX.webp b/public/images/B550MITX.webp
deleted file mode 100644
index aeaf364..0000000
--- a/public/images/B550MITX.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/airpodspro.webp b/public/images/airpodspro.webp
deleted file mode 100644
index 7426f84..0000000
--- a/public/images/airpodspro.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/amdryzen55600g.webp b/public/images/amdryzen55600g.webp
deleted file mode 100644
index ffd55a3..0000000
--- a/public/images/amdryzen55600g.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/amdryzen7700x.webp b/public/images/amdryzen7700x.webp
deleted file mode 100644
index 22393d1..0000000
--- a/public/images/amdryzen7700x.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/authentication.webp b/public/images/authentication.webp
deleted file mode 100644
index 91980d2..0000000
--- a/public/images/authentication.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/b650e-i.webp b/public/images/b650e-i.webp
deleted file mode 100644
index 5cb20f6..0000000
--- a/public/images/b650e-i.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/github.webp b/public/images/github.webp
deleted file mode 100644
index 92d6ffa..0000000
--- a/public/images/github.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/gskilltridentz5.webp b/public/images/gskilltridentz5.webp
deleted file mode 100644
index 6017949..0000000
--- a/public/images/gskilltridentz5.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/hackintosh.webp b/public/images/hackintosh.webp
deleted file mode 100644
index 831e7b7..0000000
--- a/public/images/hackintosh.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/iphone11.webp b/public/images/iphone11.webp
deleted file mode 100644
index 6708e1d..0000000
--- a/public/images/iphone11.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/jonsbon2.webp b/public/images/jonsbon2.webp
deleted file mode 100644
index a7f9459..0000000
--- a/public/images/jonsbon2.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/ksm32ed8.webp b/public/images/ksm32ed8.webp
deleted file mode 100644
index 5de5a94..0000000
--- a/public/images/ksm32ed8.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/macbookair.webp b/public/images/macbookair.webp
deleted file mode 100644
index 2713c6d..0000000
--- a/public/images/macbookair.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/markdownparser.webp b/public/images/markdownparser.webp
deleted file mode 100644
index be7c23d..0000000
--- a/public/images/markdownparser.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/ncasem2.webp b/public/images/ncasem2.webp
deleted file mode 100644
index f887f25..0000000
--- a/public/images/ncasem2.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/nix.webp b/public/images/nix.webp
deleted file mode 100644
index 3061b5c..0000000
--- a/public/images/nix.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/noctuanh-d9l.webp b/public/images/noctuanh-d9l.webp
deleted file mode 100644
index 3d9b00e..0000000
--- a/public/images/noctuanh-d9l.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/p3plus.webp b/public/images/p3plus.webp
deleted file mode 100644
index f02ced1..0000000
--- a/public/images/p3plus.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/patriop300.webp b/public/images/patriop300.webp
deleted file mode 100644
index aa81f3c..0000000
--- a/public/images/patriop300.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/raylibshooter.webp b/public/images/raylibshooter.webp
deleted file mode 100644
index 36a8559..0000000
--- a/public/images/raylibshooter.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/rice.webp b/public/images/rice.webp
deleted file mode 100644
index 769ca06..0000000
--- a/public/images/rice.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/rx9070xt.webp b/public/images/rx9070xt.webp
deleted file mode 100644
index cd3b89b..0000000
--- a/public/images/rx9070xt.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/seagateironwolf.webp b/public/images/seagateironwolf.webp
deleted file mode 100644
index 25fd27f..0000000
--- a/public/images/seagateironwolf.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/sf450.webp b/public/images/sf450.webp
deleted file mode 100644
index 4c15b5d..0000000
--- a/public/images/sf450.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/sf750.webp b/public/images/sf750.webp
deleted file mode 100644
index cf1afe1..0000000
--- a/public/images/sf750.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/site.webp b/public/images/site.webp
deleted file mode 100644
index 2268da0..0000000
--- a/public/images/site.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/spaceinvaders.webp b/public/images/spaceinvaders.webp
deleted file mode 100644
index 01065ec..0000000
--- a/public/images/spaceinvaders.webp
+++ /dev/null
Binary files differ
diff --git a/public/images/todolist.webp b/public/images/todolist.webp
deleted file mode 100644
index 2a833d5..0000000
--- a/public/images/todolist.webp
+++ /dev/null
Binary files differ
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>
- </>
- );
-}