diff --git a/app/footbar.tsx b/app/footbar.tsx new file mode 100644 index 0000000..8c1e045 --- /dev/null +++ b/app/footbar.tsx @@ -0,0 +1,9 @@ +export default function FootBar() { + return ( + + ); +} diff --git a/app/globals.css b/app/globals.css index a2dc41e..9c54efc 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,8 +1,8 @@ @import "tailwindcss"; :root { - --background: #ffffff; - --foreground: #171717; + --background: #fff; + --foreground: #000; } @theme inline { @@ -15,12 +15,12 @@ @media (prefers-color-scheme: dark) { :root { --background: #0a0a0a; - --foreground: #ededed; + --foreground: #e0e0e0; } } body { background: var(--background); color: var(--foreground); - font-family: Arial, Helvetica, sans-serif; + font-family: monospace; } diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..8c08e69 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,6 +1,8 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; +import Navbar from "./navbar"; +import FootBar from "./footbar"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -13,8 +15,8 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Welcome - Mike Karl", + description: "Personal website of Mike Karl", }; export default function RootLayout({ @@ -27,7 +29,9 @@ export default function RootLayout({ + {children} + ); diff --git a/app/navbar.tsx b/app/navbar.tsx new file mode 100644 index 0000000..b4f7165 --- /dev/null +++ b/app/navbar.tsx @@ -0,0 +1,20 @@ +import Link from "next/link"; + +export default function Navbar() { + return ( + + ); +} \ No newline at end of file diff --git a/app/page-section.tsx b/app/page-section.tsx new file mode 100644 index 0000000..553a8d0 --- /dev/null +++ b/app/page-section.tsx @@ -0,0 +1,15 @@ +import { ReactNode } from 'react'; + +export default function PageSection({ title, content, children }: { title: string; content?: string; children?: ReactNode }) { + return ( +
+
+

{title}

+

+ {content} +

+ {children} +
+
+ ); +} \ No newline at end of file diff --git a/app/page.tsx b/app/page.tsx index d187761..32f21a0 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,104 +1,40 @@ -import Image from "next/image"; +import PageSection from "./page-section"; export default function Home() { return ( -
-
-

Hallo Welt

- Next.js logo -
    -
  1. - Get started by editing{" "} - - app/page.tsx - - . -
  2. -
  3. - Save and see your changes instantly. -
  4. -
- -
- - Vercel logomark - Deploy now - - - Read our docs - -
-
- -
+
+ + +
    +
  • Gym Zwiesel
  • +
  • Uni Passau
  • +
  • Berufsschule
  • +
+
+ + +
    +
  • Programmiersprachen: Web, System, Funktional, Desktop
  • +
  • Fisi: Virtualisierung, Networking
  • +
  • Soft Skills: Teamarbeit, Kommunikation
  • +
+
+ +
    +
  • E33, LiS, etc.
  • +
  • Glücklich Vergeben ❤️
  • +
+
+ +
    +
  • Raytracing in a Weekend
  • +
  • Interpreter Book
  • +
  • 6502 Emu
  • +
  • Brainfuck RS
  • +
  • Weitere (Rust Crate Suite, RUDP, Teamspeak, Discord)
  • +
+
+ +
); } diff --git a/public/file.svg b/public/file.svg deleted file mode 100644 index 004145c..0000000 --- a/public/file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/globe.svg b/public/globe.svg deleted file mode 100644 index 567f17b..0000000 --- a/public/globe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/next.svg b/public/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/public/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index 7705396..0000000 --- a/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/window.svg b/public/window.svg deleted file mode 100644 index b2b2a44..0000000 --- a/public/window.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file