back. WiP

graph package (reactflow), updates. assets, some of the SEO. started with some basic components, login, navbar, etc.
This commit is contained in:
2024-12-28 12:12:17 -07:00
parent cc682254df
commit c1bc6177d8
36 changed files with 5423 additions and 18018 deletions

View File

@@ -0,0 +1,11 @@
.navbar_wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
position: sticky;
top: 0;
left: 0;
height: 100vh;
width: 10vw;
}

View File

@@ -0,0 +1,16 @@
import React from 'react'
import styles from "./Navbar.module.css";
import { NavLink } from 'react-router-dom';
const Navbar = () => {
return (
<nav className={styles.navbar_wrapper}>
<NavLink to="/">Home</NavLink>
<NavLink to="/login">Login</NavLink>
<NavLink to="/graph">Graph</NavLink>
<NavLink to="/graph2">Graph2</NavLink>
</nav>
)
}
export default Navbar

View File

@@ -0,0 +1,17 @@
import { toast } from "react-toastify";
export const showErrorToastNotification = (message) => {
toast.error(message || "Server Error");
};
export const showSuccessToastNotification = (message) => {
toast.success(message || "Success");
};
export const showWarnToastNotification = (message) => {
toast.warn(message || "Warning");
};
export const showInfoToastNotification = (message) => {
toast.info(message || "Info");
};