diff --git a/components/news.tsx b/components/news.tsx index 006fa43..a468684 100644 --- a/components/news.tsx +++ b/components/news.tsx @@ -54,7 +54,7 @@ export function News() { if (status === 'loading' || loading) { return ( - + News @@ -68,7 +68,7 @@ export function News() { } return ( - + News - + {error ? (

{error}

) : ( @@ -95,31 +95,25 @@ export function News() { className="p-4 hover:bg-gray-50 transition-colors cursor-pointer" onClick={() => window.open(item.url, '_blank')} > -
+
+
+ {item.displayDate} + {item.category && ( + + {item.category} + + )} +

{item.title}

{item.description && ( -

+

{item.description}

)} -
- {item.displayDate} - {item.source && ( - <> - - {item.source} - - )} -
- {item.category && ( - - {item.category} - - )}
))