diff --git a/components/link-tree.tsx b/components/link-tree.tsx index f7316d1..b417ae6 100644 --- a/components/link-tree.tsx +++ b/components/link-tree.tsx @@ -1,55 +1,130 @@ -'use client' - -import React from 'react' -import { Linkedin, Twitter, Instagram, Mail, Music, Gamepad, Youtube } from 'lucide-react' +import React from "react"; +import { + Linkedin, + Twitter, + Instagram, + Mail, + Music, + Gamepad, + Youtube, +} from "lucide-react"; +import Image from "next/image"; interface LinkItem { - type: 'category' | 'link' | 'youtube' - title: string - url?: string - youtubeId?: string + type: "category" | "link" | "youtube"; + title: string; + url?: string; + youtubeId?: string; } -const profileImage = "/placeholder.svg?height=200&width=200" -const name = "@anthonysistilli" -const description = "Tech founder & senior software engineer" +const profileImage = "/placeholder.svg?height=200&width=200"; +const name = "@anthonysistilli"; +const description = "Tech founder & senior software engineer"; const socialLinks = [ - { platform: 'LinkedIn', url: 'https://linkedin.com/in/example' }, - { platform: 'Twitter', url: 'https://twitter.com/example' }, - { platform: 'Mail', url: 'mailto:example@example.com' }, - { platform: 'Music', url: 'https://music.example.com' }, - { platform: 'Youtube', url: 'https://youtube.com/@example' }, - { platform: 'Gamepad', url: 'https://game.example.com' }, - { platform: 'Instagram', url: 'https://instagram.com/example' }, -] + { platform: "LinkedIn", url: "https://linkedin.com/in/example" }, + { platform: "Twitter", url: "https://twitter.com/example" }, + { platform: "Mail", url: "mailto:example@example.com" }, + { platform: "Music", url: "https://music.example.com" }, + { platform: "Youtube", url: "https://youtube.com/@example" }, + { platform: "Gamepad", url: "https://game.example.com" }, + { platform: "Instagram", url: "https://instagram.com/example" }, +]; const items: LinkItem[] = [ - { type: 'youtube', title: 'Latest Youtube Video', youtubeId: 'dQw4w9WgXcQ' }, - { type: 'link', title: "Join Hyrd's waitlist - My company", url: 'https://hyrd.dev' }, - { type: 'link', title: 'Hyrd.dev - Find a tech job in minutes, not months', url: 'https://hyrd.dev' }, - { type: 'category', title: 'Resources' }, - { type: 'link', title: 'Buy me a coffee :)', url: 'https://buymeacoffee.com/example' }, - { type: 'link', title: 'Startup notes & coding resources (mind map)', url: 'https://example.com/mindmap' }, - { type: 'link', title: 'My saas landing page boilerplate on Github', url: 'https://github.com/example/repo' }, -] + { type: "youtube", title: "Latest Youtube Video", youtubeId: "dQw4w9WgXcQ" }, + { + type: "link", + title: "Join Hyrd's waitlist - My company", + url: "https://hyrd.dev", + }, + { + type: "link", + title: "Hyrd.dev - Find a tech job in minutes, not months", + url: "https://hyrd.dev", + }, + { type: "category", title: "Resources" }, + { + type: "link", + title: "Buy me a coffee :)", + url: "https://buymeacoffee.com/example", + }, + { + type: "link", + title: "Startup notes & coding resources (mind map)", + url: "https://example.com/mindmap", + }, + { + type: "link", + title: "My saas landing page boilerplate on Github", + url: "https://github.com/example/repo", + }, +]; -export function LinkTree() { +export default function Component() { return (