chore: replace slack with discord (#9900)

* chore: replace slack with discord

* fix: add slack again to avoid braking code

* chore: update readme.md

* chore: update 404

* Update packages/lib/constants.ts

* chore: add discord svg and update 404

* chore: delete svg and shift to code

---------

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-07-04 22:11:10 +00:00
1 parent 878a7cbfc5
commit 6bd97065e6
32 files changed
+59 -45

No files matched your search

+22 -8
View File
@@ -4,10 +4,10 @@ import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import { orgDomainConfig, subdomainSuffix } from "@calcom/features/ee/organizations/lib/orgDomains";
import { DOCS_URL, JOIN_SLACK, WEBSITE_URL } from "@calcom/lib/constants";
import { DOCS_URL, JOIN_DISCORD, WEBSITE_URL } from "@calcom/lib/constants";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { HeadSeo } from "@calcom/ui";
import { BookOpen, Check, ChevronRight, FileText, Slack, Shield } from "@calcom/ui/components/icon";
import { BookOpen, Check, ChevronRight, FileText, Shield } from "@calcom/ui/components/icon";
import PageWrapper from "@components/PageWrapper";
@@ -197,18 +197,25 @@ export default function Custom404() {
</li>
<li className="px-4 py-2">
<a
href={JOIN_SLACK}
href={JOIN_DISCORD}
className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">
<div className="flex-shrink-0">
<span className="bg-muted flex h-12 w-12 items-center justify-center rounded-lg">
<Slack strokeWidth="1.5" fill="currentColor" className="h-6 w-6" />
<svg
className="text-default h-6 w-6"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 127.14 96.36">
<title>Discord Logo</title>
<path d="M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z" />
</svg>
</span>
</div>
<div className="min-w-0 flex-1">
<h3 className="text-emphasis text-base font-medium">
<span className="focus-within:ring-empthasis rounded-sm focus-within:ring-2 focus-within:ring-offset-2">
<span className="absolute inset-0" aria-hidden="true" />
Slack
Discord
</span>
</h3>
<p className="text-subtle text-base">{t("join_our_community")}</p>
@@ -335,18 +342,25 @@ export default function Custom404() {
))}
<li className="px-4 py-2">
<a
href={JOIN_SLACK}
href={JOIN_DISCORD}
className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">
<div className="flex-shrink-0">
<span className="bg-muted flex h-12 w-12 items-center justify-center rounded-lg">
<Slack strokeWidth="1.5" fill="currentColor" className="h-6 w-6" />
<svg
className="text-default h-6 w-6"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 127.14 96.36">
<title>Discord Logo</title>
<path d="M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z" />
</svg>
</span>
</div>
<div className="min-w-0 flex-1">
<h3 className="text-emphasis text-base font-medium">
<span className="focus-within:ring-empthasis rounded-sm focus-within:ring-2 focus-within:ring-offset-2">
<span className="absolute inset-0" aria-hidden="true" />
Slack
Discord
</span>
</h3>
<p className="text-subtle text-base">{t("join_our_community")}</p>
@@ -181,7 +181,7 @@
"blog": "المدونة",
"blog_description": "اقرأ أحدث أخبارنا ومقالاتنا",
"join_our_community": "انضم إلى مجتمعنا",
"join_our_slack": "انضم إلى Slack الخاص بنا",
"join_our_discord": "انضم إلى Discord الخاص بنا",
"404_claim_entity_user": "احصل على اسم المستخدم وقم بجدولة الأحداث",
"popular_pages": "الصفحات الشائعة",
"register_now": "التسجيل الآن",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Přečtěte si naše nejnovější novinky a články",
"join_our_community": "Připojte se k naší komunitě",
"join_our_slack": "Připojte se k našemu Slacku",
"join_our_discord": "Připojte se k našemu Discordu",
"404_claim_entity_user": "Nárokujte si své uživatelské jméno a plánujte události",
"popular_pages": "Oblíbené stránky",
"register_now": "Zaregistrovat se nyní",
@@ -174,7 +174,7 @@
"blog": "Blog",
"blog_description": "Læs vores seneste nyheder og artikler",
"join_our_community": "Tilmeld dig vores fællesskab",
"join_our_slack": "Tilmeld dig vores Slack",
"join_our_discord": "Tilmeld dig vores Discord",
"404_claim_entity_user": "Få dit brugernavn og planlæg begivenheder",
"popular_pages": "Populære sider",
"register_now": "Tilmeld dig nu",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Lesen Sie unsere Neuigkeiten und Artikel",
"join_our_community": "Treten Sie unserer Community bei",
"join_our_slack": "Treten Sie unserem Slack bei",
"join_our_discord": "Treten Sie unserem Disord bei",
"404_claim_entity_user": "Benutzername registrieren und Termine vergeben",
"popular_pages": "Beliebte Seiten",
"register_now": "Jetzt registrieren",
@@ -197,7 +197,7 @@
"blog": "Blog",
"blog_description": "Read our latest news and articles",
"join_our_community": "Join our community",
"join_our_slack": "Join our Slack",
"join_our_discord": "Join our Discord",
"404_claim_entity_user": "Claim your username and schedule events",
"popular_pages": "Popular pages",
"register_now": "Register now",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Lee nuestras últimas noticias y artículos",
"join_our_community": "Únete a nuestra comunidad",
"join_our_slack": "Únete a nuestro Slack",
"join_our_discord": "Únete a nuestro Discord",
"404_claim_entity_user": "Reclama tu nombre de usuario y programa eventos",
"popular_pages": "Páginas Populares",
"register_now": "Regístrate Ahora",
@@ -197,7 +197,7 @@
"blog": "Blog",
"blog_description": "Lire nos dernières actualités et articles",
"join_our_community": "Rejoignez notre communauté",
"join_our_slack": "Rejoindre notre Slack",
"join_our_discord": "Rejoindre notre Discord",
"404_claim_entity_user": "Réservez votre nom d'utilisateur et planifiez des événements",
"popular_pages": "Pages populaires",
"register_now": "S'inscrire maintenant",
@@ -188,7 +188,7 @@
"blog": "בלוג",
"blog_description": "לעיון בחדשות ובמאמרים האחרונים שלנו",
"join_our_community": "הצטרף לקהילה שלנו",
"join_our_slack": "הצטרף לצ׳אט שלנו ב-Slack",
"join_our_discord": "הצטרף לצ׳אט שלנו ב-Discord",
"404_claim_entity_user": "קבל את שם המשתמש שלך והתחל לקבוע מועדים לאירועים",
"popular_pages": "דפים פופולריים",
"register_now": "להירשם עכשיו",
@@ -170,7 +170,7 @@
"blog": "Blog",
"blog_description": "Pročitajte naše najnovije vijesti i članke",
"join_our_community": "Pridružite se našoj zajednici",
"join_our_slack": "Pridružite se na naš Slack",
"join_our_discord": "Pridružite se na naš Discord",
"404_claim_entity_user": "Zatražite svoje korisničko ime i zakažite događaje",
"popular_pages": "Popularne stranice",
"register_now": "Registriraj se sad",
@@ -189,7 +189,7 @@
"blog": "Blog",
"blog_description": "Leggi le nostre ultime notizie e articoli",
"join_our_community": "Unisciti alla nostra community",
"join_our_slack": "Unisciti al nostro Slack",
"join_our_discord": "Unisciti al nostro Discord",
"404_claim_entity_user": "Richiedi il tuo nome utente e pianifica eventi",
"popular_pages": "Pagine popolari",
"register_now": "Registrati ora",
@@ -181,7 +181,7 @@
"blog": "ブログ",
"blog_description": "最新のニュースや記事を読む",
"join_our_community": "コミュニティーに参加する",
"join_our_slack": "Slack に参加する",
"join_our_discord": "Discord に参加する",
"404_claim_entity_user": "ユーザー名を獲得してイベントをスケジュールする",
"popular_pages": "人気のページ",
"register_now": "今すぐ登録",
@@ -182,7 +182,7 @@
"blog": "블로그",
"blog_description": "최신 뉴스 및 기사 읽기",
"join_our_community": "커뮤니티 가입하기",
"join_our_slack": "슬랙 가입하기",
"join_our_discord": "슬랙 가입하기",
"404_claim_entity_user": "사용자 이름을 입력하고 이벤트를 만드세요.",
"popular_pages": "인기 페이지",
"register_now": "지금 등록하세요",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Lees ons laatste nieuws en artikelen",
"join_our_community": "Word lid van onze community",
"join_our_slack": "Bezoek onze Slack",
"join_our_discord": "Bezoek onze Discord",
"404_claim_entity_user": "Claim uw gebruikersnaam en plan evenementen",
"popular_pages": "Populaire pagina's",
"register_now": "Registreer nu",
@@ -171,7 +171,7 @@
"blog": "Blogg",
"blog_description": "Les våre siste nyheter og artikler",
"join_our_community": "Bli med i fellesskapet vårt",
"join_our_slack": "Bli med i vår Slack",
"join_our_discord": "Bli med i vår Discord",
"404_claim_entity_user": "Velg brukernavnet ditt og planlegg hendelser",
"popular_pages": "Populære sider",
"register_now": "Registrer deg nå",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Przeczytaj nasze najnowsze wiadomości i artykuły",
"join_our_community": "Dołącz do naszej społeczności",
"join_our_slack": "Dołącz do naszego Slack",
"join_our_discord": "Dołącz do naszego Discord",
"404_claim_entity_user": "Odbierz swoją nazwę użytkownika i harmonogram wydarzeń",
"popular_pages": "Popularne strony",
"register_now": "Załóż konto teraz",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Leia as nossas últimas notícias e artigos",
"join_our_community": "Junte-se à nossa comunidade",
"join_our_slack": "Junte-se ao nosso Slack",
"join_our_discord": "Junte-se ao nosso Discord",
"404_claim_entity_user": "Obtenha o seu nome de usuário e agende eventos",
"popular_pages": "Páginas populares",
"register_now": "Inscreva-se agora",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Leia as nossas últimas notícias e artigos",
"join_our_community": "Junte-se à nossa comunidade",
"join_our_slack": "Junte-se ao nosso Slack",
"join_our_discord": "Junte-se ao nosso Discord",
"404_claim_entity_user": "Obtenha o seu nome de utilizador e agende eventos",
"popular_pages": "Páginas populares",
"register_now": "Registe-se Agora",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Citește cele mai recente noutăți și articole",
"join_our_community": "Alătură-te comunității noastre",
"join_our_slack": "Alătură-te Slack-ului nostru",
"join_our_discord": "Alătură-te Discord-ului nostru",
"404_claim_entity_user": "Revendică-ți numele de utilizator și programul evenimentelor",
"popular_pages": "Pagini populare",
"register_now": "Înregistrează-te acum",
@@ -181,7 +181,7 @@
"blog": "Блог",
"blog_description": "Прочитайте наши последние новости и статьи",
"join_our_community": "Присоединяйтесь к нашему сообществу",
"join_our_slack": "Присоединяйтесь к нашему Slack",
"join_our_discord": "Присоединяйтесь к нашему Discord",
"404_claim_entity_user": "Забронируйте своё имя пользователя и начните планировать встречи",
"popular_pages": "Популярные страницы",
"register_now": "Зарегистрироваться",
@@ -188,7 +188,7 @@
"blog": "Blog",
"blog_description": "Pročitajte naše najnovije vesti i članke",
"join_our_community": "Pridružite se našoj zajednici",
"join_our_slack": "Pridružite se na naš Slack",
"join_our_discord": "Pridružite se na naš Discord",
"404_claim_entity_user": "Zatražite svoje korisničko ime i zakažite događaje",
"popular_pages": "Popularne stranice",
"register_now": "Registrujte se sad",
@@ -181,7 +181,7 @@
"blog": "Blogg",
"blog_description": "Läs våra senaste nyheter och artiklar",
"join_our_community": "Gå med i vårt community",
"join_our_slack": "Gå med i vår Slack",
"join_our_discord": "Gå med i vår Discord",
"404_claim_entity_user": "Tjinga ditt användarnamn och schemalägga händelser",
"popular_pages": "Populära sidor",
"register_now": "Registrera dig nu",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "En yeni haber ve makalelerimizi okuyun",
"join_our_community": "Topluluğumuza katılın",
"join_our_slack": "Slack'imize katılın",
"join_our_discord": "Discord'imize katılın",
"404_claim_entity_user": "Kullanıcı adınızı alın ve etkinlikler planlayın",
"popular_pages": "Popüler sayfalar",
"register_now": "Hemen kaydol",
@@ -181,7 +181,7 @@
"blog": "Блог",
"blog_description": "Читайте наші останні новини та статті",
"join_our_community": "Долучайтеся до нашої спільноти",
"join_our_slack": "Приєднуйтеся до нас у Slack",
"join_our_discord": "Приєднуйтеся до нас у Discord",
"404_claim_entity_user": "Виберіть собі ім’я користувача та почніть планувати заходи",
"popular_pages": "Популярні сторінки",
"register_now": "Зареєструватися",
@@ -181,7 +181,7 @@
"blog": "Blog",
"blog_description": "Đọc tin tức và bài báo mới nhất của chúng tôi",
"join_our_community": "Tham gia cộng đồng của chúng tôi",
"join_our_slack": "Tham gia cộng đồng Slack của chúng tôi",
"join_our_discord": "Tham gia cộng đồng Discord của chúng tôi",
"404_claim_entity_user": "Lấy tên người dùng của bạn và lên lịch sự kiện",
"popular_pages": "Các trang phổ biến",
"register_now": "Đăng ký ngay",
@@ -181,7 +181,7 @@
"blog": "博客",
"blog_description": "阅读我们的最新消息和文章",
"join_our_community": "加入我们的社区",
"join_our_slack": "加入我们的Slack",
"join_our_discord": "加入我们的Discord",
"404_claim_entity_user": "确认您的用户名和日程安排",
"popular_pages": "热门页面",
"register_now": "立即注册",
@@ -181,7 +181,7 @@
"blog": "部落格",
"blog_description": "閱讀最新消息與文章",
"join_our_community": "加入社群",
"join_our_slack": "加入 Slack",
"join_our_discord": "加入 Discord",
"404_claim_entity_user": "領取使用者名稱,就可以預定活動",
"popular_pages": "人氣頁面",
"register_now": "立即註冊",