First pass
This commit is contained in:
22
src/pages/index.astro
Normal file
22
src/pages/index.astro
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
|
||||
if (Astro.locals.user) {
|
||||
return Astro.redirect('/dashboard');
|
||||
}
|
||||
---
|
||||
|
||||
<Layout title="Zamaan - Time Tracking">
|
||||
<div class="hero min-h-screen bg-base-200">
|
||||
<div class="hero-content text-center">
|
||||
<div class="max-w-md">
|
||||
<h1 class="text-5xl font-bold">Zamaan</h1>
|
||||
<p class="py-6">Modern time tracking for your organization.</p>
|
||||
<div class="flex gap-4 justify-center">
|
||||
<a href="/login" class="btn btn-primary">Login</a>
|
||||
<a href="/signup" class="btn btn-secondary">Sign Up</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user