feat: link "Join the Community" button to Discord server
Update button to open Mycopunk Discord invite in new tab. #VERCEL_SKIP Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
parent
5299b2719c
commit
c9be578e88
|
|
@ -126,8 +126,11 @@ export function Applications() {
|
||||||
size="lg"
|
size="lg"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
className="gap-2 border-2 border-secondary text-secondary glow-border hover:bg-secondary/10 bg-transparent"
|
className="gap-2 border-2 border-secondary text-secondary glow-border hover:bg-secondary/10 bg-transparent"
|
||||||
|
asChild
|
||||||
>
|
>
|
||||||
{"Join the Community"}
|
<a href="https://discord.gg/mFxSXCrfrN" target="_blank" rel="noopener noreferrer">
|
||||||
|
{"Join the Community"}
|
||||||
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "@/components/ui/button"
|
||||||
import { ArrowRight, Network } from "lucide-react"
|
import { ArrowRight, Network } from "lucide-react"
|
||||||
|
import Link from "next/link"
|
||||||
|
|
||||||
export function Hero() {
|
export function Hero() {
|
||||||
return (
|
return (
|
||||||
|
|
@ -93,8 +94,11 @@ export function Hero() {
|
||||||
size="lg"
|
size="lg"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
className="text-base border-2 border-secondary text-secondary glow-border hover:bg-secondary/10 bg-transparent"
|
className="text-base border-2 border-secondary text-secondary glow-border hover:bg-secondary/10 bg-transparent"
|
||||||
|
asChild
|
||||||
>
|
>
|
||||||
{"Read the Book"}
|
<Link href="https://book.mycofi.earth" target="_blank" rel="noopener noreferrer">
|
||||||
|
{"Read the MycoFi Book"}
|
||||||
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue