From 50c776077a7da86367d4999cee51fa86948ce84d Mon Sep 17 00:00:00 2001 From: 1ilit Date: Thu, 30 Nov 2023 09:18:41 +0200 Subject: [PATCH] Add templates page --- src/App.js | 2 ++ src/components/Navbar.jsx | 12 +++++++++--- src/pages/Templates.jsx | 25 +++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 src/pages/Templates.jsx diff --git a/src/App.js b/src/App.js index e0ac6fe..0dd85b9 100644 --- a/src/App.js +++ b/src/App.js @@ -6,6 +6,7 @@ import BugReport from "./pages/BugReport"; import SignUp from "./pages/Signup"; import Shortcuts from "./pages/Shortcuts" import Login from "./pages/Login"; +import Templates from "./pages/Templates"; function App() { return ( @@ -18,6 +19,7 @@ function App() { } /> } /> } /> + } /> ); diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index d889fed..7ff572a 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -9,7 +9,7 @@ export default function Navbar() { return ( <> -
+
logo @@ -24,7 +24,10 @@ export default function Navbar() { > Editor - + Templates @@ -68,7 +71,10 @@ export default function Navbar() { Editor
- + Templates
diff --git a/src/pages/Templates.jsx b/src/pages/Templates.jsx new file mode 100644 index 0000000..a0709c6 --- /dev/null +++ b/src/pages/Templates.jsx @@ -0,0 +1,25 @@ +import React from "react"; +import logo_light from "../assets/logo_light_46.png"; +import { Link } from "react-router-dom"; + +export default function Templates() { + return ( +
+
+
+ + logo + +
+ Templates +
+
+
+
+
+ ); +}