diff --git a/components/MobileSidebar.tsx b/components/MobileSidebar.tsx index 8ad8678..39de85c 100644 --- a/components/MobileSidebar.tsx +++ b/components/MobileSidebar.tsx @@ -1,15 +1,20 @@ import { Sheet, + SheetClose, SheetContent, SheetTitle, SheetTrigger, } from "@/components/ui/sheet"; import Link from "next/link"; import { header } from "@/constants/header"; -import { IconMenu } from "@tabler/icons-react"; +import { IconArrowRight, IconMenu, IconX } from "@tabler/icons-react"; import { useTranslations } from "next-intl"; import Image from "next/image"; import { Button } from "@/components/ui/button"; +import { Separator } from "@/components/ui/separator"; +import * as SheetPrimitive from "@radix-ui/react-dialog"; +import * as React from "react"; +import { socialsLinks } from "@/constants/socials"; export const MobileSidebar = () => { const t = useTranslations("header"); @@ -19,28 +24,57 @@ export const MobileSidebar = () => { - - - Redot Engine Logo - Redot Engine + + +
+ Redot Engine Logo + + + Close + +
+
-
- {header.map((link) => ( - - {t(link.label)} - - ))} - +
+
+ {header.map((link) => ( + + + {t(link.label)} + {link.newTab && } + + + ))} +
+ +
+ + + + + + +
diff --git a/components/ui/sheet.tsx b/components/ui/sheet.tsx index 4ef05cb..c7d4448 100644 --- a/components/ui/sheet.tsx +++ b/components/ui/sheet.tsx @@ -3,7 +3,6 @@ import * as React from "react"; import * as SheetPrimitive from "@radix-ui/react-dialog"; import { cva, type VariantProps } from "class-variance-authority"; -import { X } from "lucide-react"; import { cn } from "@/lib/utils"; @@ -65,10 +64,6 @@ const SheetContent = React.forwardRef< {...props} > {children} - - - Close - )); diff --git a/locales/bg/translation.json b/locales/bg/translation.json index 109d0ff..c27de2b 100644 --- a/locales/bg/translation.json +++ b/locales/bg/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine сега е стабилен!" }, "downloadButton": "Изтегли", + "discordButton": "Присъединете се към Discord", "links": { "documentation": "Документация", "blog": "Блог", diff --git a/locales/cs/translation.json b/locales/cs/translation.json index f1e6184..2bde1a7 100644 --- a/locales/cs/translation.json +++ b/locales/cs/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine je nyní stabilní!" }, "downloadButton": "Stáhnout", + "discordButton": "Připojte se na Discord", "links": { "documentation": "Dokumentace", "blog": "Blog", diff --git a/locales/da/translation.json b/locales/da/translation.json index 4b473a8..d28435f 100644 --- a/locales/da/translation.json +++ b/locales/da/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine er nu stabil!" }, "downloadButton": "Download", + "discordButton": "Deltag i Discord", "links": { "documentation": "Dokumentation", "blog": "Blog", diff --git a/locales/de/translation.json b/locales/de/translation.json index f4e07c9..1860637 100644 --- a/locales/de/translation.json +++ b/locales/de/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine ist jetzt stabil!" }, "downloadButton": "Herunterladen", + "discordButton": "Tritt Discord bei", "links": { "documentation": "Dokumentation", "blog": "Blog", diff --git a/locales/el/translation.json b/locales/el/translation.json index 61884c7..72698b9 100644 --- a/locales/el/translation.json +++ b/locales/el/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Η Redot Engine είναι πλέον σταθερή!" }, "downloadButton": "Λήψη", + "discordButton": "Συμμετάσχετε στο Discord", "links": { "documentation": "Τεκμηρίωση", "blog": "Blog", diff --git a/locales/en-GB/translation.json b/locales/en-GB/translation.json index b21c126..74e053a 100644 --- a/locales/en-GB/translation.json +++ b/locales/en-GB/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine is now stable!" }, "downloadButton": "Download", + "discordButton": "Join Discord", "links": { "documentation": "Documentation", "blog": "Blog", diff --git a/locales/en/translation.json b/locales/en/translation.json index 2ccf3a8..238b9bd 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine is now stable!" }, "downloadButton": "Download", + "discordButton": "Join Discord", "links": { "documentation": "Documentation", "blog": "Blog", diff --git a/locales/es-LA/translation.json b/locales/es-LA/translation.json index 090800c..ce1a0d8 100644 --- a/locales/es-LA/translation.json +++ b/locales/es-LA/translation.json @@ -5,6 +5,7 @@ "mainMessage": "¡Redot Engine ya es estable!" }, "downloadButton": "Descargar", + "discordButton": "Únete a Discord", "links": { "documentation": "Documentación", "blog": "Blog", diff --git a/locales/es/translation.json b/locales/es/translation.json index cfcd7c1..7347c3e 100644 --- a/locales/es/translation.json +++ b/locales/es/translation.json @@ -5,6 +5,7 @@ "mainMessage": "¡Redot Engine ya es estable!" }, "downloadButton": "Descargar", + "discordButton": "Únete a Discord", "links": { "documentation": "Documentación", "blog": "Blog", diff --git a/locales/fi/translation.json b/locales/fi/translation.json index ab2f3a7..2d3c2a5 100644 --- a/locales/fi/translation.json +++ b/locales/fi/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine on nyt vakaa!" }, "downloadButton": "Lataa", + "discordButton": "Liity Discordiin", "links": { "documentation": "Dokumentaatio", "blog": "Blogi", diff --git a/locales/fr/translation.json b/locales/fr/translation.json index 5b37219..330906d 100644 --- a/locales/fr/translation.json +++ b/locales/fr/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine est maintenant stable !" }, "downloadButton": "Télécharger", + "discordButton": "Rejoignez Discord", "links": { "documentation": "Documentation", "blog": "Blog", diff --git a/locales/hi/translation.json b/locales/hi/translation.json index 91e154a..322b8a0 100644 --- a/locales/hi/translation.json +++ b/locales/hi/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine अब स्थिर है!" }, "downloadButton": "डाउनलोड", + "discordButton": "डिस्कॉर्ड से जुड़ें", "links": { "documentation": "दस्तावेज़", "blog": "ब्लॉग", diff --git a/locales/hr/translation.json b/locales/hr/translation.json index 1316f70..ffc086c 100644 --- a/locales/hr/translation.json +++ b/locales/hr/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine je sada stabilan!" }, "downloadButton": "Preuzmi", + "discordButton": "Pridružite se Discordu", "links": { "documentation": "Dokumentacija", "blog": "Blog", diff --git a/locales/hu/translation.json b/locales/hu/translation.json index ac9de78..85d1e05 100644 --- a/locales/hu/translation.json +++ b/locales/hu/translation.json @@ -5,6 +5,7 @@ "mainMessage": "A Redot Engine most stabil!" }, "downloadButton": "Letöltés", + "discordButton": "Csatlakozz a Discordhoz", "links": { "documentation": "Dokumentáció", "blog": "Blog", diff --git a/locales/it/translation.json b/locales/it/translation.json index abb2477..778f5d6 100644 --- a/locales/it/translation.json +++ b/locales/it/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine è ora stabile!" }, "downloadButton": "Scarica", + "discordButton": "Unisciti a Discord", "links": { "documentation": "Documentazione", "blog": "Blog", diff --git a/locales/ja/translation.json b/locales/ja/translation.json index c2c10d5..8e900b5 100644 --- a/locales/ja/translation.json +++ b/locales/ja/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engineは現在安定版です!" }, "downloadButton": "ダウンロード", + "discordButton": "Discordに参加する", "links": { "documentation": "ドキュメント", "blog": "ブログ", diff --git a/locales/ko/translation.json b/locales/ko/translation.json index d918a25..f11832d 100644 --- a/locales/ko/translation.json +++ b/locales/ko/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine이 이제 안정적입니다!" }, "downloadButton": "다운로드", + "discordButton": "Discord에 참여하기", "links": { "documentation": "문서", "blog": "블로그", diff --git a/locales/lt/translation.json b/locales/lt/translation.json index e6ce613..f611566 100644 --- a/locales/lt/translation.json +++ b/locales/lt/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine dabar stabilus!" }, "downloadButton": "Atsisiųsti", + "discordButton": "Prisijunkite prie Discord", "links": { "documentation": "Dokumentacija", "blog": "Blogas", diff --git a/locales/nl/translation.json b/locales/nl/translation.json index 71532bd..b81d1a6 100644 --- a/locales/nl/translation.json +++ b/locales/nl/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine is nu stabiel!" }, "downloadButton": "Downloaden", + "discordButton": "Word lid van Discord", "links": { "documentation": "Documentatie", "blog": "Blog", diff --git a/locales/no/translation.json b/locales/no/translation.json index d67e713..6510d03 100644 --- a/locales/no/translation.json +++ b/locales/no/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine er nå stabil!" }, "downloadButton": "Last ned", + "discordButton": "Bli med i Discord", "links": { "documentation": "Dokumentasjon", "blog": "Blogg", diff --git a/locales/pl/translation.json b/locales/pl/translation.json index cad3e62..db2a71f 100644 --- a/locales/pl/translation.json +++ b/locales/pl/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine jest teraz stabilne!" }, "downloadButton": "Pobierz", + "discordButton": "Dołącz do Discorda", "links": { "documentation": "Dokumentacja", "blog": "Blog", diff --git a/locales/pt-BR/translation.json b/locales/pt-BR/translation.json index f751064..2b5ecb0 100644 --- a/locales/pt-BR/translation.json +++ b/locales/pt-BR/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine agora está estável!" }, "downloadButton": "Baixar", + "discordButton": "Junte-se ao Discord", "links": { "documentation": "Documentação", "blog": "Blog", diff --git a/locales/ro/translation.json b/locales/ro/translation.json index 64255a7..266955b 100644 --- a/locales/ro/translation.json +++ b/locales/ro/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine este acum stabil!" }, "downloadButton": "Descarcă", + "discordButton": "Alăturați-vă Discord", "links": { "documentation": "Documentație", "blog": "Blog", diff --git a/locales/ru/translation.json b/locales/ru/translation.json index 371e5e8..8aa473f 100644 --- a/locales/ru/translation.json +++ b/locales/ru/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine теперь стабильна!" }, "downloadButton": "Скачать", + "discordButton": "Присоединяйтесь к Discord", "links": { "documentation": "Документация", "blog": "Блог", diff --git a/locales/sv/translation.json b/locales/sv/translation.json index dd8edef..aecc1fb 100644 --- a/locales/sv/translation.json +++ b/locales/sv/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine är nu stabil!" }, "downloadButton": "Ladda ner", + "discordButton": "Gå med i Discord", "links": { "documentation": "Dokumentation", "blog": "Blogg", diff --git a/locales/th/translation.json b/locales/th/translation.json index 3adb0d1..5ad2fb7 100644 --- a/locales/th/translation.json +++ b/locales/th/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine ตอนนี้เสถียรแล้ว!" }, "downloadButton": "ดาวน์โหลด", + "discordButton": "เข้าร่วม Discord", "links": { "documentation": "เอกสาร", "blog": "บล็อก", diff --git a/locales/tr/translation.json b/locales/tr/translation.json index 90158b0..8d6e760 100644 --- a/locales/tr/translation.json +++ b/locales/tr/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine artık stabil!" }, "downloadButton": "İndir", + "discordButton": "Discord'a Katıl", "links": { "documentation": "Dokümantasyon", "blog": "Blog", diff --git a/locales/uk/translation.json b/locales/uk/translation.json index 6c137de..cc4f003 100644 --- a/locales/uk/translation.json +++ b/locales/uk/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine тепер стабільний!" }, "downloadButton": "Завантажити", + "discordButton": "Приєднуйтесь до Discord", "links": { "documentation": "Документація", "blog": "Блог", diff --git a/locales/vi/translation.json b/locales/vi/translation.json index f6bd341..c6e3e57 100644 --- a/locales/vi/translation.json +++ b/locales/vi/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine hiện đã ổn định!" }, "downloadButton": "Tải xuống", + "discordButton": "Tham gia Discord", "links": { "documentation": "Tài liệu", "blog": "Blog", diff --git a/locales/zh-Hans/translation.json b/locales/zh-Hans/translation.json index 8ee4055..ad53036 100644 --- a/locales/zh-Hans/translation.json +++ b/locales/zh-Hans/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine 现已稳定!" }, "downloadButton": "下载", + "discordButton": "加入 Discord", "links": { "documentation": "文档", "blog": "博客", diff --git a/locales/zh-TW/translation.json b/locales/zh-TW/translation.json index 8a287fe..da00443 100644 --- a/locales/zh-TW/translation.json +++ b/locales/zh-TW/translation.json @@ -5,6 +5,7 @@ "mainMessage": "Redot Engine 現已穩定!" }, "downloadButton": "下載", + "discordButton": "加入 Discord", "links": { "documentation": "文件", "blog": "部落格", diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 0000000..57a3e7c --- /dev/null +++ b/public/logo.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/logo_large.svg b/public/logo_large.svg new file mode 100644 index 0000000..798620d --- /dev/null +++ b/public/logo_large.svg @@ -0,0 +1,7 @@ + + + + + + +