From 44d912930817c81f7e0dfc686303aebfa69f17ac Mon Sep 17 00:00:00 2001
From: Michael Brusegard <56915010+michaelbrusegard@users.noreply.github.com>
Date: Sun, 21 Jan 2024 00:53:51 +0100
Subject: [PATCH] chore: update channel formating for footer
---
messages/en.json | 2 +-
messages/no.json | 2 +-
src/components/layout/Footer.tsx | 7 +++++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/messages/en.json b/messages/en.json
index b0db8a1..af5d187 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -17,7 +17,7 @@
"links": "Links",
"utilities": "Utilities",
"haveYouFoundA": "Have you found a",
- "utilitiesDescription": "Feel free to send a to DevOps or use the #dev-public channel on Slack! You can also report errors or suggest improvements on GitHub.",
+ "utilitiesDescription": "Feel free to send a to DevOps or use the #dev-public channel on Slack! You can also report errors or suggest improvements on GitHub.",
"openingHours": "Opening hours",
"allWeekdays": "Mon-Fri",
"socialMedia": "Social media",
diff --git a/messages/no.json b/messages/no.json
index 1902f54..8da3c01 100644
--- a/messages/no.json
+++ b/messages/no.json
@@ -17,7 +17,7 @@
"links": "Lenker",
"utilities": "Verktøy",
"haveYouFoundA": "Har du funnet en",
- "utilitiesDescription": "Send gjerne en til DevOps eller bruk #dev-public kanalen på Slack! Du kan også rapportere feil eller gi oss forslag til forbedringer på GitHub.",
+ "utilitiesDescription": "Send gjerne en til DevOps eller bruk #dev-public kanalen på Slack! Du kan også rapportere feil eller gi oss forslag til forbedringer på GitHub.",
"openingHours": "Åpningstider",
"allWeekdays": "Mandag - Fredag",
"socialMedia": "Sosiale medier",
diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx
index 7c06a35..6f8d745 100644
--- a/src/components/layout/Footer.tsx
+++ b/src/components/layout/Footer.tsx
@@ -142,6 +142,9 @@ function Footer() {
{t('haveYouFoundA')} ?
{t.rich('utilitiesDescription', {
+ code: (children) => (
+ {children}
+ ),
MailLink: () => (