Skip to content

Commit d0fe9b0

Browse files
committed
Update mobile menu links
1 parent 3268ff2 commit d0fe9b0

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

src/components/Header/index.tsx

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -165,25 +165,15 @@ const Header = () => {
165165
))}
166166
<li className="py-3">
167167
<Link
168-
href="https://discord.gg/DsaXMTEtpF"
169-
className="block text-base text-dark hover:text-primary dark:text-white/70 dark:hover:text-white transition-colors"
168+
href="/contact"
169+
className={`block text-base transition-colors ${
170+
pathname === "/contact"
171+
? "text-primary dark:text-white"
172+
: "text-dark hover:text-primary dark:text-white/70 dark:hover:text-white"
173+
}`}
170174
onClick={() => setNavbarOpen(false)}
171175
>
172-
{t('footer.social.discord')}
173-
<svg
174-
className="ml-1 inline-block h-4 w-4"
175-
fill="none"
176-
stroke="currentColor"
177-
viewBox="0 0 24 24"
178-
xmlns="http://www.w3.org/2000/svg"
179-
>
180-
<path
181-
strokeLinecap="round"
182-
strokeLinejoin="round"
183-
strokeWidth={2}
184-
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
185-
/>
186-
</svg>
176+
{t('navigation.contact')}
187177
</Link>
188178
</li>
189179
<li className="py-3">

src/messages/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"navigation": {
88
"features": "Features",
99
"platforms": "Platforms",
10-
"blog": "Blog"
10+
"blog": "Blog",
11+
"contact": "Contact"
1112
},
1213
"hero": {
1314
"title": "Privacy-First Password & Email Alias Manager",

src/messages/nl.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"navigation": {
88
"features": "Functies",
99
"platforms": "Platforms",
10-
"blog": "Blog"
10+
"blog": "Blog",
11+
"contact": "Contact"
1112
},
1213
"hero": {
1314
"title": "Privacy-First Wachtwoord & E-mailalias Manager",

0 commit comments

Comments
 (0)