diff --git a/src/Components/AppIcon/AppIcon.tsx b/src/Components/AppIcon/AppIcon.tsx new file mode 100644 index 0000000..aef58b9 --- /dev/null +++ b/src/Components/AppIcon/AppIcon.tsx @@ -0,0 +1,30 @@ +import * as React from "react"; + +export interface props { + size: string; + color: string; +} + +export default function AppIcon(props: props) { + return ( + <> + + + + + + + + + ); +} diff --git a/src/Components/Header/Header.tsx b/src/Components/Header/Header.tsx index 3e86d14..a895f1e 100644 --- a/src/Components/Header/Header.tsx +++ b/src/Components/Header/Header.tsx @@ -1,11 +1,40 @@ import * as React from "react"; import styles from "../../styles"; +import AppIcon from "../AppIcon/AppIcon"; +import Login from "../Login/Login"; export default function Header() { return (
-

React - A Notes Demo

+
+
+ +
+
+

Clip Notes

+
+
+
+ +
+
+
); } diff --git a/src/Components/Login/Login.tsx b/src/Components/Login/Login.tsx new file mode 100644 index 0000000..ca07cc3 --- /dev/null +++ b/src/Components/Login/Login.tsx @@ -0,0 +1,40 @@ +import * as React from "react"; +import { useState } from "react"; +import { Button } from "@mui/material"; +import styles from "../../styles"; + +export default function Login() { + const [logged_in, setLoggedIn] = useState(false); + if (!logged_in) { + return ( +
+

Not Logged in

+
+ +
+ ); + } + return ( +
+

Logged in as

+
+ +
+ ); +} diff --git a/src/Components/Note/Note.tsx b/src/Components/Note/Note.tsx index 346a5d5..153e424 100644 --- a/src/Components/Note/Note.tsx +++ b/src/Components/Note/Note.tsx @@ -27,7 +27,7 @@ export default function Note(props: props) {

Timestamp: {props.date_created}