Add linkree to socials

This commit is contained in:
2025-12-27 13:06:43 +01:00
parent 5857319643
commit 8d449206d2
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { SocialLinks } from "@/components/SocialLinks"; import { SocialLinks } from "@/components/SocialLinks";
import { ArrowBigRight } from "lucide-react"; import Link from "next/link";
export default function Home() { export default function Home() {
return ( return (
@ -13,7 +13,7 @@ export default function Home() {
I'm an illustrator, character designer, miniature painter, 3d modeller, makeup artist and much more and happy to show you things i've created. I'm an illustrator, character designer, miniature painter, 3d modeller, makeup artist and much more and happy to show you things i've created.
</p> </p>
<p className="text-muted-foreground max-w-xl text-lg mb-6"> <p className="text-muted-foreground max-w-xl text-lg mb-6">
If you want to commission me<br />you can find all the information you need here:<br /> <a href="https://linktr.ee/gaertan" target="_blank" className="underline text-primary" ><ArrowBigRight className="w-4 h-4 inline" /> Linktree</a> If you want to commission me<br />you can find all the information you need here:<br /> <Link href="/commissions" className="underline text-primary" >Commissions</Link>
</p> </p>
<div> <div>
<SocialLinks /> <SocialLinks />

View File

@ -1,12 +1,13 @@
import { import {
siBluesky, siBluesky,
siLinktree,
siMastodon, siMastodon,
siPaypal, siPaypal,
siTelegram, siTelegram,
type SimpleIcon, type SimpleIcon,
} from "simple-icons"; } from "simple-icons";
type SocialKey = "paypal" | "telegram" | "mastodon" | "bluesky"; type SocialKey = "paypal" | "telegram" | "mastodon" | "bluesky" | "linktree";
const SOCIALS: Record< const SOCIALS: Record<
SocialKey, SocialKey,
@ -32,6 +33,11 @@ const SOCIALS: Record<
icon: siBluesky, icon: siBluesky,
href: "https://bsky.app/profile/gaertan.bsky.social", href: "https://bsky.app/profile/gaertan.bsky.social",
}, },
linktree: {
label: "Linktree",
icon: siLinktree,
href: "https://linktr.ee/gaertan",
},
}; };
function BrandSvg({ icon }: { icon: SimpleIcon }) { function BrandSvg({ icon }: { icon: SimpleIcon }) {
@ -48,7 +54,7 @@ function BrandSvg({ icon }: { icon: SimpleIcon }) {
} }
export function SocialLinks({ export function SocialLinks({
items = ["paypal", "telegram", "mastodon", "bluesky"], items = ["paypal", "telegram", "mastodon", "bluesky", "linktree"],
size = "md", size = "md",
}: { }: {
items?: SocialKey[]; items?: SocialKey[];