refactor: ♻️ Rewrite sidebar with shadcn

This commit is contained in:
Jesse Wierzbinski 2024-11-30 00:58:04 +01:00
parent a7b570905a
commit 9ced2c98e4
No known key found for this signature in database
109 changed files with 2261 additions and 72 deletions

View file

@ -12,7 +12,7 @@
<img crossorigin="anonymous" :src="client.icon" class="h-10 w-10" :alt="`${client.name}'s logo'`" />
<div class="flex flex-col justify-between items-start">
<h2 class="text-gray-100 font-semibold">{{ client.name }}</h2>
<span class="underline text-primary-700">{{ client.link }}</span>
<span class="underline text-primary2-700">{{ client.link }}</span>
</div>
</a>
</li>
@ -29,7 +29,7 @@
<p>
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
target="_blank" class="underline text-primary-700">the issue tracker</a>.
target="_blank" class="underline text-primary2-700">the issue tracker</a>.
</p>
</div>
</template>

View file

@ -1,7 +1,6 @@
<template>
<div class="mx-auto max-w-2xl w-full">
<TimelineScroller>
<Greeting />
<Public />
</TimelineScroller>
</div>
@ -9,7 +8,6 @@
<script setup lang="ts">
import Greeting from "~/components/headers/greeting.vue";
import Public from "~/components/timelines/public.vue";
import TimelineScroller from "~/components/timelines/timeline-scroller.vue";

View file

@ -78,7 +78,7 @@
class="h-10 w-10" />
<div class="flex flex-col justify-between items-start">
<h2 class="font-bold text-gray-100">{{ client.name }}</h2>
<span class="underline text-primary-700">{{ client.link }}</span>
<span class="underline text-primary2-700">{{ client.link }}</span>
</div>
</a>
</li>
@ -90,7 +90,7 @@
<p class="mt-6 text-lg leading-8 text-gray-300">
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
target="_blank" class="underline text-primary-700">the issue tracker</a>.
target="_blank" class="underline text-primary2-700">the issue tracker</a>.
</p>
</div>
</div>

View file

@ -16,7 +16,7 @@
<p class="mt-6 text-lg leading-8 text-gray-300">
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
target="_blank" class="underline text-primary-700">the issue tracker</a>.
target="_blank" class="underline text-primary2-700">the issue tracker</a>.
</p>
</div>
</div>

View file

@ -9,7 +9,7 @@
account?</h1>
<div v-if="application" class="rounded-sm ring-2 ring-white/10 px-4 py-2 w-full">
<h2 class="font-bold text-gray-200">{{ application }}</h2>
<a v-if="website" :href="website" target="_blank" class="underline text-primary-700">{{ website
<a v-if="website" :href="website" target="_blank" class="underline text-primary2-700">{{ website
}}</a>
</div>
</div>
@ -64,7 +64,7 @@
class="h-10 w-10" />
<div class="flex flex-col justify-between items-start">
<h2 class="font-bold text-gray-100">{{ client.name }}</h2>
<span class="underline text-primary-700">{{ client.link }}</span>
<span class="underline text-primary2-700">{{ client.link }}</span>
</div>
</a>
</li>
@ -76,7 +76,7 @@
<p class="mt-6 text-lg leading-8 text-gray-300">
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
target="_blank" class="underline text-primary-700">the issue tracker</a>.
target="_blank" class="underline text-primary2-700">the issue tracker</a>.
</p>
</div>
</div>

View file

@ -60,7 +60,7 @@
<p class="mt-6 text-lg leading-8 text-gray-300">
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
target="_blank" class="underline text-primary-700">the issue tracker</a>.
target="_blank" class="underline text-primary2-700">the issue tracker</a>.
</p>
</div>
</div>