"use client"
import React from "react"
import Link from "next/link"
import {
ActionLinkTypeLink,
ProjectExtraLinkType,
ProjectInterface,
} from "@/lib/types"
import { LABELS } from "@/app/labels"
import { Icons } from "../icons"
interface ProjectExtraLinksProps {
project: ProjectInterface
}
interface ExtraLinkItemsProps {
id: ProjectExtraLinkType
links: ActionLinkTypeLink[]
}
export default function ProjectExtraLinks({ project }: ProjectExtraLinksProps) {
const { extraLinks = {} } = project
const hasExtraLinks = Object.keys(extraLinks).length > 0
const ExtraLinkLabelMapping: Record<
ProjectExtraLinkType,
{
label: string
icon?: any
}
> = {
buildWith: {
label: LABELS.COMMON.BUILD_WITH_THIS_TOOL,
icon:
{label}