refactor: remove yearly billing interval, keep only one_time and monthly
This commit is contained in:
@@ -9,42 +9,42 @@ export default function AdminDashboard() {
|
||||
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-4">
|
||||
<Card className="glass-dark border-white/5">
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">Umsatz gesamt</CardTitle>
|
||||
<CardTitle className="text-sm font-medium text-slate-300">Umsatz gesamt</CardTitle>
|
||||
<TrendingUp className="h-4 w-4 text-primary" />
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="text-2xl font-bold">€12,234.56</div>
|
||||
<p className="text-xs text-muted-foreground">+20.1% zum Vormonat</p>
|
||||
<div className="text-2xl font-bold text-white">€12,234.56</div>
|
||||
<p className="text-xs text-slate-400">+20.1% zum Vormonat</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="glass-dark border-white/5">
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">Bestellungen</CardTitle>
|
||||
<CardTitle className="text-sm font-medium text-slate-300">Bestellungen</CardTitle>
|
||||
<ShoppingCart className="h-4 w-4 text-primary" />
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="text-2xl font-bold">+573</div>
|
||||
<p className="text-xs text-muted-foreground">+12% zur Vorwoche</p>
|
||||
<div className="text-2xl font-bold text-white">+573</div>
|
||||
<p className="text-xs text-slate-400">+12% zur Vorwoche</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="glass-dark border-white/5">
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">Produkte</CardTitle>
|
||||
<CardTitle className="text-sm font-medium text-slate-300">Produkte</CardTitle>
|
||||
<Package className="h-4 w-4 text-primary" />
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="text-2xl font-bold">12</div>
|
||||
<p className="text-xs text-muted-foreground">+2 neue Module</p>
|
||||
<div className="text-2xl font-bold text-white">12</div>
|
||||
<p className="text-xs text-slate-400">+2 neue Module</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="glass-dark border-white/5">
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">Kunden</CardTitle>
|
||||
<CardTitle className="text-sm font-medium text-slate-300">Kunden</CardTitle>
|
||||
<Users className="h-4 w-4 text-primary" />
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="text-2xl font-bold">2,450</div>
|
||||
<p className="text-xs text-muted-foreground">+180 heute</p>
|
||||
<div className="text-2xl font-bold text-white">2,450</div>
|
||||
<p className="text-xs text-slate-400">+180 heute</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
@@ -55,8 +55,8 @@ export default function AdminDashboard() {
|
||||
<CardTitle>Übersicht</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent className="pl-2">
|
||||
<div className="h-[200px] flex items-center justify-center text-muted-foreground">
|
||||
[Chart Platzhalter]
|
||||
<div className="h-[200px] flex items-center justify-center text-slate-400 italic">
|
||||
[Umsatz-Chart wird geladen...]
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
@@ -72,10 +72,10 @@ export default function AdminDashboard() {
|
||||
JD
|
||||
</div>
|
||||
<div className="flex-1 space-y-1">
|
||||
<p className="text-sm font-medium">John Doe</p>
|
||||
<p className="text-xs text-muted-foreground">john.doe@example.com</p>
|
||||
<p className="text-sm font-medium text-white">John Doe</p>
|
||||
<p className="text-xs text-slate-400">john.doe@example.com</p>
|
||||
</div>
|
||||
<div className="font-medium">+€450.00</div>
|
||||
<div className="font-medium text-white">+€450.00</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user