From 73e957caaf661900f1712c4217a73bb4fcfaa34b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 30 May 2025 11:41:19 -0400 Subject: Base website --- src/app/components/Navbar.tsx | 46 +++++++++++++++++++ src/app/globals.css | 31 +++++-------- src/app/layout.tsx | 26 ++++++----- src/app/page.tsx | 104 +++--------------------------------------- 4 files changed, 77 insertions(+), 130 deletions(-) create mode 100644 src/app/components/Navbar.tsx (limited to 'src') diff --git a/src/app/components/Navbar.tsx b/src/app/components/Navbar.tsx new file mode 100644 index 0000000..ca9591e --- /dev/null +++ b/src/app/components/Navbar.tsx @@ -0,0 +1,46 @@ +"use client"; +import Image from "next/image"; +import Link from "next/link"; +import { useState } from "react"; + +const Navbar = () => { + const [navbar, setNavbar] = useState(false); + return ( + + ) +} + +export default Navbar; diff --git a/src/app/globals.css b/src/app/globals.css index a2dc41e..e29be92 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,26 +1,17 @@ @import "tailwindcss"; :root { - --background: #ffffff; - --foreground: #171717; -} - -@theme inline { - --color-background: var(--background); - --color-foreground: var(--foreground); - --font-sans: var(--font-geist-sans); - --font-mono: var(--font-geist-mono); -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; } body { - background: var(--background); - color: var(--foreground); - font-family: Arial, Helvetica, sans-serif; -} + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f7fa87e..70fa805 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,19 +1,12 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import Navbar from "./components/Navbar"; +import { Exo_2 } from "next/font/google"; import "./globals.css"; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); +const exo = Exo_2({ subsets: ['latin'] }) export const metadata: Metadata = { - title: "Create Next App", + title: "Alure Post", description: "Generated by create next app", }; @@ -25,9 +18,18 @@ export default function RootLayout({ return ( +
+ bnbmc.net ↗ + alee14.me ↗ +
+ {children} +
+

Alure Post is a fictional company made for the bits & Bytes Minecraft Server

+

This website is proudly written using Next.JS and Tailwind CSS

+
); diff --git a/src/app/page.tsx b/src/app/page.tsx index e68abe6..e0733a5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,103 +1,11 @@ -import Image from "next/image"; - export default function Home() { return ( -
-
- Next.js logo -
    -
  1. - Get started by editing{" "} - - src/app/page.tsx - - . -
  2. -
  3. - Save and see your changes instantly. -
  4. -
- -
- - Vercel logomark - Deploy now - - - Read our docs - -
-
- +
+

Track a post

+
+ + +
); } -- cgit v1.2.3