issue-95 Style ide page

added a toolbar and tweaked golden-layout stuff to make it fit on the
page well
This commit is contained in:
Kurt Hutten
2020-11-14 17:35:58 +11:00
parent 585a839525
commit 0ede0be0b4
9 changed files with 157 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ const MainLayout = ({ children }) => {
}
return (
<>
<header>
<header id="cadhub-main-header">
<nav className="flex justify-between h-20 px-12 bg-gradient-to-r from-gray-900 to-indigo-900">
<ul className="flex items-center">
<li>
@@ -128,7 +128,7 @@ const MainLayout = ({ children }) => {
}}
>
{isAuthenticated && currentUser ? (
<div style={{ padding: '1em', width: '15em' }}>
<div className="p-4 w-40">
<Link to={routes.user2({ userName: data?.user?.userName })}>
<h3 className="text-indigo-800" style={{ fontWeight: '500' }}>
Hello {data?.user?.name}