"use client";
import { Github, Mail, Twitter } from "lucide-react";
import Link from "next/link";
import { Navigation } from "../components/nav";
const socials = [
{
icon: ,
href: "https://twitter.com/chronark_",
label: "Twitter",
handle: "@chronark_",
},
{
icon: ,
href: "mailto:dev@chronark.com",
label: "Email",
handle: "dev@chronark.com",
},
{
icon: ,
href: "https://github.com/chronark",
label: "Github",
handle: "chronark",
},
];
export default function Example() {
async function submit() {
const res = await fetch("/api/contact", {
method: "POST",
body: JSON.stringify({
name: "John Doe",
email: "",
}),
});
}
return (
{socials.map((s) => (
{s.icon}
{" "}
{s.handle}
{s.label}
))}
);
}