feat: login (#2)
Co-authored-by: Jrodenas <jrodenas@gmail.com> Reviewed-on: #2
This commit is contained in:
@@ -12,6 +12,8 @@ import {
|
||||
export const Route = createFileRoute("/")({ component: App })
|
||||
|
||||
function App() {
|
||||
const navigate = Route.useNavigate()
|
||||
|
||||
const features = [
|
||||
{
|
||||
icon: <Zap className="w-12 h-12 text-cyan-400" />,
|
||||
@@ -53,7 +55,17 @@ function App() {
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-linear-to-b from-slate-900 via-slate-800 to-slate-900">
|
||||
<Button> Hola</Button>
|
||||
<Button
|
||||
onPress={() => {
|
||||
navigate({
|
||||
to: "/login",
|
||||
viewTransition: true
|
||||
})
|
||||
}}
|
||||
>
|
||||
{" "}
|
||||
Hola
|
||||
</Button>
|
||||
<section className="relative py-20 px-6 text-center overflow-hidden">
|
||||
<div className="absolute inset-0 bg-linear-to-r from-cyan-500/10 via-blue-500/10 to-purple-500/10"></div>
|
||||
<div className="relative max-w-5xl mx-auto">
|
||||
|
||||
Reference in New Issue
Block a user