summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-07-23 21:47:52 -0400
committerrealtradam <[email protected]>2024-07-23 21:47:52 -0400
commite36832834564f401622ef293c19fc778ab43f9ae (patch)
tree9752556936c71336e01f2c0b9f53dc9cdfbd32dd /frontend/src/components
parent1e18e0ad7a47536be92384bbf815e0923a06698d (diff)
downloadspring-blog-e36832834564f401622ef293c19fc778ab43f9ae.tar.gz
spring-blog-e36832834564f401622ef293c19fc778ab43f9ae.zip
implement initial react frontend
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/Layout.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx
new file mode 100644
index 0000000..f58f1fc
--- /dev/null
+++ b/frontend/src/components/Layout.tsx
@@ -0,0 +1,16 @@
+import { Outlet } from "react-router-dom";
+
+
+export default function Layout()
+{
+ return(
+ <>
+ <div className="w-screen h-screen flex border-none">
+ <h1>Spring Blog</h1>
+ <div className="w-full">
+ <Outlet/>
+ </div>
+ </div>
+ </>
+ );
+}