import Link from 'next/link'; import { getWebDropsByCategory, checkVipStatus } from '@/lib/db'; import FadeIn from '@/components/FadeIn'; import AnimatedRow from '@/components/AnimatedRow'; import { getServerSession } from "next-auth/next"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; export default async function Scripts() { const drops = await getWebDropsByCategory('scripts'); const session = await getServerSession(authOptions); const discordId = session?.user ? (session.user as any).id : null; const isVip = discordId ? await checkVipStatus(discordId) : false; return (
{/* Structural Brutalist Header */}

Scripts

[ DIRECTORY . 003 ]

WYVERN SOFTWORKS © 2026

TOTAL INDEXED: {drops.length}

{/* Module Sidebar */} {/* Main Content Area */}
{/* Top Edge Decoration Removed */} {/* Ledger Table Header (Desktop) */}
TIMESTAMP
REF
IDENTIFIER
LATENCY / AVAIL
ENCRYPTION / STATUS
ACTION
{/* Ledger Content */}
{drops.length === 0 ? (
[ DIRECTORY EMPTY ]
) : ( drops.map((drop, i) => ( )) )}
); }