diff --git a/package.json b/package.json index ed3209c..7aeafa1 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "@craco/craco": "^7.1.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", + "@fontsource-variable/mona-sans": "^5.3.0", "@mui/icons-material": "^9.5.0", "@mui/material": "^9.5.0", "aos": "^2.3.4", diff --git a/public/Afkanerd.svg b/public/Afkanerd.svg new file mode 100644 index 0000000..8a14fd5 --- /dev/null +++ b/public/Afkanerd.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/RelaySMS-Icon-White.svg b/public/RelaySMS-Icon-White.svg new file mode 100644 index 0000000..511043f --- /dev/null +++ b/public/RelaySMS-Icon-White.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/SWOB-Dark Theme.png b/public/SWOB-Dark Theme.png new file mode 100644 index 0000000..79966b9 Binary files /dev/null and b/public/SWOB-Dark Theme.png differ diff --git a/public/SWOB-Default.png b/public/SWOB-Default.png new file mode 100644 index 0000000..2e2b6e5 Binary files /dev/null and b/public/SWOB-Default.png differ diff --git a/public/SWOB-Icon-Dark.png b/public/SWOB-Icon-Dark.png new file mode 100644 index 0000000..e3dd2ce Binary files /dev/null and b/public/SWOB-Icon-Dark.png differ diff --git a/public/SWOB-Icon.png b/public/SWOB-Icon.png new file mode 100644 index 0000000..22bfd1d Binary files /dev/null and b/public/SWOB-Icon.png differ diff --git a/public/compose-platform-select.png b/public/compose-platform-select.png new file mode 100644 index 0000000..399d7d8 Binary files /dev/null and b/public/compose-platform-select.png differ diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 3e565ec..1172bac 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -72,13 +72,15 @@ "AndroidButton": "Download for Android", "iOSButton": "Download for iOS", "FlowNodes": { - "relaySublabel": "Your phone", - "encryptedLabel": "Encrypted", - "encryptedSublabel": "SMS", - "relayCloudLabel": "Relay Cloud", - "relayCloudSublabel": "Gateway", - "platformLabel": "Platform", - "platformSublabel": "Delivered" + "smsLabel": "SMS", + "publisherLabel": "Relay Publisher", + "platformLabel": "Platform" + }, + "FlowStatus": { + "ready": "Tap to send", + "sending": "Sending…", + "relaying": "Relaying…", + "published": "Published" } }, "HowRelaySMSWorks": { @@ -622,20 +624,29 @@ "Title": "RelaySMS uses SMS to bridge internet censorship and shutdowns", "Subtitle": "Internet censorship and shutdowns won't stop you from communicating. RelaySMS is a free and open-source app that allows you to send messages to popular platforms like Gmail, Telegram, Bluesky, and more when you don't have internet access." }, + "Origin": { + "Title": "Where it started", + "Description": "In January 2017, the internet went dark across Cameroon's English-speaking regions for months. This event lead to a team of developers who built an SMS-based way to reach the internet when there was none — the idea that grew into SMSWithoutBorders, and later, RelaySMS." + }, "GatewayShare": "If you are in an area with internet access, you can set up a routing number and share access with family and friends who don't have internet access.", "CTA": { "SetupGateway": "Setting up a Routing Number", - "SMSWithoutBorders": "Learn more about SMSWithoutBorders", - "Resources": "Browse Resources", - "Contribute": "Contribution Guide" + "Resources": "Resources" }, "WhoBuilt": { "Title": "The team behind RelaySMS", - "Description": "RelaySMS is an app under SMSWithoutBorders project, built and maintained by the Afkanerd team with support from open-source contributors and partners. We welcome contributions from the community to improve RelaySMS and expand its reach." + "Description": "RelaySMS is a tool under the SMSWithoutBorders (SWOB) project, built by Afkanerd — a team dedicated to researching, developing, and promoting secure, accessible communication tools that work even without an internet connection." + }, + "Links": { + "SMSWithoutBorders": "SMSWithoutBorders", + "SMSWithoutBordersDescription": "The project behind RelaySMS", + "Afkanerd": "Afkanerd", + "AfkanerdDescription": "The team building SMSWithoutBorders", + "GitHub": "GitHub", + "GitHubDescription": "Explore our open-source repositories" }, "Resources": { - "Title": "Training Others, or Need a Hand Yourself?", - "Description": "Whether you're teaching a community how to use RelaySMS or just need help getting set up yourself, we've put together guides and training material for that. We also publish technical papers on how RelaySMS works under the hood." + "Statement": "Training people on RelaySMS, or need a hand getting started yourself? We've got guides, training material, and technical papers for that." } }, "awesomeButton": "Awesome!", diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 38ca2f6..1062f82 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -72,13 +72,15 @@ "AndroidButton": "Descargar para Android", "iOSButton": "Descargar para iOS", "FlowNodes": { - "relaySublabel": "Tu teléfono", - "encryptedLabel": "Cifrado", - "encryptedSublabel": "SMS", - "relayCloudLabel": "Relay Cloud", - "relayCloudSublabel": "Pasarela", - "platformLabel": "Plataforma", - "platformSublabel": "Entregado" + "smsLabel": "SMS", + "publisherLabel": "Relay Publisher", + "platformLabel": "Plataforma" + }, + "FlowStatus": { + "ready": "Toca para enviar", + "sending": "Enviando…", + "relaying": "Retransmitiendo…", + "published": "Publicado" } }, "HowRelaySMSWorks": { @@ -622,20 +624,29 @@ "Title": "RelaySMS usa SMS para sortear la censura y los cortes de Internet", "Subtitle": "La censura y los cortes de Internet no impedirán que te comuniques. RelaySMS es un proyecto gratuito y de código abierto que te permite enviar mensajes a plataformas populares como Gmail, Telegram, Bluesky y más cuando no tienes acceso a Internet." }, + "Origin": { + "Title": "Cómo empezó", + "Description": "En enero de 2017, Internet se apagó durante meses en las regiones anglófonas de Camerún. Atrapado en el apagón, nuestro fundador creó una forma de llegar a Internet mediante SMS cuando no había ninguna — la idea que se convirtió en SMSWithoutBorders y, más tarde, en RelaySMS." + }, "GatewayShare": "Si estás en una zona con acceso a Internet, puedes configurar un número de enrutamiento y compartir el acceso con familiares y amigos que no tienen conexión.", "CTA": { "SetupGateway": "Configurar un número de enrutamiento", - "SMSWithoutBorders": "Más información sobre SMSWithoutBorders", - "Resources": "Explorar recursos", - "Contribute": "Guía de contribución" + "Resources": "Explorar recursos" }, "WhoBuilt": { "Title": "El equipo detrás de RelaySMS", - "Description": "RelaySMS es una aplicación de SMSWithoutBorders, creada y mantenida por el equipo de Afkanerd con el apoyo de colaboradores y socios de código abierto. Agradecemos las contribuciones de la comunidad para mejorar RelaySMS y ampliar su alcance." + "Description": "RelaySMS es una herramienta del proyecto SMSWithoutBorders (SWOB), creada por Afkanerd, un equipo dedicado a investigar, desarrollar y promover herramientas de comunicación seguras y accesibles que funcionan incluso sin conexión a Internet." + }, + "Links": { + "SMSWithoutBorders": "SMSWithoutBorders", + "SMSWithoutBordersDescription": "El proyecto detrás de RelaySMS", + "Afkanerd": "Afkanerd", + "AfkanerdDescription": "El equipo que construye SMSWithoutBorders", + "GitHub": "GitHub", + "GitHubDescription": "Explora nuestros repositorios de código abierto" }, "Resources": { - "Title": "¿Capacitas a otros o necesitas ayuda tú mismo?", - "Description": "Ya sea que estés enseñando a una comunidad a usar RelaySMS o simplemente necesites ayuda para configurarlo tú mismo, tenemos guías y material de capacitación para eso. También publicamos documentos técnicos sobre cómo funciona RelaySMS por dentro." + "Statement": "¿Estás capacitando a otros en RelaySMS o necesitas ayuda para empezar tú mismo? Tenemos guías, material de capacitación y artículos técnicos para eso." } }, "awesomeButton": "¡Genial!", diff --git a/public/locales/fa/translation.json b/public/locales/fa/translation.json index 9b30e3d..3e3296a 100644 --- a/public/locales/fa/translation.json +++ b/public/locales/fa/translation.json @@ -72,13 +72,15 @@ "AndroidButton": "دانلود برای اندروید", "iOSButton": "دانلود برای iOS", "FlowNodes": { - "relaySublabel": "گوشی شما", - "encryptedLabel": "رمزگذاری‌شده", - "encryptedSublabel": "پیامک", - "relayCloudLabel": "ابر رله", - "relayCloudSublabel": "دروازه", - "platformLabel": "پلتفرم", - "platformSublabel": "تحویل شده" + "smsLabel": "پیامک", + "publisherLabel": "Relay Publisher", + "platformLabel": "پلتفرم" + }, + "FlowStatus": { + "ready": "برای ارسال ضربه بزنید", + "sending": "در حال ارسال…", + "relaying": "در حال انتقال…", + "published": "منتشر شد" } }, "HowRelaySMSWorks": { @@ -622,20 +624,29 @@ "Title": "RelaySMS از SMS برای عبور از سانسور و قطع اینترنت استفاده می‌کند", "Subtitle": "سانسور و قطع اینترنت مانع ارتباط شما نخواهد شد. RelaySMS یک پروژه رایگان و متن‌باز است که به شما اجازه می‌دهد هنگام نداشتن دسترسی اینترنتی، پیام‌هایی را به پلتفرم‌های محبوبی مانند Gmail، Telegram، Bluesky و بیشتر ارسال کنید." }, + "Origin": { + "Title": "همه‌چیز از کجا شروع شد", + "Description": "در ژانویه ۲۰۱۷، اینترنت در مناطق انگلیسی‌زبان کامرون برای ماه‌ها قطع شد. این رویداد منجر به ایجاد یک تیم از توسعه‌دهندگان شد که یک راه حل مبتنی بر SMS برای دسترسی به اینترنت در زمانی که هیچ اینترنتی وجود نداشت، ساختند — ایده‌ای که به SMSWithoutBorders و بعدها RelaySMS تبدیل شد." + }, "GatewayShare": "اگر در منطقه‌ای با دسترسی اینترنتی هستید، می‌توانید یک شماره مسیریابی راه‌اندازی کنید و دسترسی را با خانواده و دوستانی که دسترسی اینترنتی ندارند به اشتراک بگذارید.", "CTA": { "SetupGateway": "راه‌اندازی شماره مسیریابی", - "SMSWithoutBorders": "درباره SMSWithoutBorders بیشتر بدانید", - "Resources": "مشاهده منابع", - "Contribute": "راهنمای مشارکت" + "Resources": "مشاهده منابع" }, "WhoBuilt": { "Title": "تیم پشت RelaySMS", - "Description": "RelaySMS یکی از اپلیکیشن‌های SMSWithoutBorders است که توسط تیم Afkanerd ساخته و نگهداری می‌شود و از حمایت مشارکت‌کنندگان و شرکای متن‌باز بهره می‌برد. ما از مشارکت‌های جامعه برای بهبود RelaySMS و گسترش دامنه آن استقبال می‌کنیم." + "Description": "RelaySMS ابزاری در چارچوب پروژه SMSWithoutBorders (SWOB) است که توسط Afkanerd ساخته شده است؛ تیمی که به پژوهش، توسعه و ترویج ابزارهای ارتباطی امن و در دسترس اختصاص دارد که حتى بدون اتصال اینترنت هم کار مي‌کنند." + }, + "Links": { + "SMSWithoutBorders": "SMSWithoutBorders", + "SMSWithoutBordersDescription": "پروژه پشت RelaySMS", + "Afkanerd": "Afkanerd", + "AfkanerdDescription": "تیم سازنده SMSWithoutBorders", + "GitHub": "گیت‌هاب", + "GitHubDescription": "مخازن متن‌باز ما را ببینید" }, "Resources": { - "Title": "دیگران را آموزش می‌دهید یا خودتان به کمک نیاز دارید؟", - "Description": "چه در حال آموزش یک جامعه برای استفاده از RelaySMS باشید و چه فقط برای راه‌اندازی آن به کمک نیاز داشته باشید، ما راهنما و مطالب آموزشی برای آن فراهم کرده‌ایم. همچنین مقالات فنی درباره نحوه عملکرد درونی RelaySMS منتشر می‌کنیم." + "Statement": "در حال آموزش دیگران درباره RelaySMS هستید یا خودتان برای شروع به کمک نیاز دارید؟ ما راهنما، مطالب آموزشی و مقالات فنی برای آن داریم." } }, "awesomeButton": "عالی!", diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json index 981f22e..732167d 100644 --- a/public/locales/fr/translation.json +++ b/public/locales/fr/translation.json @@ -72,13 +72,15 @@ "AndroidButton": "Télécharger pour Android", "iOSButton": "Télécharger pour iOS", "FlowNodes": { - "relaySublabel": "Votre téléphone", - "encryptedLabel": "Chiffré", - "encryptedSublabel": "SMS", - "relayCloudLabel": "Relay Cloud", - "relayCloudSublabel": "Passerelle", - "platformLabel": "Plateforme", - "platformSublabel": "Livré" + "smsLabel": "SMS", + "publisherLabel": "Relay Publisher", + "platformLabel": "Plateforme" + }, + "FlowStatus": { + "ready": "Appuyez pour envoyer", + "sending": "Envoi…", + "relaying": "Relais en cours…", + "published": "Publié" } }, "HowRelaySMSWorks": { @@ -622,20 +624,29 @@ "Title": "RelaySMS utilise les SMS pour contourner la censure et les coupures Internet", "Subtitle": "La censure et les coupures Internet ne vous empêcheront pas de communiquer. RelaySMS est un projet libre et open source qui vous permet d’envoyer des messages vers des plateformes populaires comme Gmail, Telegram, Bluesky et bien d’autres lorsque vous n’avez pas accès à Internet." }, + "Origin": { + "Title": "Comment tout a commencé", + "Description": "En janvier 2017, Internet s’est éteint pendant des mois dans les régions anglophones du Cameroun. Pris dans cette coupure, notre fondateur a imaginé un moyen d’atteindre Internet par SMS là où il n’y en avait plus — l’idée qui est devenue SMSWithoutBorders, puis RelaySMS." + }, "GatewayShare": "Si vous êtes dans une zone avec accès Internet, vous pouvez configurer un numéro de routage et partager l’accès avec votre famille et vos amis qui n’ont pas accès à Internet.", "CTA": { "SetupGateway": "Configurer un numéro de routage", - "SMSWithoutBorders": "En savoir plus sur SMSWithoutBorders", - "Resources": "Parcourir les ressources", - "Contribute": "Guide de contribution" + "Resources": "Parcourir les ressources" }, "WhoBuilt": { "Title": "L’équipe derrière RelaySMS", - "Description": "RelaySMS est une application SMSWithoutBorders, créée et maintenue par l’équipe Afkanerd avec le soutien des contributeurs et partenaires open source. Nous accueillons les contributions de la communauté pour améliorer RelaySMS et élargir sa portée." + "Description": "RelaySMS est un outil du projet SMSWithoutBorders (SWOB), développé par Afkanerd, une équipe dédiée à la recherche, au développement et à la promotion d’outils de communication sécurisés et accessibles qui fonctionnent même sans connexion Internet." + }, + "Links": { + "SMSWithoutBorders": "SMSWithoutBorders", + "SMSWithoutBordersDescription": "Le projet derrière RelaySMS", + "Afkanerd": "Afkanerd", + "AfkanerdDescription": "L’équipe qui développe SMSWithoutBorders", + "GitHub": "GitHub", + "GitHubDescription": "Découvrez nos dépôts open source" }, "Resources": { - "Title": "Vous formez d'autres personnes, ou besoin d'aide vous-même ?", - "Description": "Que vous appreniez à une communauté à utiliser RelaySMS ou que vous ayez simplement besoin d'aide pour vous installer, nous avons des guides et du matériel de formation pour ça. Nous publions aussi des articles techniques sur le fonctionnement interne de RelaySMS." + "Statement": "Vous formez d'autres personnes à RelaySMS, ou avez besoin d'aide pour démarrer vous-même ? Nous avons des guides, du matériel de formation et des articles techniques pour ça." } }, "awesomeButton": "Super !", diff --git a/public/play-store.png b/public/play-store.png new file mode 100644 index 0000000..d83c76b Binary files /dev/null and b/public/play-store.png differ diff --git a/public/saved-accounts.png b/public/saved-accounts.png new file mode 100644 index 0000000..1a883f5 Binary files /dev/null and b/public/saved-accounts.png differ diff --git a/src/App.css b/src/App.css index a384485..71d19dc 100644 --- a/src/App.css +++ b/src/App.css @@ -1,11 +1,11 @@ -@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400&family=Unbounded:wght@400&family=JetBrains+Mono:wght@400;500&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400&family=JetBrains+Mono:wght@400;500&display=swap"); html, body { overflow-x: hidden; width: 100%; margin: 0; - font-family: "Ubuntu", sans-serif !important; + font-family: "Mona Sans Variable", sans-serif !important; } * { diff --git a/src/Components/AlertBanner.js b/src/Components/AlertBanner.js index d95acf1..b31b963 100644 --- a/src/Components/AlertBanner.js +++ b/src/Components/AlertBanner.js @@ -27,7 +27,6 @@ const AlertBanner = () => { color: "white", fontSize: { xs: "13px", sm: "14px", md: "15px" }, textAlign: "center", - fontFamily: "Ubuntu", lineHeight: 1.4 }} > diff --git a/src/Components/AppFeatures.js b/src/Components/AppFeatures.js index 761058b..d857138 100644 --- a/src/Components/AppFeatures.js +++ b/src/Components/AppFeatures.js @@ -76,7 +76,6 @@ const FeatureRow = ({ label, supported }) => { ( ( {platform.label} {platform.badge} @@ -151,7 +150,7 @@ const AppFeatures = () => { { {t("AppFeatures.Header", "App Features")} {t("AppFeatures.Subheader", "Compare what's available across Android, iOS, and Desktop.")} @@ -177,7 +176,6 @@ const AppFeatures = () => { "& .MuiTabs-flexContainer": { gap: 1 }, "& .MuiTab-root": { textTransform: "none", - fontFamily: "Ubuntu", fontWeight: 600, fontSize: "0.9rem", color: "text.secondary", diff --git a/src/Components/Blog.js b/src/Components/Blog.js index c867665..1ddb630 100644 --- a/src/Components/Blog.js +++ b/src/Components/Blog.js @@ -5,7 +5,6 @@ import { FaTelegram } from "react-icons/fa6"; import { UserOutlined } from "@ant-design/icons"; import { keyframes } from "@emotion/react"; import { useTranslation } from "react-i18next"; -import NewsletterForm from "./NewsletterForm"; const TELEGRAM_URL = "https://t.me/+IPYp6q06dWsyZjY0"; @@ -64,7 +63,7 @@ const BlogCard = ({ post, calculateReadTime, defaultAuthor, minReadLabel }) => ( {post.author || defaultAuthor} @@ -93,7 +92,6 @@ const BlogCard = ({ post, calculateReadTime, defaultAuthor, minReadLabel }) => ( sx={{ fontSize: "0.875rem", color: "text.secondary", - fontFamily: "Ubuntu", lineHeight: 1.6, mb: 2, flexGrow: 1, @@ -109,7 +107,7 @@ const BlogCard = ({ post, calculateReadTime, defaultAuthor, minReadLabel }) => ( {/* Read time */} - + {calculateReadTime(post.excerpt)} {minReadLabel} @@ -281,7 +279,7 @@ const BlogSectionNew = () => { sx={{ fontSize: { xs: "1.5rem", md: "1.9rem" }, fontWeight: 800, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", color: "text.primary", mb: 2, lineHeight: 1.2 @@ -332,7 +330,7 @@ const BlogSectionNew = () => { sx={{ fontSize: { xs: "1.5rem", md: "1.9rem" }, fontWeight: 800, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", color: "text.primary", lineHeight: 1.25 }} @@ -343,7 +341,6 @@ const BlogSectionNew = () => { sx={{ fontSize: { xs: "0.95rem", md: "1.05rem" }, color: "text.secondary", - fontFamily: "Ubuntu", maxWidth: 520, lineHeight: 1.75 }} @@ -361,7 +358,6 @@ const BlogSectionNew = () => { sx={{ bgcolor: "primary.main", color: "#ffffff", - fontFamily: "Ubuntu", fontWeight: 600, fontSize: "1rem", textTransform: "none", diff --git a/src/Components/FAQ.js b/src/Components/FAQ.js index 334f25a..bab857b 100644 --- a/src/Components/FAQ.js +++ b/src/Components/FAQ.js @@ -35,10 +35,6 @@ const FAQSection = ({ isFarsi }) => { question: t("Faq.selfHosting.question"), answer: t("Faq.selfHosting.answer") } - // { - // question: t("Faq.faq5.question"), - // answer: t("Faq.faq5.answer") - // } ]; return ( @@ -49,7 +45,7 @@ const FAQSection = ({ isFarsi }) => { pb: { xs: 10, md: 14 }, pt: { xs: 8, md: 8 }, px: { xs: 2, md: 8 }, - fontFamily: "'Unbounded', 'Ubuntu', sans-serif", + fontFamily: "'Unbounded', sans-serif", direction: isFarsi ? "rtl" : "ltr" }} > @@ -64,7 +60,7 @@ const FAQSection = ({ isFarsi }) => { sx={{ fontSize: { xs: "1.5rem", md: "1.9rem" }, color: "text.primary", - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", mb: 2 }} > @@ -75,7 +71,6 @@ const FAQSection = ({ isFarsi }) => { sx={{ fontSize: "1.2rem", color: "text.secondary", - fontFamily: "Ubuntu", mt: 1, px: 2 }} @@ -121,7 +116,7 @@ const FAQSection = ({ isFarsi }) => { fontWeight: 700, color: "text.primary", fontSize: { xs: "1.1rem", md: "1.2rem" }, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", lineHeight: 1.4 }} > @@ -146,7 +141,6 @@ const FAQSection = ({ isFarsi }) => { variant="body1" sx={{ color: "text.secondary", - fontFamily: "Ubuntu", fontSize: "1rem", lineHeight: 1.7, pb: 3, @@ -220,84 +214,82 @@ const FAQSection = ({ isFarsi }) => { flex: { md: 1 } }} > + + {t("Faq.support.header")} + + + + + + + - {t("Faq.support.header")} + {t("Faq.support.mailSupport")} - - - - - - - - {t("Faq.support.mailSupport")} - - - + + diff --git a/src/Components/Footer.js b/src/Components/Footer.js index 77bee97..a54e7a3 100644 --- a/src/Components/Footer.js +++ b/src/Components/Footer.js @@ -45,11 +45,7 @@ const Footer = () => { href: "https://docs.smswithoutborders.com/docs/iOS%20Tutorial/Getting-Started-With-iOS", external: true }, - { - label: t("Footer.GatewayClientSetup"), - href: "https://docs.smswithoutborders.com/docs/Gateway%20Clients%20Guide/GatewayClientsGuide", - external: true - }, + { label: t("Footer.Troubleshooting"), href: "https://docs.smswithoutborders.com/docs/Troubleshooting/Troubleshooting-FAQ", @@ -103,12 +99,12 @@ const Footer = () => { component="footer" dir={isRtl ? "rtl" : "ltr"} sx={{ - bgcolor: "#07080a", + bgcolor: "#000000", // color: "#ffffff", - py: { xs: 4, md: 6 }, + py: { xs: 8, md: 10 }, width: "100%", - borderTopLeftRadius: { xs: 28, md: 60 }, - borderTopRightRadius: { xs: 28, md: 60 }, + borderTopLeftRadius: { xs: 28, md: 80 }, + borderTopRightRadius: { xs: 28, md: 80 }, borderTop: "1px solid", borderColor: "divider", overflow: "hidden" @@ -176,7 +172,7 @@ const Footer = () => { variant="h6" sx={{ fontWeight: 600, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", mb: 3, fontSize: { xs: "1rem", md: "1.1rem" }, color: "#ffffff", diff --git a/src/Components/GettingStarted.js b/src/Components/GettingStarted.js index 544b1ac..b948c18 100644 --- a/src/Components/GettingStarted.js +++ b/src/Components/GettingStarted.js @@ -43,20 +43,11 @@ const MobileCarousel = ({ slides, t }) => { fontSize: "1.5rem", color: "text.primary", fontWeight: 700, - fontFamily: "'Unbounded', Ubuntu" + fontFamily: "'Unbounded'" }} > {t("Howitworks.Header", "Getting Started with RelaySMS")} - - {t( - "Howitworks.SubHeader", - "Learn how to set up and use RelaySMS for seamless offline communication." - )} - { component="img" src={s.image} alt={s.title} - sx={{ width: "70%", maxHeight: 260, objectFit: "contain", mb: 3 }} + sx={{ width: "75%", objectFit: "contain", mb: 3 }} /> { { { rel="noopener noreferrer" sx={{ textTransform: "none", - fontFamily: "Ubuntu", fontSize: "13px", alignSelf: "flex-start", color: "primary.light" @@ -231,39 +219,25 @@ const GettingStarted = () => { number: 1, title: t("Howitworks.Step1Title"), description: t("Howitworks.Step1Desc"), - image: "/Download-copy.png", + image: "/play-store.png", buttonText: t("Howitworks.Step1Button", "Download"), link: "/download" }, - // { - // number: 2, - // title: t("Howitworks.Step2Title"), - // description: t("Howitworks.Step2Desc"), - // image: "/Login-half.png", - // buttonText: t("Howitworks.Step2Button", "Learn More"), - // link: "https://docs.smswithoutborders.com/docs/Android%20Tutorial/Getting-Started-With-Android#step-2-create-an-account" - // }, + { number: 2, title: t("Howitworks.Step3Title"), description: t("Howitworks.Step3Desc"), - image: "/accounts-saved.png", + image: "/saved-accounts.png", buttonText: t("Howitworks.Step3Button", "Set Up Now"), link: "https://docs.smswithoutborders.com/docs/Android%20Tutorial/Getting-Started-With-Android#step-5-save-access-to-platforms" }, - // { - // number: 3, - // title: t("Howitworks.Step4Title"), - // description: t("Howitworks.Step4Desc"), - // image: "/Gateway-copy.png", - // buttonText: t("Howitworks.Step4Button", "Select a Gateway"), - // link: "https://docs.smswithoutborders.com/docs/Android%20Tutorial/Getting-Started-With-Android#step-6-choose-a-gateway-client" - // }, + { number: 3, title: t("Howitworks.Step5Title"), description: t("Howitworks.Step5Desc"), - image: "/compose (2).png", + image: "/compose-platform-select.png", buttonText: t("Howitworks.Step5Button", "Start Messaging"), link: "https://docs.smswithoutborders.com/docs/Android%20Tutorial/Getting-Started-With-Android#step-3-compose-your-message-and-send-as-sms" } @@ -331,36 +305,6 @@ const GettingStarted = () => { boxSizing: "border-box" }} > - - - {t("Howitworks.Header", "How to set up RelaySMS")} - - - {t( - "Howitworks.SubHeader", - "Do not wait for internet shutdowns to set up RelaySMS. Follow these steps to ensure you can stay connected when you need it most." - )} - - - { justifyContent: "center" }} > + + + {t("Howitworks.Header", "How to set up RelaySMS")} + + {slides.map((slide, index) => { const isActive = activeStep === index; return ( @@ -401,7 +358,7 @@ const GettingStarted = () => { { { sx={{ textTransform: "none", py: 0.75, - fontFamily: "Ubuntu", color: "primary.light" }} > @@ -459,7 +414,6 @@ const GettingStarted = () => { { sx={{ flex: 1, position: "relative", - height: "55vh" + height: "80vh" }} > {slides.map((slide, index) => ( @@ -513,23 +467,6 @@ const GettingStarted = () => { ))} - {/* - - */} diff --git a/src/Components/Hero.js b/src/Components/Hero.js index e7b76c8..f79e460 100644 --- a/src/Components/Hero.js +++ b/src/Components/Hero.js @@ -50,18 +50,27 @@ const Hero = () => { position: "relative", overflow: "hidden", textAlign: "center", - background: (theme) => - theme.palette.mode === "dark" - ? `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(77, 108, 192, 0.25) 0%, transparent 65%), - linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), - linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px)` - : `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(0,24,113,0.09) 0%, transparent 65%), - linear-gradient(rgba(0,24,113,0.05) 1px, transparent 1px), - linear-gradient(90deg, rgba(0,24,113,0.05) 1px, transparent 1px)`, - backgroundSize: "auto, 44px 44px, 44px 44px" + "&::before": { + content: '""', + position: "absolute", + inset: 0, + zIndex: 0, + pointerEvents: "none", + background: (theme) => + theme.palette.mode === "dark" + ? `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(77, 108, 192, 0.25) 0%, transparent 65%), + linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), + linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px)` + : `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(0,24,113,0.09) 0%, transparent 65%), + linear-gradient(rgba(0,24,113,0.05) 1px, transparent 1px), + linear-gradient(90deg, rgba(0,24,113,0.05) 1px, transparent 1px)`, + backgroundSize: "auto, 64px 64px, 64px 64px", + maskImage: "linear-gradient(to bottom, black 0%, black 75%, transparent 100%)", + WebkitMaskImage: "linear-gradient(to bottom, black 0%, black 75%, transparent 100%)" + } }} > - + { sx={{ mb: { xs: 2, md: 3, lg: 1 }, fontSize: { xs: "2rem", md: "2.5rem", lg: "2.5rem", xl: "3.8rem" }, + lineHeight: { xs: 1.4, md: 1.35 }, whiteSpace: "pre-wrap", fontWeight: 700, wordBreak: "break-word", - fontFamily: "'Unbounded', Ubuntu" + fontFamily: "'Unbounded'" }} gutterBottom > @@ -94,14 +104,13 @@ const Hero = () => { {t("Landing.h2")} @@ -111,7 +120,8 @@ const Hero = () => { display: "flex", flexDirection: { xs: "column", sm: "row" }, justifyContent: "center", - gap: 2, + alignItems: "center", + gap: { xs: 2, sm: 3 }, mt: { xs: 3, md: 3 }, mb: { xs: 2, md: 1 }, px: { xs: 2, md: 0 }, @@ -127,6 +137,10 @@ const Hero = () => { bgcolor: "primary.main", textTransform: "none", fontFamily: "Unbounded", + fontSize: "1rem", + px: 4, + py: 1.5, + borderRadius: "10px", transition: "all 0.3s ease-in-out", "&:hover": { transform: "translateY(-3px)" @@ -136,16 +150,22 @@ const Hero = () => { {t("Landing.Android")} - - - - - {t("About.WhoBuilt.Title", "The team behind RelaySMS?")} - - - {t( - "About.WhoBuilt.Description", - "RelaySMS is an SMSWithoutBorders project, built and maintained by the Afkanerd team with support from open-source contributors and partners. We accept and encourage contributions from the community to improve RelaySMS and expand its reach." - )} + {t("About.WhoBuilt.Title", "The team behind RelaySMS")} - - - - + {t( + "About.WhoBuilt.Description", + "RelaySMS is a tool under the SMSWithoutBorders (SWOB) project, built by Afkanerd — a team dedicated to researching, developing, and promoting secure, accessible communication tools that work even without an internet connection." + )} +
+ + {t( + "About.Origin.Description", + "In January 2017, the internet went dark across Cameroon's English-speaking regions for months. Caught in the blackout, our founder built an SMS-based way to reach the internet when there was none — the idea that grew into SMSWithoutBorders, and later, RelaySMS." + )} + + + + {orgLinks.map((link) => { + const { + labelKey, + labelDefault, + descriptionKey, + descriptionDefault, + href, + Icon, + image, + imageDark, + iconBg, + iconPadding + } = link; + return ( + + + {image ? ( + + ) : ( + + )} + + + + {t(labelKey, labelDefault)} + + + {t(descriptionKey, descriptionDefault)} + + + + + ); + })} + + - {t("About.Resources.Title", "Training Others, or Need a Hand Yourself?")} - - {t( - "About.Resources.Description", - "Whether you're teaching a community how to use RelaySMS or just need help getting set up yourself, we've put together guides and training material for that. We also publish technical papers on how RelaySMS works under the hood." + "About.Resources.Statement", + "Training people on RelaySMS, or need a hand getting started yourself? We've got guides, training material, and technical papers for that." )} diff --git a/src/Pages/Branding.js b/src/Pages/Branding.js index 125948c..257828d 100644 --- a/src/Pages/Branding.js +++ b/src/Pages/Branding.js @@ -387,7 +387,7 @@ bgcolor: asset.name.includes("White") ? undefined : "background.paper",
- + {t("Branding.guidelines.logoUsage")}{" "} {t("Branding.guidelines.logoUsageText")} diff --git a/src/Pages/Contact.js b/src/Pages/Contact.js index fa64e23..8694fa5 100644 --- a/src/Pages/Contact.js +++ b/src/Pages/Contact.js @@ -77,7 +77,7 @@ const Contact = () => { fontSize: { md: "2rem", xs: "1.5rem" }, color: "text.primary", fontWeight: 700, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", mt: { xs: 6, md: 0 } }} > @@ -199,7 +199,7 @@ const Contact = () => { sx={{ fontSize: { xs: "1.5rem", md: "1.9rem" }, fontWeight: 800, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", color: "text.primary", lineHeight: 1.25 }} @@ -210,7 +210,6 @@ const Contact = () => { sx={{ fontSize: { xs: "0.95rem", md: "1.05rem" }, color: "text.secondary", - fontFamily: "Ubuntu", maxWidth: 520, lineHeight: 1.75 }} @@ -227,7 +226,6 @@ const Contact = () => { sx={{ bgcolor: "primary.main", color: "#ffffff", - fontFamily: "Ubuntu", fontWeight: 600, fontSize: "1rem", textTransform: "none", diff --git a/src/Pages/Contributing.js b/src/Pages/Contributing.js index e423b14..482c449 100644 --- a/src/Pages/Contributing.js +++ b/src/Pages/Contributing.js @@ -185,7 +185,7 @@ const Contributing = () => { { textTransform: "none", borderRadius: 2, color: "text.primary", - borderColor: "divider", + borderColor: "divider" }} > {t("Blog.joinTelegram")} @@ -252,7 +252,7 @@ const Contributing = () => { { fontSize: "0.9rem", color: "text.primary", textDecoration: "none", - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", "&:hover": { color: "primary.main" } }} > @@ -479,7 +479,7 @@ const Contributing = () => { { top: 16, right: isRtl ? "unset" : 16, left: isRtl ? 16 : "unset", - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", fontWeight: 800, fontSize: "1.5rem", color: isDark ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.05)", @@ -545,7 +545,7 @@ const Contributing = () => { { ))} -{/* - - - - - {t("Contributing.GatewayClients.title")} - - - - - {t("Contributing.GatewayClients.description")} - - - - - */} {/* ── Join the Community ── */} @@ -690,7 +637,7 @@ const Contributing = () => { sx={{ fontSize: { xs: "1.5rem", md: "1.9rem" }, fontWeight: 800, - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", color: "text.primary", lineHeight: 1.25 }} @@ -701,7 +648,6 @@ const Contributing = () => { sx={{ fontSize: { xs: "0.95rem", md: "1.05rem" }, color: "text.secondary", - fontFamily: "Ubuntu", maxWidth: 520, lineHeight: 1.75 }} @@ -719,7 +665,6 @@ const Contributing = () => { sx={{ bgcolor: "primary.main", color: "#ffffff", - fontFamily: "Ubuntu", fontWeight: 600, fontSize: "1rem", textTransform: "none", diff --git a/src/Pages/Downlaod.js b/src/Pages/Downlaod.js index afd19d0..b2944a3 100644 --- a/src/Pages/Downlaod.js +++ b/src/Pages/Downlaod.js @@ -98,7 +98,7 @@ const Download = () => { sx={{ fontSize: { md: "2rem", xs: "1.5rem" }, color: "text.primary", - fontFamily: "'Unbounded', Ubuntu", + fontFamily: "'Unbounded'", mt: { xs: 6, md: 0 } }} > @@ -109,7 +109,6 @@ const Download = () => { sx={{ fontSize: "1.2rem", color: "text.secondary", - fontFamily: "Ubuntu", mt: 2 }} > @@ -177,7 +176,7 @@ const Download = () => { > {item.title} - + {item.description} @@ -185,7 +184,6 @@ const Download = () => { variant="contained" sx={{ fontSize: "0.9rem", - fontFamily: "Ubuntu", bgcolor: "secondary.main", color: "#fff", fontWeight: 400, @@ -257,7 +255,7 @@ const Download = () => { > {item.title} - + {item.description}
@@ -266,7 +264,6 @@ const Download = () => { sx={{ bgcolor: "primary.main", fontSize: "0.9rem", - fontFamily: "Ubuntu", color: "#fff", fontWeight: 400, textTransform: "none", diff --git a/src/Pages/NewsletterConfirmationError.js b/src/Pages/NewsletterConfirmationError.js index 105add4..1890975 100644 --- a/src/Pages/NewsletterConfirmationError.js +++ b/src/Pages/NewsletterConfirmationError.js @@ -46,7 +46,7 @@ const NewsletterConfirmationError = () => { { { { sx={{ background: (theme) => theme.palette.mode === "dark" - ? `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(77, 125, 192, 0.07) 0%, transparent 65%), - linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), - linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px)` + ? `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(77, 108, 192, 0.25) 0%, transparent 65%), + linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), + linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px)` : `radial-gradient(ellipse 90% 55% at 50% -10%, rgba(0,24,113,0.09) 0%, transparent 65%), linear-gradient(rgba(0,24,113,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,24,113,0.05) 1px, transparent 1px)`, - backgroundSize: "auto, 44px 44px, 44px 44px" + backgroundSize: "auto, 64px 64px, 64px 64px" }} > { fontSize: { xs: "2.5rem", sm: "3rem", md: "3rem" }, mb: 10, color: "text.primary", - fontFamily: "'Unbounded', Ubuntu" + fontFamily: "'Unbounded'" }} > {t("Overview.title")} @@ -130,8 +130,7 @@ const Overview = () => { md: "calc(100vh - 80px)" }, zIndex: 1200, - bgcolor: (theme) => - theme.palette.mode === "dark" ? "#000000" : "#f4f8ff", + bgcolor: (theme) => (theme.palette.mode === "dark" ? "#000000" : "#f4f8ff"), color: "text.primary", borderLeft: "1px solid", borderColor: "divider" @@ -144,7 +143,7 @@ const Overview = () => { }} > - + {drawerTitle ? t(`Overview.components.${drawerTitle}`, drawerTitle) : t("Overview.details")} diff --git a/src/Pages/PageNotFound.js b/src/Pages/PageNotFound.js index 6bf2afa..7e2aa9d 100644 --- a/src/Pages/PageNotFound.js +++ b/src/Pages/PageNotFound.js @@ -26,7 +26,7 @@ export default function PageNotFound() { fontSize: { xs: "8rem", sm: "12rem", md: "16rem" }, fontWeight: 900, lineHeight: 0.8, - fontFamily: "'Unbounded', 'Ubuntu', sans-serif", + fontFamily: "'Unbounded', sans-serif", mb: 6 }} > @@ -38,7 +38,7 @@ export default function PageNotFound() { sx={{ fontSize: { xs: "1.5rem", sm: "2rem", md: "2.5rem" }, fontWeight: 600, - fontFamily: "'Unbounded', 'Ubuntu', sans-serif", + fontFamily: "'Unbounded', sans-serif", mb: 2 }} > @@ -60,58 +60,36 @@ export default function PageNotFound() { )} - - - + + diff --git a/src/Pages/Resources.js b/src/Pages/Resources.js index 0368fe0..fa2bb5f 100644 --- a/src/Pages/Resources.js +++ b/src/Pages/Resources.js @@ -1,5 +1,5 @@ import React from "react"; -import { Box, Typography, Button, Paper } from "@mui/material"; +import { Box, Typography, Button, Paper, Stack } from "@mui/material"; import { FaExternalLinkAlt } from "react-icons/fa"; import { useTranslation } from "react-i18next"; import EnglishTrainingGuide from "../assets/RelaySMS Training Guide English New.pdf"; @@ -82,7 +82,7 @@ const Resources = () => { fontSize: { md: "2rem", xs: "1.5rem" }, color: "text.primary", fontWeight: 700, - fontFamily: "'Unbounded', Ubuntu" + fontFamily: "'Unbounded'" }} > {t("Resources.Title", "Resources")} @@ -105,149 +105,148 @@ const Resources = () => { - - {t("Resources.SelfHostingHeading", "Run Your Own Instance")} - - - - - - {t( - "Resources.SelfHostingDescription", - "RelaySMS is open source, and you don't have to depend on our servers to use it. Anyone can run their own Publisher instance — join the community keeping the network resilient and help more people stay connected during shutdowns." - )} - - - - - - - {t("Resources.PapersHeading", "Research Papers")} - + + + + + {t("Resources.SelfHostingHeading", "Run Your Own Instance")} + + + + {t( + "Resources.SelfHostingDescription", + "RelaySMS is open source, and you don't have to depend on our servers to use it. Anyone can run their own Publisher instance — join the community keeping the network resilient and help more people stay connected during shutdowns." + )} + + + + - - - - {t( - "Resources.PapersDescription", - "The RelaySMS team publishes white papers and technical write-ups on the project's architecture, protocols, and security design. Browse the latest papers on the SMSWithoutBorders research library." - )} - - - + + + {t("Resources.PapersHeading", "Research Papers")} + + + + {t( + "Resources.PapersDescription", + "The RelaySMS team publishes white papers and technical write-ups on the project's architecture, protocols, and security design. Browse the latest papers on the SMSWithoutBorders research library." + )} + + + + + diff --git a/src/index.js b/src/index.js index aef1e6e..99cc934 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ import React, { Suspense } from "react"; import ReactDOM from "react-dom/client"; +import "@fontsource-variable/mona-sans"; import "./App.css"; import "./index.css"; import App from "./App"; diff --git a/src/theme.js b/src/theme.js index 4b53f6e..5819d24 100644 --- a/src/theme.js +++ b/src/theme.js @@ -1,13 +1,13 @@ import { createTheme } from "@mui/material/styles"; const baseTypography = { - fontFamily: "Ubuntu, sans-serif", - h1: { fontFamily: "'Unbounded', Ubuntu, sans-serif" }, - h2: { fontFamily: "'Unbounded', Ubuntu, sans-serif" }, - h3: { fontFamily: "'Unbounded', Ubuntu, sans-serif" }, - h4: { fontFamily: "'Unbounded', Ubuntu, sans-serif" }, - h5: { fontFamily: "'Unbounded', Ubuntu, sans-serif" }, - h6: { fontFamily: "'Unbounded', Ubuntu, sans-serif" } + fontFamily: "'Mona Sans Variable', sans-serif", + h1: { fontFamily: "'Unbounded', sans-serif" }, + h2: { fontFamily: "'Unbounded', sans-serif" }, + h3: { fontFamily: "'Unbounded', sans-serif" }, + h4: { fontFamily: "'Unbounded', sans-serif" }, + h5: { fontFamily: "'Unbounded', sans-serif" }, + h6: { fontFamily: "'Unbounded', sans-serif" } }; export const lightTheme = createTheme({ @@ -40,9 +40,9 @@ export const darkTheme = createTheme({ palette: { mode: "dark", primary: { - main: "#213faa", + main: "#001871", light: "#4285F4", - dark: "#001871", + dark: "#000158", contrastText: "#ffffff" }, secondary: { @@ -50,8 +50,8 @@ export const darkTheme = createTheme({ contrastText: "#0e1117" }, background: { - default: "#0c0f13", - paper: "#0b0e11" + default: "#0d0e10", + paper: "#121314" }, text: { primary: "#e6e8ed", diff --git a/yarn.lock b/yarn.lock index e25fb37..ea49d34 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2166,6 +2166,13 @@ __metadata: languageName: node linkType: hard +"@fontsource-variable/mona-sans@npm:^5.3.0": + version: 5.3.0 + resolution: "@fontsource-variable/mona-sans@npm:5.3.0" + checksum: 10c0/0be6f5ea39d60267568a519ece0fe6af057a344007e982f9cf3ce5d7d7f407b27259a824903ed1812f92a8d929d25f059aab452e7d47b24e9d8bef07dee193b7 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.13.0": version: 0.13.0 resolution: "@humanwhocodes/config-array@npm:0.13.0" @@ -13110,6 +13117,7 @@ __metadata: "@craco/craco": "npm:^7.1.0" "@emotion/react": "npm:^11.14.0" "@emotion/styled": "npm:^11.14.0" + "@fontsource-variable/mona-sans": "npm:^5.3.0" "@mui/icons-material": "npm:^9.5.0" "@mui/material": "npm:^9.5.0" aos: "npm:^2.3.4"