🚚 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:
2026-01-08 15:03:07 +07:00
parent 940e84d168
commit 34b4ec6232
5 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,20 @@
import React from "react";
const page = async ({
params,
searchParams,
}: {
params: { name: string };
searchParams: { [key: string]: string | string[] | undefined };
}) => {
const resolvedParams = await params;
const resolvedSearchParams = await searchParams;
return (
<div>
<h1>Loading....</h1>
</div>
);
};
export default page;