From d7edbf05ab0e90eedcb99e4462e3a61793b2eff9 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 25 Dec 2025 18:09:23 +0100 Subject: remove all files --- src/pages/Home.tsx | 108 ----------------------------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 src/pages/Home.tsx (limited to 'src/pages/Home.tsx') diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx deleted file mode 100644 index de32cda..0000000 --- a/src/pages/Home.tsx +++ /dev/null @@ -1,108 +0,0 @@ -import { useEffect, useState } from "react"; -import { Badge } from "@/components/ui/badge"; -import { Button } from "@/components/ui/button"; -import { Card, CardTitle, CardDescription, CardContent } from "@/components/ui/card"; -import { Projects } from "@/data/projects"; -import { Tools } from "@/data/tools"; -import { Github, Mail } from "lucide-react"; - -import { MapContainer, TileLayer, Marker, useMap } from "react-leaflet"; -import L from "leaflet"; -import "leaflet/dist/leaflet.css"; - -const KARLSRUHE: [number, number] = [49.0069, 8.4037]; - -const icon = L.divIcon({ - html: `
`, - className: "", - iconSize: [12, 12], -}); - -function MapEffects() { - const map = useMap(); - useEffect(() => { - map.flyTo(KARLSRUHE, 14, { duration: 3 }); - }, [map]); - return null; -} - -export default function Home() { - const [mounted, setMounted] = useState(false); - const [isDark, setIsDark] = useState(false); - - useEffect(() => { - setMounted(true); - const checkDark = () => setIsDark(document.documentElement.classList.contains("dark")); - checkDark(); - const obs = new MutationObserver(checkDark); - obs.observe(document.documentElement, { attributes: true, attributeFilter: ["class"] }); - return () => obs.disconnect(); - }, []); - - if (!mounted) return null; - - const tileUrl = isDark - ? "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png" - : "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png"; - - return ( -
-
-
- - - - - -
- -
-

Hi, I'm Leander.

-

Passionate about hardware & software, pursuing computer science studies. Currently building 3D-printing projects and exploring homelabing.

-
- - -
-
-
- -
-

Tools & Technologies

-
- {Tools.map((t, i) => ( - -
-
{t.name}
-
{t.name}{t.description}
-
-
- ))} -
-
- -
-

Recent Projects

-
- {Projects.map((p, i) => ( - - - - {p.name} - {p.name} - {p.description} -
{p.badges.map(b => {b})}
-
-
-
- ))} -
-
-
- ); -} -- cgit v1.3.1