mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 05:05:42 +00:00
Initial Commit
This commit is contained in:
12
site/src/components/layouts/layout.tsx
Normal file
12
site/src/components/layouts/layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Center, Flex } from "@mantine/core";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export const Layout = ({ children }: { children: ReactNode }) => {
|
||||
return (
|
||||
<Center style={{ minHeight: "100vh" }}>
|
||||
<Flex direction="column" flex="1" maw={350}>
|
||||
{children}
|
||||
</Flex>
|
||||
</Center>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user