add layout and hook
This commit is contained in:
parent
c49eee8fea
commit
21109e4bf9
8 changed files with 161 additions and 25 deletions
9
client-electron/src/components/Header.tsx
Normal file
9
client-electron/src/components/Header.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const Header: React.FC = () => {
|
||||
return (
|
||||
<header className="fixed bg-black w-full z-0 px-4 shadow-sm shadow-slate-500/40 pl-[20rem]">
|
||||
<h2>Header</h2>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
|
||||
export default Header
|
||||
9
client-electron/src/components/Sidebar.tsx
Normal file
9
client-electron/src/components/Sidebar.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const Sidebar: React.FC = () => {
|
||||
return (
|
||||
<aside className="fixed bg-black text-gray-500 z-50 h-full shadow-lg shadow-gray-900/20 transition duration-300 ease-in-out w-[20rem]">
|
||||
<h2>Sidebar</h2>
|
||||
</aside>
|
||||
)
|
||||
}
|
||||
|
||||
export default Sidebar
|
||||
Loading…
Add table
Add a link
Reference in a new issue