* add basic profile page * apps/web: detect telegram/browser support browser (dev only) * apps/web: add dark mode * apps/web: support dark theme in tma * apps/web: add loading spinner remove dev info from page * apps\web\app\(auth)\page.tsx: remove useState * app/web: handle update profile name * move debounce functional to hook * add role checkbox
12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
import { BottomNav } from '@/components/navigation';
|
|
import { type PropsWithChildren } from 'react';
|
|
|
|
export default async function Layout({ children }: Readonly<PropsWithChildren>) {
|
|
return (
|
|
<div className="min-h-screen">
|
|
<main>{children}</main>
|
|
<BottomNav />
|
|
</div>
|
|
);
|
|
}
|