import { useState, useMemo } from 'react' import { marked } from 'marked' import { createFileRoute } from '@tanstack/react-router' import { allJobs, allEducations } from 'content-collections' import { Card, CardContent, CardHeader, CardTitle } from '#/components/ui/card' import { Checkbox } from '#/components/ui/checkbox' import { Badge } from '#/components/ui/badge' import { Separator } from '#/components/ui/separator' import { HoverCard, HoverCardContent, HoverCardTrigger, } from '#/components/ui/hover-card' import ResumeAssistant from '#/components/ResumeAssistant' export const Route = createFileRoute('/')({ component: App, }) function App() { const [selectedTags, setSelectedTags] = useState([]) // Get unique tags from all jobs const allTags = useMemo(() => { const tags = new Set() allJobs.forEach((job) => { job.tags.forEach((tag) => tags.add(tag)) }) return Array.from(tags).sort() }, []) // Filter jobs based on selected tags const filteredJobs = useMemo(() => { if (selectedTags.length === 0) return allJobs return allJobs.filter((job) => selectedTags.some((tag) => job.tags.includes(tag)), ) }, [selectedTags]) return ( <>
{/* Sidebar with filters */}

Skills & Technologies

{allTags.map((tag) => (
{ if (checked) { setSelectedTags([...selectedTags, tag]) } else { setSelectedTags(selectedTags.filter((t) => t !== tag)) } }} className="data-[state=checked]:bg-blue-600" />
))}
{/* Main content */}

My Resume

Professional Experience & Education

{/* Career Summary */} Career Summary

I am a passionate and driven professional seeking opportunities that will leverage my extensive experience in frontend development while providing continuous growth and learning opportunities. My goal is to contribute to innovative projects that challenge me to expand my skill set and make meaningful impacts through technology.

Professional headshot
{/* Work Experience */}

Work Experience

{filteredJobs.map((job) => (
{job.jobTitle}

{job.company} - {job.location}

{job.startDate} - {job.endDate || 'Present'}

{job.summary}

{job.tags.map((tag) => ( {tag}

Experience with {tag} in professional development

))}
{job.content && (
)} ))}
{/* Education */}

Education

{allEducations.map((education) => ( {education.school}

{education.summary}

{education.content && (
)} ))}
) }