Skip to content

Commit 31fb3cb

Browse files
authored
Merge pull request #79 from celenium-io/nav
feat: new nav
2 parents b113c8c + 927216a commit 31fb3cb

File tree

34 files changed

+1479
-282
lines changed

34 files changed

+1479
-282
lines changed

assets/icons.json

Lines changed: 4 additions & 1 deletion
Large diffs are not rendered by default.

assets/styles/base.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $grayscale: (
3131
--txt-white: rgba(255, 255, 255, 95%);
3232

3333
/* General */
34-
--brand: #924dff;
34+
--brand: #18d2a5;
3535
--blue: #076acd;
3636
--red: #eb5757;
3737
--orange: #ff5a17;
@@ -277,6 +277,12 @@ body {
277277
cursor: pointer;
278278
}
279279

280+
.divider_h {
281+
width: 100%;
282+
height: 2px;
283+
background: var(--op-5);
284+
}
285+
280286
.divider_v {
281287
width: 2px;
282288
height: 16px;

components/ActionBar.vue

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<script setup>
2+
/**
3+
* UI
4+
*/
5+
import Button from "@/components/ui/Button.vue"
6+
7+
/** Components */
8+
import Search from "@/components/modules/navigation/Search.vue"
9+
10+
/** Store */
11+
import { useAppStore } from "@/store/app"
12+
const appStore = useAppStore()
13+
</script>
14+
15+
<template>
16+
<Flex wide align="center" justify="between" gap="24" :class="$style.wrapper">
17+
<Flex wide align="center" gap="12">
18+
<Button @click="appStore.showSidebar = !appStore.showSidebar" type="secondary" size="medium" :class="$style.menu_btn">
19+
<Icon name="menu" size="16" color="primary" />
20+
</Button>
21+
22+
<Search />
23+
</Flex>
24+
25+
<Flex align="center" gap="12">
26+
<Button @click="appStore.showCmd = true" type="secondary" size="mini">
27+
<Icon name="terminal_square" size="16" color="secondary" />
28+
</Button>
29+
30+
<div style="width: 2px; height: 16px; background: var(--op-10)" />
31+
32+
<Connection :class="$style.connection_btn" />
33+
</Flex>
34+
</Flex>
35+
</template>
36+
37+
<style module>
38+
.wrapper {
39+
padding: 12px 24px;
40+
}
41+
42+
.menu_btn {
43+
display: none;
44+
}
45+
46+
@media (max-width: 1300px) {
47+
.menu_btn {
48+
display: flex;
49+
}
50+
}
51+
</style>

0 commit comments

Comments
 (0)