Init
This commit is contained in:
12
app/events/page.tsx
Normal file
12
app/events/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import Navigation from "@/components/Navigation";
|
||||
import EventsPageSection from "@/components/EventsPageSection";
|
||||
|
||||
export default function EventsPage() {
|
||||
return (
|
||||
<main className="min-h-screen bg-black relative">
|
||||
<Navigation />
|
||||
<EventsPageSection />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
26
app/globals.css
Normal file
26
app/globals.css
Normal file
@@ -0,0 +1,26 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
body {
|
||||
@apply bg-black text-white;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.pixel-border {
|
||||
border: 2px solid;
|
||||
image-rendering: pixelated;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
|
||||
.text-pixel {
|
||||
font-family: 'Courier New', monospace;
|
||||
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
33
app/layout.tsx
Normal file
33
app/layout.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Orbitron, Rajdhani } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const orbitron = Orbitron({
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600", "700", "800", "900"],
|
||||
variable: "--font-orbitron",
|
||||
});
|
||||
|
||||
const rajdhani = Rajdhani({
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
variable: "--font-rajdhani",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Game of Tech - Peaksys",
|
||||
description: "In a digital world of cutting-edge technology",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="fr" className={`${orbitron.variable} ${rajdhani.variable}`}>
|
||||
<body className="antialiased">{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
12
app/leaderboard/page.tsx
Normal file
12
app/leaderboard/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import Navigation from "@/components/Navigation";
|
||||
import LeaderboardSection from "@/components/LeaderboardSection";
|
||||
|
||||
export default function LeaderboardPage() {
|
||||
return (
|
||||
<main className="min-h-screen bg-black relative">
|
||||
<Navigation />
|
||||
<LeaderboardSection />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
13
app/page.tsx
Normal file
13
app/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import Navigation from "@/components/Navigation";
|
||||
import HeroSection from "@/components/HeroSection";
|
||||
import EventsSection from "@/components/EventsSection";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="min-h-screen bg-black relative">
|
||||
<Navigation />
|
||||
<HeroSection />
|
||||
<EventsSection />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user