Skip to content

Commit 72c3499

Browse files
authored
removed discord cta (#6259)
1 parent 5612542 commit 72c3499

File tree

6 files changed

+5
-66
lines changed

6 files changed

+5
-66
lines changed

.github/contributing.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ To get started, read the [How this repo works](#how-this-repo-works) section bel
66

77
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!
88

9-
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.
10-
119
<br />
1210

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

88-
const server = setupServer(uploadMock("HASH"), downloadMock({ name: "Test NFT" }));
86+
const server = setupServer(
87+
uploadMock("HASH"),
88+
downloadMock({ name: "Test NFT" })
89+
);
8990

9091
beforeAll(() => server.listen());
9192
afterEach(() => server.resetHandlers());

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
1212
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
1313
</a>
14-
<a href="https://discord.gg/thirdweb">
15-
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
16-
</a>
1714
</p>
1815

1916
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>

apps/dashboard/src/@/components/blocks/app-footer.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Button } from "@/components/ui/button";
22
import { cn } from "@/lib/utils";
33
import { ThirdwebMiniLogo } from "app/components/ThirdwebMiniLogo";
4-
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
54
import { GithubIcon } from "components/icons/brand-icons/GithubIcon";
65
import { InstagramIcon } from "components/icons/brand-icons/InstagramIcon";
76
import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon";
@@ -61,11 +60,6 @@ export function AppFooter(props: AppFooterProps) {
6160
<YoutubeIcon className="size-5 text-muted-foreground" />
6261
</Link>
6362
</Button>
64-
<Button size="icon" variant="ghost" asChild className="size-9">
65-
<Link href="https://discord.gg/thirdweb" target="_blank">
66-
<DiscordIcon className="size-5 text-muted-foreground" />
67-
</Link>
68-
</Button>
6963
<Button size="icon" variant="ghost" asChild className="size-9">
7064
<Link href="https://www.reddit.com/r/thirdweb/" target="_blank">
7165
<RedditIcon className="size-5 text-muted-foreground" />

apps/dashboard/src/app/(dashboard)/support/page.tsx

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
import { Button } from "@/components/ui/button";
2-
import {
3-
Card,
4-
CardContent,
5-
CardFooter,
6-
CardHeader,
7-
CardTitle,
8-
} from "@/components/ui/card";
9-
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
2+
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
103
import { BookOpenIcon, ChevronRightIcon } from "lucide-react";
114
import type { Metadata } from "next";
125
import Image from "next/image";
136
import Link from "next/link";
147
import accountIcon from "../../../../public/assets/support/account.svg";
158
import contractsIcon from "../../../../public/assets/support/contracts.png";
16-
import discordIllustration from "../../../../public/assets/support/discord-illustration.png";
179
import engineIcon from "../../../../public/assets/support/engine.png";
1810
import miscIcon from "../../../../public/assets/support/misc.svg";
1911
import connectIcon from "../../../../public/assets/support/wallets.png";
@@ -193,43 +185,6 @@ export default function SupportPage() {
193185
))}
194186
</div>
195187
</section>
196-
<div className="container">
197-
<Card className="flex flex-row items-center justify-between gap-4 border-[#5865F2] bg-[#5865F2]/20">
198-
<div className="flex flex-col gap-2">
199-
<CardHeader>
200-
<CardTitle className="font-bold text-3xl">
201-
Discord Community
202-
</CardTitle>
203-
</CardHeader>
204-
<CardContent className="flex flex-col gap-6">
205-
<p className="text-balance">
206-
Join our Discord community to connect with other thirdweb
207-
developers, ask questions, and get help.
208-
</p>
209-
<Button
210-
className="mr-auto flex flex-row gap-2 bg-[#5865F2] text-white hover:bg-[#5865F2]/80"
211-
asChild
212-
>
213-
<Link href="https://discord.gg/thirdweb">
214-
<DiscordIcon className="size-4" />
215-
<span>Join Discord</span>
216-
</Link>
217-
</Button>
218-
</CardContent>
219-
<CardFooter>
220-
<p className="text-muted-foreground text-sm italic">
221-
Please note that our Discord server is managed by our community
222-
moderators and does not offer official support.
223-
</p>
224-
</CardFooter>
225-
</div>
226-
<Image
227-
src={discordIllustration}
228-
alt="discord illustration"
229-
className="ml-auto hidden max-w-64 object-cover p-6 md:block"
230-
/>
231-
</Card>
232-
</div>
233188
</main>
234189
);
235190
}

apps/dashboard/src/components/footer/socialLinks.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon";
21
import { GithubIcon } from "components/icons/brand-icons/GithubIcon";
32
import { InstagramIcon } from "components/icons/brand-icons/InstagramIcon";
43
import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon";
@@ -21,12 +20,6 @@ export const SOCIALS: socialLinkInfo[] = [
2120
icon: <XIcon className="size-5" />,
2221
ariaLabel: "Twitter",
2322
},
24-
{
25-
icon: <DiscordIcon className="size-5" />,
26-
ariaLabel: "Discord",
27-
label: "discord",
28-
link: "https://discord.gg/thirdweb",
29-
},
3023
{
3124
link: "https://www.youtube.com/channel/UCdzMx7Zhy5va5End1-XJFbA",
3225
ariaLabel: "YouTube",

packages/thirdweb/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<p align="center">
88
<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>
99
<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>
10-
<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>
1110
</p>
1211
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
1312

0 commit comments

Comments
 (0)