change the npm to yarn and update the json
This commit is contained in:
parent
78738c9282
commit
effd1d38d0
19 changed files with 4111 additions and 6 deletions
12
ui/app/news/[id]/layout.tsx
Normal file
12
ui/app/news/[id]/layout.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import Link from "next/link";
|
||||
|
||||
export default function NewsLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto p-4">
|
||||
<Link href="/" className="text-blue-500 hover:underline mb-4 inline-block">
|
||||
← Back to News List
|
||||
</Link>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue