From 46fcf042ad574a9885aef9370c745112ce49af98 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Tue, 10 Feb 2026 13:19:40 +0100 Subject: [PATCH] Improve /socials page --- web/messages/de.json | 8 +++++ web/messages/fr.json | 8 +++++ web/pages/social.tsx | 81 ++++++++++++++++++++++++++++++++------------ 3 files changed, 75 insertions(+), 22 deletions(-) diff --git a/web/messages/de.json b/web/messages/de.json index feb849e1..26b6c4ca 100644 --- a/web/messages/de.json +++ b/web/messages/de.json @@ -852,6 +852,14 @@ "signup.submit": "Konto erstellen", "signup.title": "Konto erstellen", "signup.toast.created": "Konto erstellt", + "social.community.title": "Community", + "social.community.desc": "Treten Sie unseren Community-Diskussionen und Chats bei.", + "social.follow.title": "Folgen & Updates", + "social.follow.desc": "Bleiben Sie über Ankündigungen und Nachrichten informiert.", + "social.dev.title": "Entwicklung", + "social.dev.desc": "Sehen Sie sich unseren Quellcode an oder tragen Sie bei.", + "social.contact.title": "Kontakt", + "social.contact.desc": "Kontaktieren Sie uns direkt für Anfragen.", "social.discord": "Discord", "social.email_button": "E-Mail", "social.github": "GitHub", diff --git a/web/messages/fr.json b/web/messages/fr.json index 736d75bb..dfd8a291 100644 --- a/web/messages/fr.json +++ b/web/messages/fr.json @@ -852,6 +852,14 @@ "signup.submit": "Créer le compte", "signup.title": "Créer un compte", "signup.toast.created": "Compte créé", + "social.community.title": "Communauté", + "social.community.desc": "Rejoignez nos discussions et chats communautaires.", + "social.follow.title": "Annonces & Mises à jour", + "social.follow.desc": "Restez informé des annonces et actualités.", + "social.dev.title": "Développement", + "social.dev.desc": "Consultez notre code source ou contribuez.", + "social.contact.title": "Contact", + "social.contact.desc": "Contactez-nous directement pour toute demande.", "social.discord": "Discord", "social.email_button": "E‑mail", "social.github": "GitHub", diff --git a/web/pages/social.tsx b/web/pages/social.tsx index 3ca1d5f1..8047f8b8 100644 --- a/web/pages/social.tsx +++ b/web/pages/social.tsx @@ -1,36 +1,73 @@ import {PageBase} from 'web/components/page-base' -import {discordLink, githubRepo, redditLink, stoatLink, supportEmail, xLink} from "common/constants"; -import {GeneralButton} from "web/components/buttons/general-button"; -import clsx from "clsx"; -import {Col} from "web/components/layout/col"; -import {SEO} from "web/components/SEO"; -import {useT} from 'web/lib/locale' - +import {discordLink, githubRepo, redditLink, stoatLink, supportEmail, xLink} from "common/constants" +import {GeneralButton} from "web/components/buttons/general-button" +import {SEO} from "web/components/SEO" +import {useT} from "web/lib/locale" +function Section({ + title, + description, + children, + }: { + title: string + description: string + children: React.ReactNode +}) { + return ( +
+

{title}

+

{description}

+
{children}
+
+ ) +} export default function Social() { const t = useT() + return ( -

{t('social.title','Socials')}

- {t('social.title', 'Socials')} + + {/* COMMUNITY */} +
- - - - - - - + + + +
+ + {/* FOLLOW / UPDATES */} +
+ +
+ + {/* DEVELOPMENT */} +
+ +
+ + {/* CONTACT */} +
+ +
) }