import React, { useState } from 'react'; import Vector from "../assets/icons/Vector.png" import Vector2 from "../assets/icons/Vector2.png" import BacklinkTypeDropdown from '../components/Portfolio/BacklinkTypeDropdown'; import RoadmapSidebar from '../components/Strategy/RoadmapSidebar'; import HeaderPage from '../components/shared/HeaderPage'; import ContainerPage from '../components/shared/ContainerPage'; import Amazing from "../assets/icons/amazon.png" import { CircleCheck } from 'lucide-react'; // import Pinterest from "../assets/icons/pinterest.png" // import AppleMusic from "../assets/icons/apple-music.png" // import Substack from "../assets/icons/substack.png" // import Pin from "../assets/icons/pin.png" import Progress from "../assets/icons/InProgress.png" import No from "../assets/icons/no.png" import Share2 from "../assets/icons/Share2.png" import MetricCard from '../components/shared/MetricCard'; const done =
Done
const progress =
In Progress
// Category table data const nA =
N/A
const categories = [ { name: 'Social', color: 'border-l-4 border-[#4285F4] bg-[#001EE21C]', rows: [ { icon: Amazing, title: 'Questions to ask your CPA httpAmazon', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Questions to ask your CPA Published on Amazon', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Questions to ask your CPA Published on Amazon AWS', DR: 90, DA: 97, traffic: '3,902,293', indexed: progress, interlinked: nA, date: '9/16/25' }, { icon: Amazing, title: 'Pinterest DR 97 DA 95 Traffic 3,989,220', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Questions to ask your CPA Substack DR 97 DA 95', DR: 90, DA: 97, traffic: '3,902,293', indexed: progress, interlinked: progress, date: '9/16/25' } ] }, { name: 'Citation', color: 'border-l-4 border-[#0ea5e9] bg-[#3C87FF2B]', rows: [ { icon: Amazing, title: 'Substack DR 97 DA 95', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: nA, date: '9/16/25' }, { icon: Amazing, title: 'Questions to ask your CPA Published on Amazon AWS', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Paypal DR 97 DA 95 Traffic', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' } ] }, { name: 'Web 2.0', color: 'border-l-4 border-[#22c55e] bg-[#f0fdf4]', rows: [ { icon: Amazing, title: 'Paypal DR 97 DA 95 Traffic', DR: 90, DA: 97, traffic: '3,902,293', indexed: progress, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Apple Music DR 97 DA 95 Traffic', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: nA, date: '9/16/25' }, { icon: Amazing, title: 'Substack DR 97 DA 95', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Questions to ask your CPA Published on Amazon AWS', DR: 90, DA: 97, traffic: '3,902,293', indexed: progress, interlinked: done, date: '9/16/25' }, { icon: Amazing, title: 'Pin DR 97 DA 95 Traffic', DR: 90, DA: 97, traffic: '3,902,293', indexed: done, interlinked: progress, date: '9/16/25' } ] } ]; const pillClass = (val: string) => val === 'Done' ? 'bg-green-100 text-green-700 font-bold' : val === 'In Progress' ? 'bg-blue-100 text-blue-700 whitespace-nowrap font-bold' : 'bg-gray -100 text-gray-700 font-bold'; function Portfolio() { const [selectedKeyword, setSelectedKeyword] = useState("CPA Los Angeles") return (
{/* Table Section */}
{/* Title Bar */}
CPA Los Angeles Links: Indexed 32% Interlinked 4% Content Publishing: Locked
{/* Global Filter/Sort Header Row */}
DR DA Traffic Indexed Interlinked Date
{/* Tables */} {categories.map((cat, idx) => (
{/* {cat.name === 'Social' ? '💬' : cat.name === 'Citation' ? '📊' : '🌐'} */} {cat.name}
{cat.rows.length}
{cat.rows.map((row, rIdx) => ( ))}
{row.title}
{row.DR} {row.DA} {row.traffic}
{row.indexed}
{row.interlinked} {row.date}
))}
); } export default Portfolio; const SortIcon = () => { return ( ) }