base con autenticacion, registro, modulo encuestas

This commit is contained in:
2025-06-16 12:02:22 -04:00
commit 475e0754df
411 changed files with 26265 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
'use client';
import { Button } from '@repo/shadcn/button';
import { RotateCw } from '@repo/shadcn/icon';
import { cn } from '@repo/shadcn/lib/utils';
import { useRouter } from 'next/navigation';
import { useTransition } from 'react';
const NotFound = () => {
const router = useRouter();
const [isPending, startTransition] = useTransition();
return (
<div className="w-full flex flex-col min-h-dvh gap-9 items-center justify-center">
<h1 className="font-semibold text-base">404 | Notfound</h1>
<p className="font-semibold">{"Oh no! This page doesn't exist."}</p>
<Button
onClick={() => {
startTransition(() => {
router.push('/');
});
}}
>
Return Home
<RotateCw className={cn('size-5', isPending && 'animate-spin')} />
</Button>
</div>
);
};
export default NotFound;