Skip to content

Commit 9729028

Browse files
committed
File Cleanup + Navbar and Homepage
1 parent 8985e2c commit 9729028

12 files changed

Lines changed: 51 additions & 427 deletions

File tree

tock-ui/src/assets/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
/* Project base styles can go below */
66
html, body, #app {
77
height: 100%;
8-
background-color: #E7F0FA;
8+
background-color: #383838;
99
}

tock-ui/src/components/AppIcon.vue

Lines changed: 0 additions & 16 deletions
This file was deleted.

tock-ui/src/components/Card.vue

Lines changed: 0 additions & 8 deletions
This file was deleted.

tock-ui/src/components/Navbar.vue

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<script setup>
2+
import { ref } from 'vue';
3+
4+
const tabs = [
5+
'CONNECTED DEVICES',
6+
'APP MANAGEMENT',
7+
'TERMINAL',
8+
9+
];
10+
11+
const activeTab = ref('CONNECTED DEVICES');
12+
</script>
13+
14+
<template>
15+
16+
<nav class="flex items-center justify-center px-6 py-3 bg-[#424242] font-sans">
17+
18+
<div class="flex space-x-2 text-xs font-bold tracking-wider">
19+
<button
20+
v-for="tab in tabs"
21+
:key="tab"
22+
@click="activeTab = tab"
23+
:class="[
24+
'px-4 py-2 transition-all duration-200 ease-in-out rounded-full',
25+
activeTab === tab
26+
? 'bg-[#555555] text-white'
27+
: 'text-gray-300 hover:text-white hover:bg-[#4a4a4a]'
28+
]"
29+
>
30+
{{ tab }}
31+
</button>
32+
</div>
33+
34+
</nav>
35+
</template>

tock-ui/src/components/Terminal.vue

Lines changed: 0 additions & 20 deletions
This file was deleted.

tock-ui/src/router/router.ts

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,12 @@
11
import { createRouter, createWebHistory } from 'vue-router'
22
import HomeView from '../views/HomeView.vue'
3-
import KnownBoardView from '../views/KnownBoardView.vue'
4-
import CustomizeDebugView from '../views/CustomizeDebugView.vue'
5-
import CustomizeSerialView from '../views/CustomizeSerialView.vue'
6-
import DeviceManagerView from '../views/DeviceManagerView.vue'
7-
import AddAppView from '../views/AddAppView.vue'
83

94
const routes = [
105
{
116
path: '/',
127
name: 'Home',
138
component: HomeView
149
},
15-
{
16-
path: '/known-board',
17-
name: 'KnownBoard',
18-
component: KnownBoardView
19-
},
20-
{
21-
path: '/customize-debug',
22-
name: 'CustomizeDebug',
23-
component: CustomizeDebugView
24-
},
25-
{
26-
path: '/customize-serial',
27-
name: 'CustomizeSerial',
28-
component: CustomizeSerialView
29-
},
30-
{
31-
path: '/device-manager',
32-
name: 'DeviceManager',
33-
component: DeviceManagerView
34-
},
35-
{
36-
path: '/add-app',
37-
name: 'AddApp',
38-
component: AddAppView
39-
},
4010
]
4111

4212
const router = createRouter({

tock-ui/src/views/AddAppView.vue

Lines changed: 0 additions & 58 deletions
This file was deleted.

tock-ui/src/views/CustomizeDebugView.vue

Lines changed: 0 additions & 55 deletions
This file was deleted.

tock-ui/src/views/CustomizeSerialView.vue

Lines changed: 0 additions & 70 deletions
This file was deleted.

tock-ui/src/views/DeviceManagerView.vue

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)