feat: implement admin dashboard and home menu pages with updated Docker build configuration

This commit is contained in:
Michael committed 2026-04-10 10:11:51 +02:00
1 parent 6c0aef1d88
commit 3f15c228f8
3 files changed
+8

No files matched your search

+4
View File
@@ -8,8 +8,12 @@ RUN apt-get update && apt-get install -y \
python3 \
make \
g++ \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Set a dummy database URL for build time
ENV DATABASE_URL="file:./build.db"
COPY package*.json ./
COPY prisma ./prisma/
+2
View File
@@ -4,6 +4,8 @@ import { redirect } from 'next/navigation';
import { GlassCard } from '@/components/GlassCard';
import { Trash2, LogOut, PlusCircle, Globe } from 'lucide-react';
export const dynamic = 'force-dynamic';
export default async function AdminPage() {
const auth = await isAuthenticated();
+2
View File
@@ -4,6 +4,8 @@ import { redirect } from 'next/navigation';
import { MenuButton } from '@/components/MenuButton';
import { ThemeToggle } from '@/components/ThemeToggle';
export const dynamic = 'force-dynamic';
export default async function Home() {
const configured = await isConfigured();