import { Link, routes } from '@redwoodjs/router' import { useAuth } from '@redwoodjs/auth' import { Flash } from '@redwoodjs/web' import Tooltip from '@material-ui/core/Tooltip'; import avatar from 'src/assets/harold.jpg' import Svg from 'src/components/Svg' import logo from 'src/layouts/MainLayout/Logo_2.jpg' const MainLayout = ({ children }) => { const { logIn, logOut, isAuthenticated } = useAuth() return ( <> {/* Because of how specific these styles are to this heading/logo and it doesn't need to be replicated else where as well as it's very precise with the placement of "pre-alpha" I think it's appropriate. */} CadHub pre-alpha {/* */} {/* */} { isAuthenticated ? : Sign in/up } {children} > ) } export default MainLayout