mirror of
https://github.com/arthur-pbty/binouz.git
synced 2026-06-03 23:36:27 +02:00
feat: add authentication and user management features
- 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.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import { siteConfig } from "@/lib/site";
|
||||
|
||||
export default function Footer() {
|
||||
return (
|
||||
<footer className="border-t border-white/5 bg-slate-950/90">
|
||||
<div className="mx-auto flex w-full max-w-6xl flex-col gap-6 px-6 py-10 text-sm text-slate-400 md:flex-row md:items-center md:justify-between">
|
||||
<div className="space-y-2">
|
||||
<p className="text-xs uppercase tracking-[0.3em] text-slate-500">
|
||||
BinouzUHC
|
||||
</p>
|
||||
<p className="text-sm text-slate-300">
|
||||
{siteConfig.serverAddress} - Minecraft {siteConfig.version}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-wrap items-center gap-4 text-xs uppercase tracking-[0.2em]">
|
||||
<a href="#presentation" className="transition hover:text-white">
|
||||
Presentation
|
||||
</a>
|
||||
<a href="#grades" className="transition hover:text-white">
|
||||
Grades
|
||||
</a>
|
||||
<a href="#events" className="transition hover:text-white">
|
||||
Events
|
||||
</a>
|
||||
<a href="#discord" className="transition hover:text-white">
|
||||
Discord
|
||||
</a>
|
||||
</div>
|
||||
<p className="text-xs text-slate-500">
|
||||
(c) 2026 BinouzUHC. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user