Fix: Link special in news section

This commit is contained in:
Hördle Bot
2025-11-25 13:59:32 +01:00
parent 0e313db2e3
commit a7aec80f39

View File

@@ -2,6 +2,7 @@
import { useEffect, useState } from 'react';
import ReactMarkdown from 'react-markdown';
import Link from 'next/link';
interface NewsItem {
id: number;
@@ -143,9 +144,16 @@ export default function NewsSection() {
{item.special && (
<>
<span></span>
<span style={{ color: '#be185d' }}>
<Link
href={`/special/${item.special.name}`}
style={{
color: '#be185d',
textDecoration: 'none',
fontWeight: '500'
}}
>
{item.special.name}
</span>
</Link>
</>
)}
</div>