1+ import { useTranslations } from 'next-intl' ;
2+
3+ const ContactPage = ( ) => {
4+ const t = useTranslations ( ) ;
5+
6+ return (
7+ < main className = 'px-5 lg:px-0 min-h-screen py-20' >
8+ < div className = "max-w-4xl mx-auto" >
9+ < div className = "text-center mb-12" >
10+ < h1 className = "text-4xl font-bold text-heading_main dark:text-dark_heading_main mb-4" >
11+ Contact Us
12+ </ h1 >
13+ < p className = "text-lg text-base_one dark:text-dark_base_one" >
14+ Get in touch with our team for support and inquiries
15+ </ p >
16+ </ div >
17+
18+ < div className = "grid lg:grid-cols-2 gap-12" >
19+ { /* Contact Form */ }
20+ < div className = "bg-white dark:bg-dark_heading rounded-2xl p-8 shadow-sm" >
21+ < h2 className = "text-2xl font-bold text-heading_main dark:text-dark_heading_main mb-6" >
22+ Send us a message
23+ </ h2 >
24+
25+ < form className = "space-y-6" >
26+ < div >
27+ < label htmlFor = "name" className = "block text-sm font-medium text-heading_main dark:text-dark_heading_main mb-2" >
28+ Name
29+ </ label >
30+ < input
31+ type = "text"
32+ id = "name"
33+ name = "name"
34+ className = "w-full px-4 py-3 rounded-xl border border-gray-200 dark:border-gray-700 bg-body dark:bg-dark_body text-heading_main dark:text-dark_heading_main focus:outline-none focus:ring-2 focus:ring-purple_main"
35+ required
36+ />
37+ </ div >
38+
39+ < div >
40+ < label htmlFor = "email" className = "block text-sm font-medium text-heading_main dark:text-dark_heading_main mb-2" >
41+ Email
42+ </ label >
43+ < input
44+ type = "email"
45+ id = "email"
46+ name = "email"
47+ className = "w-full px-4 py-3 rounded-xl border border-gray-200 dark:border-gray-700 bg-body dark:bg-dark_body text-heading_main dark:text-dark_heading_main focus:outline-none focus:ring-2 focus:ring-purple_main"
48+ required
49+ />
50+ </ div >
51+
52+ < div >
53+ < label htmlFor = "message" className = "block text-sm font-medium text-heading_main dark:text-dark_heading_main mb-2" >
54+ Message
55+ </ label >
56+ < textarea
57+ id = "message"
58+ name = "message"
59+ rows = { 6 }
60+ className = "w-full px-4 py-3 rounded-xl border border-gray-200 dark:border-gray-700 bg-body dark:bg-dark_body text-heading_main dark:text-dark_heading_main focus:outline-none focus:ring-2 focus:ring-purple_main resize-none"
61+ required
62+ > </ textarea >
63+ </ div >
64+
65+ < button
66+ type = "submit"
67+ className = "w-full bg-purple_main text-white font-semibold py-3 px-6 rounded-xl hover:bg-opacity-90 transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple_main focus:ring-offset-2"
68+ >
69+ Send Message
70+ </ button >
71+ </ form >
72+ </ div >
73+
74+ { /* Contact Information */ }
75+ < div className = "space-y-8" >
76+ < div className = "bg-white dark:bg-dark_heading rounded-2xl p-8 shadow-sm" >
77+ < h2 className = "text-2xl font-bold text-heading_main dark:text-dark_heading_main mb-6" >
78+ Get in touch
79+ </ h2 >
80+
81+ < div className = "space-y-6" >
82+ < div className = "flex items-start gap-4" >
83+ < div className = "w-12 h-12 bg-purple_main bg-opacity-10 rounded-xl flex items-center justify-center" >
84+ < span className = "text-purple_main text-xl" > 📧</ span >
85+ </ div >
86+ < div >
87+ < h3 className = "font-semibold text-heading_main dark:text-dark_heading_main" >
88+ Email
89+ </ h3 >
90+ < p className = "text-base_one dark:text-dark_base_one" >
91+ 92+ </ p >
93+ </ div >
94+ </ div >
95+
96+ < div className = "flex items-start gap-4" >
97+ < div className = "w-12 h-12 bg-purple_main bg-opacity-10 rounded-xl flex items-center justify-center" >
98+ < span className = "text-purple_main text-xl" > ⏰</ span >
99+ </ div >
100+ < div >
101+ < h3 className = "font-semibold text-heading_main dark:text-dark_heading_main" >
102+ Response Time
103+ </ h3 >
104+ < p className = "text-base_one dark:text-dark_base_one" >
105+ We typically respond within 24 hours
106+ </ p >
107+ </ div >
108+ </ div >
109+ </ div >
110+ </ div >
111+
112+ < div className = "bg-white dark:bg-dark_heading rounded-2xl p-8 shadow-sm" >
113+ < h2 className = "text-2xl font-bold text-heading_main dark:text-dark_heading_main mb-6" >
114+ Frequently Asked Questions
115+ </ h2 >
116+
117+ < div className = "space-y-4" >
118+ < details className = "group" >
119+ < summary className = "font-semibold text-heading_main dark:text-dark_heading_main cursor-pointer list-none flex items-center justify-between" >
120+ < span > How do I download videos?</ span >
121+ < span className = "group-open:rotate-45 transition-transform" > +</ span >
122+ </ summary >
123+ < p className = "text-base_one dark:text-dark_base_one mt-2 text-sm" >
124+ Simply paste the YouTube URL, choose your format, and click download.
125+ </ p >
126+ </ details >
127+
128+ < details className = "group" >
129+ < summary className = "font-semibold text-heading_main dark:text-dark_heading_main cursor-pointer list-none flex items-center justify-between" >
130+ < span > Is the service free?</ span >
131+ < span className = "group-open:rotate-45 transition-transform" > +</ span >
132+ </ summary >
133+ < p className = "text-base_one dark:text-dark_base_one mt-2 text-sm" >
134+ Yes, our YouTube video downloader is completely free to use.
135+ </ p >
136+ </ details >
137+ </ div >
138+ </ div >
139+ </ div >
140+ </ div >
141+ </ div >
142+ </ main >
143+ ) ;
144+ } ;
145+
146+ export default ContactPage ;
0 commit comments