feat: initialize project with Next.js, Prisma, and admin dashboard functionality

This commit is contained in:
Michael committed 2026-04-10 09:58:09 +02:00
commit b73aa8616b
37 files changed
+8711

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
'use client';
import React from 'react';
import Link from 'next/link';
import * as Icons from 'lucide-react';
import { GlassCard } from './GlassCard';
import styles from './MenuButton.module.css';
interface MenuButtonProps {
name: string;
url: string;
iconName?: keyof typeof Icons;
}
export const MenuButton: React.FC<MenuButtonProps> = ({ name, url, iconName = 'ExternalLink' }) => {
const Icon = (Icons[iconName] as React.ElementType) || Icons.ExternalLink;
return (
<Link href={url} target="_blank" rel="noopener noreferrer" style={{ textDecoration: 'none' }}>
<GlassCard hoverable className={styles.menuButton}>
<div className={styles.iconWrapper}>
<Icon size={32} />
</div>
<span className={styles.label}>{name}</span>
</GlassCard>
</Link>
);
};