fix and polish the return button
This commit is contained in:
parent
10b38e392a
commit
c2d76e002e
4 changed files with 19 additions and 21 deletions
|
@ -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 <div>{children}</div>;
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
export default function NewsLayout({ children }: { children: React.ReactNode }) {
|
||||
return <div className="max-w-4xl mx-auto p-4">{children}</div>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue