diff --git a/ui/app/news/[id]/layout.tsx b/ui/app/news/[id]/layout.tsx
index 2338849..4131370 100644
--- a/ui/app/news/[id]/layout.tsx
+++ b/ui/app/news/[id]/layout.tsx
@@ -1,10 +1,15 @@
import Link from "next/link";
+import { ArrowLeft } from "lucide-react";
-export default function NewsLayout({ children }: { children: React.ReactNode }) {
+export default function NewsDetailLayout({ children }: { children: React.ReactNode }) {
return (
-
- ← Back to News List
+
+
+ Back
{children}
diff --git a/ui/app/news/layout.tsx b/ui/app/news/layout.tsx
index 08ce491..d773b44 100644
--- a/ui/app/news/layout.tsx
+++ b/ui/app/news/layout.tsx
@@ -1,12 +1,5 @@
-import { Metadata } from "next";
import React from "react";
-export const metadata: Metadata = {
- title: "News - Perplexica",
-};
-
-const Layout = ({ children }: { children: React.ReactNode }) => {
- return {children}
;
-};
-
-export default Layout;
+export default function NewsLayout({ children }: { children: React.ReactNode }) {
+ return {children}
;
+}
diff --git a/ui/components/ContextItem.tsx b/ui/components/ContextItem.tsx
index 55d622a..d4ae9cd 100644
--- a/ui/components/ContextItem.tsx
+++ b/ui/components/ContextItem.tsx
@@ -29,12 +29,12 @@ const ContextItem: React.FC = ({ item }) => {
/>
)}
{item.description}
-
- {item.provider[0].name} | {new Date(item.datePublished).toLocaleDateString()}
-
Read more
+
+ {item.provider[0].name} | {new Date(item.datePublished).toLocaleDateString()}
+
);
};
diff --git a/ui/components/NewsPage.tsx b/ui/components/NewsPage.tsx
index ffe63c3..62072c2 100644
--- a/ui/components/NewsPage.tsx
+++ b/ui/components/NewsPage.tsx
@@ -69,12 +69,12 @@ const NewsPage = () => {
key={item.id}
className="flex flex-col space-y-4 border-b border-white-200 dark:border-dark-200 py-6 lg:mx-4"
>
-
-
- {item.title}
-
+
+ {item.title}
+
+ {item.summary}
+
- {item.summary}
))}