mirror of
https://github.com/arthur-pbty/binouz.git
synced 2026-06-03 15:07:17 +02:00
b7010a1704
- Implemented AuthButton component for Discord sign-in and sign-out functionality. - Created CopyButton component for copying server IP addresses. - Developed EventCard and GradeCard components for displaying events and grades. - Added Footer and Navbar components for site navigation and information. - Introduced PurchaseButton for handling grade purchases with Stripe integration. - Created SectionHeader component for consistent section titles. - Implemented session management with SessionProvider for NextAuth. - Set up PostgreSQL database with Docker and Prisma for data management. - Added admin guard functionality to restrict access to certain routes. - Configured NextAuth with Discord provider for user authentication. - Defined Prisma schema for user, admin, grade, event, and purchase models. - Seeded database with initial grades and events data. - Added SVG hero image for the landing page. - Extended NextAuth types to include additional user properties.
59 lines
1.5 KiB
TypeScript
59 lines
1.5 KiB
TypeScript
export const siteConfig = {
|
|
name: "BinouzUHC",
|
|
description:
|
|
"Serveur UHC competitif et immersif. PvP nerveux, events reguliers et communaute engagee.",
|
|
serverAddress: "play.binouzuhc.eu",
|
|
version: "1.8.X",
|
|
discordInviteUrl: "https://discord.gg/binouz",
|
|
shopDisclaimer:
|
|
"Paiement Stripe a venir. Les achats sont simules pour l'instant.",
|
|
} as const;
|
|
|
|
export const fallbackGrades = [
|
|
{
|
|
id: "starter",
|
|
name: "Eclaireur",
|
|
price: 9,
|
|
description:
|
|
"Acces prioritaire, prefix colore, particules discretes et slots reserves.",
|
|
},
|
|
{
|
|
id: "elite",
|
|
name: "Gladiateur",
|
|
price: 19,
|
|
description:
|
|
"Kit cosmetique PvP, tags exclusifs, bonus d'events et loot personnalise.",
|
|
},
|
|
{
|
|
id: "legend",
|
|
name: "Titan",
|
|
price: 39,
|
|
description:
|
|
"Rang ultime, aura lumineuse, salons prives et avantages boutique VIP.",
|
|
},
|
|
];
|
|
|
|
export const fallbackEvents = [
|
|
{
|
|
id: "uhc-arena",
|
|
title: "UHC Arena - Duel Night",
|
|
description:
|
|
"Tournoi 1v1 avec bracket rapide. Score bonus pour les eliminations propres.",
|
|
eventDate: new Date("2026-05-18T19:00:00Z"),
|
|
},
|
|
{
|
|
id: "rush",
|
|
title: "Rush 2v2 - Full PvP",
|
|
description:
|
|
"Arches, potions, clutchs. Inscription par equipe sur Discord.",
|
|
eventDate: new Date("2026-05-25T19:00:00Z"),
|
|
},
|
|
{
|
|
id: "uhc-royale",
|
|
title: "UHC Royale",
|
|
description:
|
|
"Format 50 joueurs, shrink progressif, recompenses exclusives.",
|
|
eventDate: new Date("2026-06-01T19:00:00Z"),
|
|
},
|
|
];
|