aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/Gear.tsx43
-rw-r--r--src/pages/Projects.tsx24
2 files changed, 0 insertions, 67 deletions
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>
- </>
- );
-}