27 lines
642 B
TypeScript
27 lines
642 B
TypeScript
'use client'
|
|
|
|
import { useRouter } from 'next/navigation'
|
|
import AdminShell from '../ui/AdminShell'
|
|
|
|
export default function AdminLandingPage() {
|
|
const router = useRouter()
|
|
|
|
return (
|
|
<AdminShell
|
|
title="Settings"
|
|
subtitle="Choose what you want to manage."
|
|
actions={
|
|
<button type="button" onClick={() => router.push('/')}>
|
|
Back to requests
|
|
</button>
|
|
}
|
|
>
|
|
<section className="admin-section">
|
|
<div className="status-banner">
|
|
Pick a section from the left. Each page explains what it does and how it helps.
|
|
</div>
|
|
</section>
|
|
</AdminShell>
|
|
)
|
|
}
|