(feat:layout) Add a proper window top bar

This commit is contained in:
KingRainbow44
2023-11-29 22:16:49 -05:00
parent 9109cb59c3
commit 6a7097eae1
2 changed files with 16 additions and 1 deletions

View File

@@ -1,7 +1,16 @@
import "@css/components/TopBar.scss";
function TopBar() {
return (
<div>
<div class={"TopBar"} data-tauri-drag-region>
<div class={"flex flex-row gap-1 text-white"}>
<p>Cultivation</p>
<p>2.0.0</p>
</div>
<div>
</div>
</div>
);
}

View File

@@ -0,0 +1,6 @@
.TopBar {
@apply flex flex-row justify-between items-center w-full;
@apply bg-gray-900 pl-4 pr-4;
height: 40px;
}