Skip to content

Commit 0c3d70a

Browse files
authored
Make "Start a GraphQL Local" link to /local-initiative page (#2234)
Closes a comment from @jemgillam #2189 (comment) ## Description I initially made it link straight to Discord but it makes more sense to link to `/local-initiative` page.
1 parent a827fff commit 0c3d70a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/app/(main)/community/events/bring-graphql-to-your-community.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Button } from "../../../conf/_design-system/button"
22
import { StripesDecoration } from "../../../conf/_design-system/stripes-decoration"
3-
import { DISCORD_CHANNEL_LINK } from "./links"
43

54
export function BringGraphQLToYourCommunity() {
65
return (
@@ -26,7 +25,7 @@ export function BringGraphQLToYourCommunity() {
2625
Learn more
2726
</Button>
2827
<Button
29-
href={DISCORD_CHANNEL_LINK}
28+
href="/community/foundation/local-initiative/"
3029
variant="tertiary"
3130
className="[.light_&]:bg-white"
3231
>

src/pages/community/foundation/local-initiative.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description:
66
sustainability of our ecosystem.
77
---
88

9-
import { Button } from "../../../app/conf/_components/button"
9+
import { Button } from "../../../app/conf/_design-system/button"
1010

1111
# GraphQL Local Initiative
1212

@@ -177,7 +177,7 @@ gatherings. For more information or to get started, please contact us on
177177

178178
<Button
179179
href="mailto:local@graphql.org?subject=I%20want%20to%20start%20a%20GraphQL%20Local%20in%20CITY_NAME_HERE"
180-
className="mx-auto my-6 !block"
180+
className="mx-auto my-6 w-fit"
181181
>
182-
Start a GraphQL Local!
182+
Start a GraphQL Local
183183
</Button>

0 commit comments

Comments
 (0)