From 94fa62f231207b6da521f54bde51173e50615bce Mon Sep 17 00:00:00 2001 From: keannu125 Date: Fri, 24 Feb 2023 17:50:39 +0800 Subject: [PATCH] Created initial logs page and fixed flex_row vertical alignment --- src/App.tsx | 9 +++++++++ src/Routes/Logs/Logs.tsx | 14 ++++++++++++++ src/styles.tsx | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/Routes/Logs/Logs.tsx diff --git a/src/App.tsx b/src/App.tsx index 1e70851..efe8b76 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,6 +2,7 @@ import React from "react"; import Dashboard from "./Routes/Dashboard/Dashboard"; import Error from "./Routes/Error/Error"; import Products from "./Routes/Products/Products"; +import Logs from "./Routes/Logs/Logs"; import Container from "./Components/Container/Container"; import { createBrowserRouter, RouterProvider } from "react-router-dom"; import Store from "./Plugins/Redux/Store/Store"; @@ -29,6 +30,14 @@ const router = createBrowserRouter([ ), }, + { + path: "/Logs", + element: ( + + + + ), + }, ]); export default function App() { diff --git a/src/Routes/Logs/Logs.tsx b/src/Routes/Logs/Logs.tsx new file mode 100644 index 0000000..51d73fc --- /dev/null +++ b/src/Routes/Logs/Logs.tsx @@ -0,0 +1,14 @@ +import * as React from "react"; +import LogsIcon from "../../Components/Icons/LogsIcon/LogsIcon"; +import styles from "../../styles"; + +export default function Logs() { + return ( +
+
+ +

Logs

+
+
+ ); +} diff --git a/src/styles.tsx b/src/styles.tsx index f266346..55978d1 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -129,7 +129,7 @@ const styles: { [key: string]: React.CSSProperties } = { flex_row: { display: "flex", flexDirection: "row", - alignItems: "stretch", + alignItems: "center", }, flex_column: { display: "flex",