🚚 mv: change layout folder structure
Separate the navbar from the root layout, keeping the root layout clean. Create two child layout folders: 1. main: for basic layouts such as the navbar 2. clean: for clean layouts without any extra elements.
This commit is contained in:
7
app/(main)/home/page.tsx
Normal file
7
app/(main)/home/page.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
const page = () => {
|
||||
redirect("/");
|
||||
};
|
||||
|
||||
export default page;
|
||||
Reference in New Issue
Block a user