fixes: fix cve link position, lint, add not found state for track

This commit is contained in:
Aidan 2025-04-30 03:41:46 -04:00
parent 3ddcf1f404
commit 669138785d
3 changed files with 12 additions and 3 deletions

View file

@ -20,4 +20,4 @@ export async function GET() {
console.error('Error fetching now playing:', error)
return NextResponse.json({ error: 'Failed to fetch now playing data' }, { status: 500 })
}
}
}

View file

@ -53,8 +53,9 @@ export default function Home() {
{mainStrings[secIndex].map((text: string, index: number) => (
<p key={index} className="text-gray-300 leading-relaxed mt-2">
{text}
{secIndex === 2 && index === 1 && (
{secIndex === 2 && index === 2 && (
<>
{' '}
<Link href="https://nvd.nist.gov/vuln/detail/CVE-2025-29927">
CVE-2025-29927
</Link>