chore: Secure routes with auth middleware, update text and fix minor bugs
This commit is contained in:
@@ -2,16 +2,13 @@ import { Button } from "@/components/ui/button"
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
||||
import Link from "next/link"
|
||||
import { ArrowLeft, Mail, MapPin, Phone } from "lucide-react"
|
||||
import { PublicLayout } from "@/components/Landing/PublicLayout"
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground flex flex-col">
|
||||
<header className="border-b border-border bg-background px-6 py-4 flex items-center justify-between sticky top-0 z-10">
|
||||
<Link href="/" className="text-muted-foreground hover:text-foreground flex items-center gap-2 transition-colors font-medium">
|
||||
<ArrowLeft size={16} /> Back to Home
|
||||
</Link>
|
||||
</header>
|
||||
<main className="flex-1 flex flex-col items-center justify-center p-8 animate-in fade-in duration-700">
|
||||
<PublicLayout>
|
||||
<div className="bg-background text-foreground flex flex-col pt-24 pb-16 min-h-[70vh]">
|
||||
<main className="flex-1 flex flex-col items-center justify-center p-8 animate-in fade-in duration-700">
|
||||
<h1 className="text-5xl font-bold tracking-tighter mb-4 text-center">Contact Us</h1>
|
||||
<p className="text-lg text-muted-foreground max-w-2xl text-center mb-12">
|
||||
Have a question or need support? We're here to help you ace your preparation.
|
||||
@@ -36,13 +33,14 @@ export default function ContactPage() {
|
||||
<div className="flex items-center gap-3 text-sm text-muted-foreground font-medium">
|
||||
<Mail size={16} className="text-primary" /> support@pragativeer.com
|
||||
</div>
|
||||
<div className="flex items-center gap-3 text-sm text-muted-foreground font-medium">
|
||||
<MapPin size={16} className="text-primary" /> Tech Hub, Bengaluru, India
|
||||
<div className="flex items-center gap-3 text-sm text-muted-foreground font-medium mt-2">
|
||||
<MapPin size={16} className="text-primary" /> Pune, Maharashtra
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</PublicLayout>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user