diff --git a/src/App.tsx b/src/App.tsx index 043a16c..7524daa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,14 +1,15 @@ import React from "react"; -import logo from "./img/ivy.svg"; +import AppLogo from "./components/Icons/AppLogo/AppLogo"; import styles from "./styles"; export default function App() { return (
- - logo +
+

Ivy - Inventory Manager

- +
+

Welcome!

); } diff --git a/src/components/Icons/AppLogo/AppLogo.tsx b/src/components/Icons/AppLogo/AppLogo.tsx new file mode 100644 index 0000000..8f824b3 --- /dev/null +++ b/src/components/Icons/AppLogo/AppLogo.tsx @@ -0,0 +1,29 @@ +import React from "react"; + +export interface props { + size: number; + color: string; +} +export default function AppLogo(props: props) { + return ( + + + + + + + + + ); +} diff --git a/src/styles.tsx b/src/styles.tsx index e331968..f53ea86 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -1,13 +1,27 @@ import React from "react"; -const styles = { +const styles: { [key: string]: React.CSSProperties } = { background: { backgroundColor: "#0b2322", height: "100vh", display: "flex", + flexDirection: "column", justifyContent: "center", alignItems: "center", fontWeight: "bold", color: "white", - } as React.CSSProperties, + }, + flex_row: { + display: "flex", + flexDirection: "row", + justifyContent: "center", + alignItems: "center", + }, + header: { + display: "flex", + flexDirection: "row", + position: "sticky", + top: 0, + left: 0, + }, }; export default styles;