Imma fry ts fkn pc

This commit is contained in:
Le fishe au chocolat 2026-07-05 11:18:46 +02:00
parent 41dbfa08db
commit b598db1bb0
6 changed files with 78 additions and 83 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -1,26 +1,25 @@
@import "tailwindcss"; @import "tailwindcss";
:root { :root {
--background: #ffffff; --background: #ffffff;
--foreground: #171717; --foreground: #171717;
} }
@theme inline { @theme inline {
--color-background: var(--background); --color-background: var(--background);
--color-foreground: var(--foreground); --color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans); --font-sans: var(--font-space-grotesk);
--font-mono: var(--font-geist-mono);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--background: #0a0a0a; --background: #0a0a0a;
--foreground: #ededed; --foreground: #ededed;
} }
} }
body { body {
background: var(--background); background: var(--background);
color: var(--foreground); color: var(--foreground);
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }

View file

@ -1,20 +1,16 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Space_Grotesk } from "next/font/google";
import "./globals.css"; import "./globals.css";
const geistSans = Geist({ const spaceGrotesk = Space_Grotesk({
variable: "--font-geist-sans", variable: "--font-space-grotesk",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"], subsets: ["latin"],
weight: "600",
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create Next App", title: "BlueberryOS",
description: "Generated by create next app", description: "A modern rolling release server operating system",
}; };
export default function RootLayout({ export default function RootLayout({
@ -25,7 +21,7 @@ export default function RootLayout({
return ( return (
<html <html
lang="en" lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`} className={`${spaceGrotesk.variable} h-full antialiased font-sans`}
> >
<body className="min-h-full flex flex-col">{children}</body> <body className="min-h-full flex flex-col">{children}</body>
</html> </html>

View file

@ -1,65 +1,27 @@
import Image from "next/image"; "use client";
import { useEffect, useState } from "react";
import { MobileLanding, DesktopLanding } from "@/components/landing_page";
export default function Home() { export default function Home() {
const [isMobile, setIsMobile] = useState(false); // start as null
useEffect(() => {
const handleResize = () => {
const aspectRatio = window.innerWidth / window.innerHeight;
console.log("Aspect Ratio:", aspectRatio);
setIsMobile(aspectRatio < 1);
};
handleResize();
window.addEventListener("resize", handleResize);
return () => window.removeEventListener("resize", handleResize);
}, []);
return ( return (
<div className="flex flex-col flex-1 items-center justify-center bg-zinc-50 font-sans dark:bg-black"> <div
<main className="flex flex-1 w-full max-w-3xl flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start"> id="main container"
<Image className="font-['Space_Grotesk'] flex flex-col items-center grow"
className="dark:invert" >
src="/next.svg" {isMobile ? <MobileLanding /> : <DesktopLanding />}
alt="Next.js logo"
width={100}
height={20}
priority
/>
<div className="flex flex-col items-center gap-6 text-center sm:items-start sm:text-left">
<h1 className="max-w-xs text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50">
To get started, edit the page.tsx file.
</h1>
<p className="max-w-md text-lg leading-8 text-zinc-600 dark:text-zinc-400">
Looking for a starting point or more instructions? Head over to{" "}
<a
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
className="font-medium text-zinc-950 dark:text-zinc-50"
>
Templates
</a>{" "}
or the{" "}
<a
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
className="font-medium text-zinc-950 dark:text-zinc-50"
>
Learning
</a>{" "}
center.
</p>
</div>
<div className="flex flex-col gap-4 text-base font-medium sm:flex-row">
<a
className="flex h-12 w-full items-center justify-center gap-2 rounded-full bg-foreground px-5 text-background transition-colors hover:bg-[#383838] dark:hover:bg-[#ccc] md:w-[158px]"
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
className="dark:invert"
src="/vercel.svg"
alt="Vercel logomark"
width={16}
height={16}
/>
Deploy Now
</a>
<a
className="flex h-12 w-full items-center justify-center rounded-full border border-solid border-black/[.08] px-5 transition-colors hover:border-transparent hover:bg-black/[.04] dark:border-white/[.145] dark:hover:bg-[#1a1a1a] md:w-[158px]"
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Documentation
</a>
</div>
</main>
</div> </div>
); );
} }

View file

@ -0,0 +1,38 @@
import Image from "next/image";
export function DesktopLanding() {
return (
<div
id="landing section container"
className="w-screen h-screen flex flex-col"
>
<div className="mt-15 w-full flex flex-col">
<h1 className=" xl:text-[200px] text-[48px] md:text-[128px]">
Blueberry OS
</h1>
</div>
</div>
);
}
export function MobileLanding() {
return (
<div
id="landing section container"
className="w-screen h-screen flex flex-col"
>
<div className="mt-15 w-full flex flex-col items-center">
<Image
src="/logo.png"
alt="logo"
width={1024}
height={1024}
className="dark:invert w-75 md:w-100 xl:w-200"
/>
<h1 className="xl:text-[140px] text-[50px] md:text-[100px]">
Blueberry OS
</h1>
</div>
</div>
);
}

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB