first commit

This commit is contained in:
2026-01-23 17:28:21 +07:00
commit 29ff8992b9
331 changed files with 30545 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { InertiaLinkProps, Link } from '@inertiajs/react';
export default function ResponsiveNavLink({
active = false,
className = '',
children,
...props
}: InertiaLinkProps & { active?: boolean }) {
return (
<Link
{...props}
className={`flex w-full items-start border-l-4 py-2 pe-4 ps-3 ${
active
? 'border-nihonbuzz-red bg-nihonbuzz-red/10 text-nihonbuzz-red focus:border-nihonbuzz-red focus:bg-nihonbuzz-red/20'
: 'border-transparent text-gray-600 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-800'
} text-base font-medium transition duration-150 ease-in-out focus:outline-none ${className}`}
>
{children}
</Link>
);
}