feat: migrate to site-settings

This commit is contained in:
Lucas Smith
2024-02-23 10:47:01 +00:00
parent c436559787
commit 8165a090d1
25 changed files with 497 additions and 228 deletions

View File

@ -5,7 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { BadgeAlert, BarChart3, FileStack, User2, Wallet2 } from 'lucide-react';
import { BarChart3, FileStack, Settings, User2, Wallet2 } from 'lucide-react';
import { cn } from '@documenso/ui/lib/utils';
import { Button } from '@documenso/ui/primitives/button';
@ -87,9 +87,9 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
)}
asChild
>
<Link href="/admin/banner">
<BadgeAlert className="mr-2 h-5 w-5" />
Banner
<Link href="/admin/site-settings">
<Settings className="mr-2 h-5 w-5" />
Site Settings
</Link>
</Button>
</div>