diff --git a/app/components/Hero.tsx b/app/components/Hero.tsx new file mode 100644 index 0000000..72c343b --- /dev/null +++ b/app/components/Hero.tsx @@ -0,0 +1,73 @@ +import Link from "next/link"; +import Image from "next/image"; + +export function Hero() { + return ( +
+ {/* Left: text content */} +
+ {/* Heading */} +

+ Produktivität +
+ darf sich leicht +
+ anfühlen. +

+ + {/* Subheading */} +

+ Für Menschen mit Familie, +
+ Verantwortung und zu wenig Zeit +

+ + {/* CTA button */} + + Starte mit der 7-Tage-Challenge + + + + {/* Social proof */} +
+
+ {[ + { bg: "#c8a882", label: "Person 1" }, + { bg: "#a0785a", label: "Person 2" }, + { bg: "#8b6b5a", label: "Person 3" }, + ].map((a) => ( +
+ ))} +
+

+ 10.000+ Menschen vertrauen +
+ einfach-produktiv +

+
+
+ + {/* Right: hero image */} +
+ Notizbuch mit Tagesplan und Kaffee +
+
+ ); +} diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 1649796..3b55018 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -13,17 +13,28 @@ export function Navbar() {
{/* Logo */} - - + + + {/* Brush stroke SVG background */} + - + className="relative text-[1.5rem] font-bold text-[#1a1a1a] leading-none px-3 py-1.5 block" + style={{ fontFamily: "var(--font-caveat)" }} + > einfach produktiv - + Weil du auch noch ein Leben hast diff --git a/app/layout.tsx b/app/layout.tsx index 2d2813e..a89c886 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,5 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { Geist, Geist_Mono, Playfair_Display, Caveat } from "next/font/google"; import "./globals.css"; import { Navbar } from "./components/Navbar"; @@ -13,6 +13,18 @@ const geistMono = Geist_Mono({ subsets: ["latin"], }); +const playfair = Playfair_Display({ + variable: "--font-playfair", + subsets: ["latin"], + weight: ["700", "800"], +}); + +const caveat = Caveat({ + variable: "--font-caveat", + subsets: ["latin"], + weight: ["700"], +}); + export const metadata: Metadata = { title: "Create Next App", description: "Generated by create next app", @@ -26,7 +38,7 @@ export default function RootLayout({ return ( diff --git a/app/page.tsx b/app/page.tsx index 3f36f7c..002503a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,65 +1,9 @@ -import Image from "next/image"; +import { Hero } from "./components/Hero"; export default function Home() { return ( -
-
- Next.js logo -
-

- To get started, edit the page.tsx file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

-
- -
-
+
+ +
); }