--- import { Icon } from 'astro-icon/components' import BaseLayout from '../../layouts/BaseLayout.astro' import type { ComponentProps } from 'astro/types' type AdminLink = { icon: ComponentProps['name'] title: string href: string } const adminLinks: AdminLink[] = [ { icon: 'ri:box-3-line', title: 'Services', href: '/admin/services', }, { icon: 'ri:file-list-3-line', title: 'Attributes', href: '/admin/attributes', }, { icon: 'ri:user-3-line', title: 'Users', href: '/admin/users', }, { icon: 'ri:chat-settings-line', title: 'Comments', href: '/admin/comments', }, { icon: 'ri:lightbulb-line', title: 'Service suggestions', href: '/admin/service-suggestions', }, { icon: 'ri:megaphone-line', title: 'Announcements', href: '/admin/announcements', }, { icon: 'ri:database-2-line', title: 'Database', href: 'https://db.kycnot.me', }, ] ---

Admin Dashboard

{ adminLinks.map((link) => ( {link.title} )) }