diff --git a/src/app.tsx b/src/app.tsx
index ffe7b4d..3acc904 100644
--- a/src/app.tsx
+++ b/src/app.tsx
@@ -2,6 +2,7 @@ import { FunctionComponent } from "preact";
import { ErrorBoundary, LocationProvider, Route, Router, useLocation } from "preact-iso";
import "preact/debug";
import LoginPage from "./pages/login";
+import ProfilePage from "./pages/profile";
const HomePage: FunctionComponent = () => {
const location = useLocation();
@@ -11,15 +12,14 @@ const HomePage: FunctionComponent = () => {
export function App() {
return (
- <>
-
-
-
-
-
-
-
-
- >
+
+
+
+
+
+
+
+
+
);
}
diff --git a/src/components/layout.tsx b/src/components/layout.tsx
new file mode 100644
index 0000000..ad94bd4
--- /dev/null
+++ b/src/components/layout.tsx
@@ -0,0 +1,13 @@
+import { FunctionComponent } from "preact";
+import Menu from "./menu";
+
+const Layout: FunctionComponent = (props) => {
+ return (
+
+ {props.children}
+
+
+ );
+};
+
+export default Layout;
diff --git a/src/pages/profile.module.scss b/src/pages/profile.module.scss
new file mode 100644
index 0000000..0be3cf1
--- /dev/null
+++ b/src/pages/profile.module.scss
@@ -0,0 +1 @@
+@reference "../index.scss";
diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx
new file mode 100644
index 0000000..a786293
--- /dev/null
+++ b/src/pages/profile.tsx
@@ -0,0 +1,12 @@
+import Layout from "@/components/layout";
+import { FunctionComponent } from "preact";
+
+const ProfilePage: FunctionComponent = () => {
+ return (
+
+ Profile
+
+ );
+};
+
+export default ProfilePage;