import Image from "next/image"; import type { Dictionary } from "@/lib/i18n/get-dictionary"; import { CONTACT_EMAIL, DISCORD_SERVER_URL, GITHUB_URL, GITEA_PROFILE_URL, SPOTIFY_URL, STEAM_URL, } from "@/lib/site"; import { CopyEmail } from "@/components/copy-email"; import { SectionHeading } from "@/components/section-heading"; export function ContactSection({ dict }: { dict: Dictionary["contact"] }) { const entries = [ { label: dict.github, sub: "@fristyxd", href: GITHUB_URL, icon: "/icons/github.svg" }, { label: dict.discord, sub: "discord.gg/fristy", href: DISCORD_SERVER_URL, icon: "/icons/discord.svg", }, { label: dict.gitea, sub: "git.fristy.net", href: GITEA_PROFILE_URL, icon: "/icons/gitea.svg", }, { label: dict.spotify, sub: "open.spotify.com", href: SPOTIFY_URL, icon: "/icons/spotify.svg", }, { label: dict.steam, sub: "fristylikeaillusion", href: STEAM_URL, icon: "/icons/steam.svg", }, ]; return (

{dict.email}

{CONTACT_EMAIL}
{entries.map((entry) => (

{entry.label}

{entry.sub}

→
))}
); }