From f41a4220ddf4d688c9b10e279795e66436ad258a Mon Sep 17 00:00:00 2001 From: Vitor Date: Fri, 23 Jun 2023 14:06:49 -0300 Subject: [PATCH] feat: add discord pill to main page --- app/(general)/page.tsx | 14 +++++++++++--- components/layout/dashboard-footer.tsx | 8 +++++--- components/layout/footer.tsx | 8 +++++--- config/site.ts | 2 ++ 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/app/(general)/page.tsx b/app/(general)/page.tsx index a7e937d4..bfb01fa3 100644 --- a/app/(general)/page.tsx +++ b/app/(general)/page.tsx @@ -2,7 +2,7 @@ import { motion } from 'framer-motion' import Image from 'next/image' -import { FaGithub } from 'react-icons/fa' +import { FaDiscord, FaGithub } from 'react-icons/fa' import Balancer from 'react-wrap-balancer' import { WalletAddress } from '@/components/blockchain/wallet-address' @@ -51,7 +51,7 @@ export default function Home() { {siteConfig.description} - +

Star on GitHub

+ + +

Join us on Discord

+
⚡️TurboETH is in active development.
diff --git a/components/layout/dashboard-footer.tsx b/components/layout/dashboard-footer.tsx index 4af77e00..7a66333a 100644 --- a/components/layout/dashboard-footer.tsx +++ b/components/layout/dashboard-footer.tsx @@ -1,6 +1,6 @@ import { HTMLAttributes } from 'react' -import { FaGithub, FaTwitter } from 'react-icons/fa' +import { FaDiscord, FaGithub, FaTwitter } from 'react-icons/fa' import { siteConfig } from '@/config/site' import { cn } from '@/lib/utils' @@ -16,14 +16,16 @@ export function DashboardFooter({ className, ...props }: HTMLAttributes Built by District Labs -
+
-
+ + +
) diff --git a/components/layout/footer.tsx b/components/layout/footer.tsx index 86669d71..23198fa4 100644 --- a/components/layout/footer.tsx +++ b/components/layout/footer.tsx @@ -1,6 +1,6 @@ import { HTMLAttributes } from 'react' -import { FaGithub, FaTwitter } from 'react-icons/fa' +import { FaDiscord, FaGithub, FaTwitter } from 'react-icons/fa' import { siteConfig } from '@/config/site' import { cn } from '@/lib/utils' @@ -16,14 +16,16 @@ export function Footer({ className, ...props }: HTMLAttributes) { Built by District Labs -
+
-
+ + +
) diff --git a/config/site.ts b/config/site.ts index 7ed03f83..f57b60f8 100644 --- a/config/site.ts +++ b/config/site.ts @@ -9,6 +9,7 @@ interface SiteConfig { previewImg: string localeDefault: string links: { + discord: string twitter: string github: string } @@ -24,6 +25,7 @@ export const siteConfig: SiteConfig = { previewImg: `${SITE_CANONICAL}/preview.png`, localeDefault: 'en', links: { + discord: 'https://discord.gg/U4jy7Xfh76', twitter: 'https://twitter.com/district_labs', github: 'https://github.com/turbo-eth', },