- Update the navbar to be sticky when scrolling the page and cover the top of the page. - Fix the margins for every viewport.
15 lines
344 B
TypeScript
15 lines
344 B
TypeScript
import { FC, ReactElement } from 'react';
|
|
import { Outlet } from 'react-router-dom';
|
|
import { Navbar } from '@imphnen-frontend-service/ui/organisms';
|
|
|
|
export const AppLayout: FC = (): ReactElement => {
|
|
return (
|
|
<main className="bg-primary-50 min-h-screen">
|
|
<Navbar />
|
|
<Outlet />
|
|
</main>
|
|
);
|
|
};
|
|
|
|
export default AppLayout;
|