Skip to content

Commit 28c40e7

Browse files
committed
webui: cleanup gui and features for first beta release
1 parent 3f2d406 commit 28c40e7

6 files changed

Lines changed: 19 additions & 24 deletions

File tree

webui/src/components/LocalTrack.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111

1212
<div class="flex mt-1">
13-
<div class="bg-sl-02dpa rounded-lg min-h-[11em] w-full shadow pb-2">
13+
<div class="bg-sl-02dpa rounded-lg min-h-[10em] w-full shadow pb-2">
1414
<div class="flex justify-between items-center">
1515
<div :id="`track${pkey}`" tabindex="0"
1616
:class="{ 'bg-sl-disabled': isActive(), 'bg-sl-24dpa': !isActive() }"

webui/src/components/Navbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</a>
1414
<a
1515
href="#"
16-
class="ml-4 inline-flex items-center px-1 pt-1 border-transparent text-base font-medium leading-5 text-sl-disabled hover:text-sl-on_surface_1 focus:text-gray-300 focus:border-gray-300"
16+
class="hidden ml-4 inline-flex items-center px-1 pt-1 border-transparent text-base font-medium leading-5 text-sl-disabled hover:text-sl-on_surface_1 focus:text-gray-300 focus:border-gray-300"
1717
>Options</a>
1818
</div>
1919
</nav>

webui/src/components/RemoteTrack.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<li aria-label="Remote track" class="col-span-1" @mouseenter="setActive()" @touchstart.passive="setActive()">
2+
<li aria-label="Remote track" class="aspect-video col-span-1" @mouseenter="setActive()" @touchstart.passive="setActive()">
33
<div class="flex justify-between h-5">
44
<h2 class="ml-1 font-semibold text-sl-disabled text-sm truncate pr-2">{{ getTrackName() }}</h2>
55
<div class="flex">
@@ -13,7 +13,7 @@
1313
</div>
1414

1515
<div class="flex mt-1">
16-
<div class="relative bg-sl-02dpa rounded-lg min-h-[11em] w-full shadow pb-2">
16+
<div class="relative bg-sl-02dpa rounded-lg min-h-[10em] w-full shadow pb-2">
1717
<div class="flex justify-between items-center">
1818
<div :id="`track${pkey}`" ref="tid" tabindex="0" @focus="setActive()"
1919
:class="[isActive() ? 'bg-sl-disabled' : 'bg-sl-24dpa']"

webui/src/components/RoomsNav.vue

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-medium
99
text-sl-disabled
1010
hover:text-sl-on_surface_2
11-
">Room</a>
11+
">Studio</a>
1212
</div>
1313
</li>
1414

@@ -25,19 +25,7 @@
2525
<button type="button"
2626
class="ml-3 text-sl-disabled group inline-flex items-center rounded-md text-sm font-medium hover:text-sl-on_surface_1"
2727
aria-expanded="false">
28-
<span>Default</span>
29-
<!--
30-
Heroicon name: mini/chevron-down
31-
32-
Item active: "text-gray-600", Item inactive: "text-gray-400"
33-
-->
34-
<svg class="text-sl-disabled ml-2 h-5 w-5 group-hover:text-sl-on_surface_1"
35-
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
36-
aria-hidden="true">
37-
<path fill-rule="evenodd"
38-
d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z"
39-
clip-rule="evenodd" />
40-
</svg>
28+
<span>Local</span>
4129
</button>
4230
</div>
4331
</li>

webui/src/components/StudioNav.vue

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<div
2525
class="flex items-center justify-center w-12 h-12 transition-all duration-200 overflow-hidden rounded-2xl text-white hover:bg-sl-08dpa">
2626
<img class="h-10" src="/logo_solo.svg" alt="Studio Link - Default" />
27-
<span class="sr-only">Studio Link Default</span>
27+
<span class="sr-only">Studio - Local</span>
2828
</div>
2929
</div>
3030
</a>
3131
<hr class="w-2/3 border-t-white/[.06] border-t-2 rounded mx-2" />
32-
<a href="#" class="relative block group">
32+
<a href="#" class="hidden relative block group" title="New Studio">
3333
<div class="absolute flex items-center h-full -left-4">
3434
<div
3535
class="h-5 scale-0 opacity-0 group-hover:opacity-100 group-hover:scale-100 w-1 transition-all duration-200 origin-left bg-sl-primary rounded-r">
@@ -43,20 +43,25 @@
4343
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
4444
d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
4545
</svg>
46-
<span class="sr-only">New Studio Link</span>
46+
<span class="sr-only">New Studio</span>
4747
</div>
4848
</div>
4949
</a>
5050
</nav>
5151
</div>
52-
<div class="flex flex-shrink-0 pb-5">
53-
<a href="#" class="w-full flex-shrink-0" @click="oauth">
52+
<div class="hidden flex flex-shrink-0 pb-5">
53+
<a v-if="auth" href="#" class="w-full flex-shrink-0" @click="oauth">
5454
<img class="mx-auto block h-10 w-10 rounded-full" :src="user.imageUrl" alt="" />
5555
<div class="sr-only">
5656
<p>{{ user.name }}</p>
5757
<p>Account settings</p>
5858
</div>
5959
</a>
60+
<a v-if="!auth" href="#" class="w-full flex-shrink-0" @click="oauth">
61+
<svg class="text-sl-on_surface_2 mx-auto block size-10 rounded-full" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
62+
<path stroke-linecap="round" stroke-linejoin="round" d="M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25" />
63+
</svg>
64+
</a>
6065
</div>
6166
</div>
6267
</div>
@@ -80,6 +85,8 @@ const user = {
8085
'https://images.unsplash.com/photo-1502685104226-ee32379fefbe?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80',
8186
}
8287
88+
const auth = false;
89+
8390
const navigation = [
8491
{ name: 'Home', href: '#', icon: HomeIcon },
8592
{ name: 'Trending', href: '#', icon: FireIcon },

webui/src/components/Version.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<div
33
class="text-right text-xs text-sl-disabled pr-2"
44
>
5-
v22.11.0-alpha
5+
v25.11.0-alpha
66
</div>
77
</template>

0 commit comments

Comments
 (0)