@@ -2,9 +2,11 @@ import Link from "next/link";
22import Image from "next/image" ;
33import { useTranslations } from "next-intl" ;
44import AnchorHeading from "@/components/Common/AnchorHeading" ;
5+ import { getStatusPageUrl } from "@/lib/status-banner" ;
56
67const ContactContent = ( ) => {
78 const t = useTranslations ( ) ;
9+ const statusUrl = getStatusPageUrl ( ) ;
810
911 return (
1012 < section className = "pb-16 pt-8" >
@@ -28,8 +30,8 @@ const ContactContent = () => {
2830 className = "text-primary hover:underline"
2931 >
3032 { t ( 'contact.content.founder' ) }
31- </ a > { " " }
32- { t ( 'contact.content.location ' ) }
33+ </ a >
34+ { t ( 'contact.content.team ' ) }
3335 </ p >
3436 < p className = "text-base text-body-color dark:text-body-color-dark" >
3537 { t ( 'contact.content.main.contactBlurb' ) } { " " }
@@ -45,62 +47,53 @@ const ContactContent = () => {
4547 < div className = "mb-12" >
4648 < AnchorHeading
4749 as = "h3"
48- id = "faq "
50+ id = "status "
4951 className = "mb-4 text-xl font-bold text-black dark:text-white sm:text-2xl lg:text-xl xl:text-2xl"
5052 copyLabel = "Copy link"
5153 >
52- { t ( 'contact.content.faq .title' ) }
54+ { t ( 'contact.content.status .title' ) }
5355 </ AnchorHeading >
5456 < p className = "text-base text-body-color dark:text-body-color-dark" >
55- { t ( 'contact.content.faq .description' ) }
57+ { t ( 'contact.content.status .description' ) }
5658 </ p >
5759 < div className = "mt-4" >
58- < Link
59- href = "/#faq"
60- className = "text-primary hover:underline"
61- >
62- { t ( 'contact.content.faq.links.faq' ) }
63- </ Link >
64- { " • " }
65- < Link
66- href = "/docs"
60+ < a
61+ href = { statusUrl }
62+ target = "_blank"
63+ rel = "noopener noreferrer"
6764 className = "text-primary hover:underline"
6865 >
69- { t ( 'contact.content.faq.links.docs ' ) }
70- </ Link >
66+ { t ( 'contact.content.status.link ' ) }
67+ </ a >
7168 </ div >
7269 </ div >
7370
7471 < div className = "mb-12" >
7572 < AnchorHeading
7673 as = "h3"
77- id = "feature-requests "
74+ id = "faq "
7875 className = "mb-4 text-xl font-bold text-black dark:text-white sm:text-2xl lg:text-xl xl:text-2xl"
7976 copyLabel = "Copy link"
8077 >
81- { t ( 'contact.content.features .title' ) }
78+ { t ( 'contact.content.faq .title' ) }
8279 </ AnchorHeading >
8380 < p className = "text-base text-body-color dark:text-body-color-dark" >
84- { t ( 'contact.content.features .description' ) }
81+ { t ( 'contact.content.faq .description' ) }
8582 </ p >
8683 < div className = "mt-4" >
87- < a
88- href = "https://github.com/aliasvault/aliasvault/discussions/categories/ideas"
89- target = "_blank"
90- rel = "noopener noreferrer"
84+ < Link
85+ href = "/#faq"
9186 className = "text-primary hover:underline"
9287 >
93- { t ( 'contact.content.features .links.submit ' ) }
94- </ a >
88+ { t ( 'contact.content.faq .links.faq ' ) }
89+ </ Link >
9590 { " • " }
96- < a
97- href = "https://discord.gg/DsaXMTEtpF"
98- target = "_blank"
99- rel = "noopener noreferrer"
91+ < Link
92+ href = "/docs"
10093 className = "text-primary hover:underline"
10194 >
102- { t ( 'contact.content.features .links.discuss ' ) }
103- </ a >
95+ { t ( 'contact.content.faq .links.docs ' ) }
96+ </ Link >
10497 </ div >
10598 </ div >
10699
@@ -140,6 +133,39 @@ const ContactContent = () => {
140133 </ ul >
141134 </ div >
142135
136+ < div className = "mb-12" >
137+ < AnchorHeading
138+ as = "h3"
139+ id = "feature-requests"
140+ className = "mb-4 text-xl font-bold text-black dark:text-white sm:text-2xl lg:text-xl xl:text-2xl"
141+ copyLabel = "Copy link"
142+ >
143+ { t ( 'contact.content.features.title' ) }
144+ </ AnchorHeading >
145+ < p className = "text-base text-body-color dark:text-body-color-dark" >
146+ { t ( 'contact.content.features.description' ) }
147+ </ p >
148+ < div className = "mt-4" >
149+ < a
150+ href = "https://github.com/aliasvault/aliasvault/discussions/categories/ideas"
151+ target = "_blank"
152+ rel = "noopener noreferrer"
153+ className = "text-primary hover:underline"
154+ >
155+ { t ( 'contact.content.features.links.submit' ) }
156+ </ a >
157+ { " • " }
158+ < a
159+ href = "https://discord.gg/DsaXMTEtpF"
160+ target = "_blank"
161+ rel = "noopener noreferrer"
162+ className = "text-primary hover:underline"
163+ >
164+ { t ( 'contact.content.features.links.discuss' ) }
165+ </ a >
166+ </ div >
167+ </ div >
168+
143169 < div className = "mb-12" >
144170 < AnchorHeading
145171 as = "h3"
@@ -208,6 +234,18 @@ const ContactContent = () => {
208234 </ a >
209235 </ div >
210236 </ div >
237+
238+ < div className = "mt-12 border-t border-body-color/20 pt-8 dark:border-body-color-dark/20" >
239+ < p className = "text-base text-body-color dark:text-body-color-dark" >
240+ { t ( 'contact.content.closing.text' ) } { " " }
241+ < a
242+ href = "mailto:support@aliasvault.com"
243+ className = "text-primary hover:underline"
244+ >
245+ support@aliasvault.com
246+ </ a >
247+ </ p >
248+ </ div >
211249 </ div >
212250 </ div >
213251 </ section >
0 commit comments