Skip to content

Commit

Permalink
removed discord cta (#6259)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiselleNessi authored Feb 25, 2025
1 parent 5612542 commit 72c3499
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 66 deletions.
7 changes: 4 additions & 3 deletions .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ To get started, read the [How this repo works](#how-this-repo-works) section bel

From there, you can take a look at our [Good First Issues](https://github.com/thirdweb-dev/js/labels/good%20first%20issue) board and find an issue that interests you!

If you have any questions about the issue, feel free to ask on our [Discord server](https://discord.gg/thirdweb) in the `#contributors` channel; where you'll be able to get help from our team and other contributors.

<br />

## How this repo works
Expand Down Expand Up @@ -85,7 +83,10 @@ If your test depends on a downstream network call, you must mock the call using
import { setupServer } from "msw/node";
import { downloadMock, uploadMock } from "../../../test/src/mocks/storage.js";

const server = setupServer(uploadMock("HASH"), downloadMock({ name: "Test NFT" }));
const server = setupServer(
uploadMock("HASH"),
downloadMock({ name: "Test NFT" })
);

beforeAll(() => server.listen());
afterEach(() => server.resetHandlers());
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
</a>
<a href="https://discord.gg/thirdweb">
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
</a>
</p>

<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
Expand Down
6 changes: 0 additions & 6 deletions apps/dashboard/src/@/components/blocks/app-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import { ThirdwebMiniLogo } from "app/components/ThirdwebMiniLogo";
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
import { GithubIcon } from "components/icons/brand-icons/GithubIcon";
import { InstagramIcon } from "components/icons/brand-icons/InstagramIcon";
import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon";
Expand Down Expand Up @@ -61,11 +60,6 @@ export function AppFooter(props: AppFooterProps) {
<YoutubeIcon className="size-5 text-muted-foreground" />
</Link>
</Button>
<Button size="icon" variant="ghost" asChild className="size-9">
<Link href="https://discord.gg/thirdweb" target="_blank">
<DiscordIcon className="size-5 text-muted-foreground" />
</Link>
</Button>
<Button size="icon" variant="ghost" asChild className="size-9">
<Link href="https://www.reddit.com/r/thirdweb/" target="_blank">
<RedditIcon className="size-5 text-muted-foreground" />
Expand Down
47 changes: 1 addition & 46 deletions apps/dashboard/src/app/(dashboard)/support/page.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { BookOpenIcon, ChevronRightIcon } from "lucide-react";
import type { Metadata } from "next";
import Image from "next/image";
import Link from "next/link";
import accountIcon from "../../../../public/assets/support/account.svg";
import contractsIcon from "../../../../public/assets/support/contracts.png";
import discordIllustration from "../../../../public/assets/support/discord-illustration.png";
import engineIcon from "../../../../public/assets/support/engine.png";
import miscIcon from "../../../../public/assets/support/misc.svg";
import connectIcon from "../../../../public/assets/support/wallets.png";
Expand Down Expand Up @@ -193,43 +185,6 @@ export default function SupportPage() {
))}
</div>
</section>
<div className="container">
<Card className="flex flex-row items-center justify-between gap-4 border-[#5865F2] bg-[#5865F2]/20">
<div className="flex flex-col gap-2">
<CardHeader>
<CardTitle className="font-bold text-3xl">
Discord Community
</CardTitle>
</CardHeader>
<CardContent className="flex flex-col gap-6">
<p className="text-balance">
Join our Discord community to connect with other thirdweb
developers, ask questions, and get help.
</p>
<Button
className="mr-auto flex flex-row gap-2 bg-[#5865F2] text-white hover:bg-[#5865F2]/80"
asChild
>
<Link href="https://discord.gg/thirdweb">
<DiscordIcon className="size-4" />
<span>Join Discord</span>
</Link>
</Button>
</CardContent>
<CardFooter>
<p className="text-muted-foreground text-sm italic">
Please note that our Discord server is managed by our community
moderators and does not offer official support.
</p>
</CardFooter>
</div>
<Image
src={discordIllustration}
alt="discord illustration"
className="ml-auto hidden max-w-64 object-cover p-6 md:block"
/>
</Card>
</div>
</main>
);
}
7 changes: 0 additions & 7 deletions apps/dashboard/src/components/footer/socialLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
import { GithubIcon } from "components/icons/brand-icons/GithubIcon";
import { InstagramIcon } from "components/icons/brand-icons/InstagramIcon";
import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon";
Expand All @@ -21,12 +20,6 @@ export const SOCIALS: socialLinkInfo[] = [
icon: <XIcon className="size-5" />,
ariaLabel: "Twitter",
},
{
icon: <DiscordIcon className="size-5" />,
ariaLabel: "Discord",
label: "discord",
link: "https://discord.gg/thirdweb",
},
{
link: "https://www.youtube.com/channel/UCdzMx7Zhy5va5End1-XJFbA",
ariaLabel: "YouTube",
Expand Down
1 change: 0 additions & 1 deletion packages/thirdweb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<p align="center">
<a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a>
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml"><img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/></a>
<a href="https://discord.gg/thirdweb"><img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/></a>
</p>
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>

Expand Down

0 comments on commit 72c3499

Please sign in to comment.