File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { useTranslations } from "next-intl" ;
2+
3+ export default function ContactPage ( ) {
4+ const t = useTranslations ( "ContactPage" ) ;
5+ return (
6+ < div className = "min-h-screen flex flex-col items-center justify-center bg-gradient-to-br from-blue-50 via-indigo-50 to-purple-50 py-12" >
7+ < div className = "bg-white/80 p-8 rounded-2xl shadow-xl text-center max-w-md w-full" >
8+ < h1 className = "text-3xl font-extrabold mb-2 text-indigo-700 flex items-center justify-center gap-2" >
9+ < svg
10+ xmlns = "http://www.w3.org/2000/svg"
11+ className = "h-8 w-8 text-indigo-500"
12+ fill = "none"
13+ viewBox = "0 0 24 24"
14+ stroke = "currentColor"
15+ strokeWidth = { 2 }
16+ >
17+ < path
18+ strokeLinecap = "round"
19+ strokeLinejoin = "round"
20+ d = "M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
21+ />
22+ </ svg >
23+ Contact Us
24+ </ h1 >
25+ < p className = "text-gray-700 mb-6 text-base" > { t ( "description" ) } </ p >
26+ < div className = "mt-8" >
27+ < a
28+ href = "mailto:contact@savemyessay.com"
29+ className = "inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-indigo-400 to-pink-400 text-white font-semibold shadow-md hover:from-pink-500 hover:to-indigo-500 transition-all duration-200 text-lg"
30+ >
31+ < svg
32+ xmlns = "http://www.w3.org/2000/svg"
33+ className = "h-6 w-6"
34+ fill = "none"
35+ viewBox = "0 0 24 24"
36+ stroke = "currentColor"
37+ strokeWidth = { 2 }
38+ >
39+ < path
40+ strokeLinecap = "round"
41+ strokeLinejoin = "round"
42+ d = "M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
43+ />
44+ </ svg >
45+ contact@savemyessay.com
46+ </ a >
47+ </ div >
48+ </ div >
49+ </ div >
50+ ) ;
51+ }
Original file line number Diff line number Diff line change 1+ import { Link } from "@/i18n/routing" ;
2+ import { useTranslations } from "next-intl" ;
3+
4+ export default function Footer ( ) {
5+ const t = useTranslations ( "HomePage" ) ;
6+ return (
7+ < footer className = "bg-gradient-to-r from-indigo-100 to-pink-100" >
8+ < div className = "max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8" >
9+ < div className = "text-center" >
10+ < div className = "mb-2" >
11+ < Link
12+ href = "/contact"
13+ className = "text-indigo-600 hover:underline font-medium"
14+ >
15+ Contact Us
16+ </ Link >
17+ </ div >
18+ < p className = "text-base text-gray-500" > { t ( "footer.copyright" ) } </ p >
19+ </ div >
20+ </ div >
21+ </ footer >
22+ ) ;
23+ }
You can’t perform that action at this time.
0 commit comments