Add src/app/kayit/page.tsx

This commit is contained in:
2026-03-23 14:24:47 +00:00
parent 6c02dd4e8d
commit 65962afee4

118
src/app/kayit/page.tsx Normal file
View File

@@ -0,0 +1,118 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Facebook, Instagram, Twitter } from "lucide-react";
export default function KayitPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="mediumLarge"
sizing="mediumSizeLargeTitles"
background="noiseDiagonalGradient"
cardStyle="gradient-radial"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{
name: "Menü", id: "menu"},
{
name: "Hakkımızda", id: "about"},
{
name: "Fiyatlandırma", id: "pricing"},
{
name: "Referanslar", id: "testimonials"},
{
name: "Kayıt Ol", id: "/kayit"},
{
name: "Giriş Yap", id: "/giris"},
]}
button={{
text: "Şimdi Sipariş Ver", href: "/order"}}
brandName="Santa Fit Healthy®"
/>
</div>
<div className="flex flex-col items-center justify-center min-h-[50vh] py-12 px-4 sm:px-6 lg:px-8">
<div className="max-w-md w-full space-y-8 p-10 rounded-lg shadow-lg bg-card text-foreground">
<h2 className="mt-6 text-center text-3xl font-extrabold text-foreground">
Kayıt Ol
</h2>
<form className="mt-8 space-y-6" onSubmit={(e) => e.preventDefault()}>
<div>
<label htmlFor="email-address" className="sr-only">
E-posta adresi
</label>
<input
id="email-address"
name="email"
type="email"
autoComplete="email"
required
className="appearance-none rounded-md relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 focus:outline-none focus:ring-primary-cta focus:border-primary-cta focus:z-10 sm:text-sm"
placeholder="E-posta adresi"
/>
</div>
<div>
<label htmlFor="password" className="sr-only">
Şifre
</label>
<input
id="password"
name="password"
type="password"
autoComplete="new-password"
required
className="appearance-none rounded-md relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 focus:outline-none focus:ring-primary-cta focus:border-primary-cta focus:z-10 sm:text-sm"
placeholder="Şifre"
/>
</div>
<div>
<button
type="submit"
className="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-primary-cta-text bg-primary-cta hover:bg-primary-cta-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-cta"
>
Kayıt Ol
</button>
</div>
</form>
<div className="text-center text-sm text-foreground">
Zaten hesabınız var mı?{" "}
<a href="/giris" className="font-medium text-primary-cta hover:text-primary-cta-hover">
Giriş Yap
</a>
</div>
</div>
</div>
<div id="footer" data-section="footer">
<FooterCard
logoText="Santa Fit Healthy®"
copyrightText="© 2024 Santa Fit Healthy®. Tüm hakları saklıdır."
socialLinks={[
{
icon: Facebook,
href: "https://facebook.com/santafithealthy", ariaLabel: "Facebook"},
{
icon: Instagram,
href: "https://instagram.com/santafithealthy", ariaLabel: "Instagram"},
{
icon: Twitter,
href: "https://twitter.com/santafithealthy", ariaLabel: "Twitter"},
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}