seo update

This commit is contained in:
2026-04-08 11:01:53 +05:30
parent de7c1d5ad8
commit eefdf32aa8
16 changed files with 607 additions and 29 deletions

View File

@@ -21,8 +21,8 @@ export default function BottomNav() {
{/* Write */}
<button
type="button"
className={`bottom-nav-btn ${isActive('/') ? 'bottom-nav-btn-active' : ''}`}
onClick={() => navigate('/')}
className={`bottom-nav-btn ${isActive('/write') ? 'bottom-nav-btn-active' : ''}`}
onClick={() => navigate('/write')}
aria-label="Write"
>
{/* Pencil / edit icon */}

View File

@@ -16,7 +16,7 @@ export function ProtectedRoute({ children }: Props) {
}
if (!user) {
return <Navigate to="/login" state={{ from: location }} replace />
return <Navigate to="/" state={{ from: location }} replace />
}
return <>{children}</>