Skip to content

Commit c94beb3

Browse files
(SP: 1) [Frontend] Remove Contacts References (#211)
* test(q&a): add comprehensive qa tests and coverage setup * test(q&a): align mocks and reset in qa tests * chore(nav): remove contacts page references
1 parent 66ec01e commit c94beb3

7 files changed

Lines changed: 1 addition & 95 deletions

File tree

frontend/app/[locale]/contacts/page.tsx

Lines changed: 0 additions & 59 deletions
This file was deleted.

frontend/app/[locale]/dashboard/page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ export default async function DashboardPage({ params }: { params: Promise<{ loca
9494
</p>
9595
</div>
9696

97-
<Link href="/contacts" className={outlineBtnStyles}>
98-
{t('supportLink')}
99-
</Link>
97+
<span className={outlineBtnStyles}>{t('supportLink')}</span>
10098
</header>
10199
<QuizSavedBanner />
102100
<div className="grid gap-8 md:grid-cols-2">

frontend/lib/navigation.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ export const SITE_LINKS = [
44
{ href: '/leaderboard', labelKey: 'leaderboard' },
55
{ href: '/about', labelKey: 'about' },
66
{ href: '/blog', labelKey: 'blog' },
7-
{ href: '/contacts', labelKey: 'contacts' },
87
{ href: '/shop', labelKey: 'shop' },
98
] as const;

frontend/messages/en.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"leaderboard": "Leaderboard",
2727
"qa": "Q&A",
2828
"about": "About",
29-
"contacts": "Contacts",
3029
"blog": "Blog",
3130
"shop": "Shop",
3231
"login": "Log in",
@@ -308,15 +307,6 @@
308307
},
309308
"divider": "or"
310309
},
311-
"contacts": {
312-
"metaTitle": "Contacts | DevLovers",
313-
"metaDescription": "Get in touch with the DevLovers team for questions, feedback, or collaboration.",
314-
"title": "Contacts",
315-
"subtitle": "We'd love to hear from you!",
316-
"email": "Email:",
317-
"linkedin": "LinkedIn:",
318-
"github": "GitHub:"
319-
},
320310
"dashboard": {
321311
"metaTitle": "Dashboard | DevLovers",
322312
"metaDescription": "Track your progress and quiz performance.",

frontend/messages/pl.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"leaderboard": "Ranking",
2727
"qa": "Q&A",
2828
"about": "O nas",
29-
"contacts": "Kontakt",
3029
"blog": "Blog",
3130
"shop": "Sklep",
3231
"login": "Zaloguj się",
@@ -309,15 +308,6 @@
309308
},
310309
"divider": "lub"
311310
},
312-
"contacts": {
313-
"metaTitle": "Kontakt | DevLovers",
314-
"metaDescription": "Skontaktuj się z zespołem DevLovers w sprawie pytań, opinii lub współpracy.",
315-
"title": "Kontakt",
316-
"subtitle": "Chętnie usłyszymy od Ciebie!",
317-
"email": "Email:",
318-
"linkedin": "LinkedIn:",
319-
"github": "GitHub:"
320-
},
321311
"dashboard": {
322312
"metaTitle": "Panel | DevLovers",
323313
"metaDescription": "Śledź swój postęp i wyniki quizów.",

frontend/messages/uk.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"leaderboard": "Рейтинг",
2727
"qa": "Q&A",
2828
"about": "Про нас",
29-
"contacts": "Контакти",
3029
"blog": "Блог",
3130
"shop": "Магазин",
3231
"login": "Увійти",
@@ -309,15 +308,6 @@
309308
},
310309
"divider": "або"
311310
},
312-
"contacts": {
313-
"metaTitle": "Контакти | DevLovers",
314-
"metaDescription": "Зв'яжіться з командою DevLovers для запитань, відгуків або співпраці.",
315-
"title": "Контакти",
316-
"subtitle": "Будемо раді почути від вас!",
317-
"email": "Email:",
318-
"linkedin": "LinkedIn:",
319-
"github": "GitHub:"
320-
},
321311
"dashboard": {
322312
"metaTitle": "Панель | DevLovers",
323313
"metaDescription": "Відстежуйте свій прогрес та результати квізів.",

frontend/project-structure.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@
8989
📁 [slug]
9090
📄 page.tsx
9191
📄 PostDetails.tsx
92-
📁 contacts
93-
📄 page.tsx
9492
📁 dashboard
9593
📄 page.tsx
9694
📁 forgot-password

0 commit comments

Comments
 (0)