general cleanup
Some checks failed
Build and publish the docker image / build (push) Failing after 1m16s
Some checks failed
Build and publish the docker image / build (push) Failing after 1m16s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
@ -24,7 +24,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="bg-crust w-40 lg:w-[11rem] md:w-[13.5rem] rounded-lg">
|
||||
<div class="bg-crust w-40 h-full lg:w-[11rem] md:w-[13.5rem] rounded-lg flex flex-col justify-between">
|
||||
<router-link :to="`/directory/game/${encodeURIComponent(category.name)}`">
|
||||
<img :src="category.image" class="rounded-lg rounded-b-none w-full" />
|
||||
</router-link>
|
||||
|
@ -32,12 +32,11 @@ export default {
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
<search-bar class="mt-4 mr-4 hidden md:inline-block sm:mt-0"></search-bar>
|
||||
<search-bar class="mt-4 mr-4 hidden md:inline-block sm:mt-0 grow"></search-bar>
|
||||
|
||||
<div class="text-contrast hidden space-x-4 md:block">
|
||||
<div class="text-contrast hidden md:block">
|
||||
<a href="https://codeberg.org/safetwitch/safetwitch" target="_blank">{{ $t('nav.code') }}</a>
|
||||
<a :href="'https://twitch.tv' + $route.fullPath">Twitch</a>
|
||||
<router-link to="/privacy">{{ $t('nav.privacy') }}</router-link>
|
||||
<a href="https://git.ngn.tf/ngn/safetwitch">Modified Code</a>
|
||||
<router-link to="/following">{{ $t('home.following') }}</router-link>
|
||||
<router-link to="/settings">{{ $t('nav.settings') }}</router-link>
|
||||
</div>
|
||||
@ -60,8 +59,8 @@ export default {
|
||||
<search-bar></search-bar>
|
||||
<ul class="inline-flex space-x-3 md:space-x-6 font-medium">
|
||||
<a href="https://codeberg.org/dragongoose/safetwitch">{{ $t('nav.code') }}</a>
|
||||
<a href="https://git.ngn.tf/ngn/safetwitch">Modified Code</a>
|
||||
<a :href="'https://twitch.tv' + $route.fullPath">Twitch</a>
|
||||
<router-link to="/privacy">{{ $t('nav.privacy') }}</router-link>
|
||||
<router-link to="/following">{{ $t('home.following') }}</router-link>
|
||||
<router-link to="/settings">{{ $t('nav.settings') }}</router-link>
|
||||
</ul>
|
||||
@ -69,3 +68,15 @@ export default {
|
||||
</div>
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
a:hover, router-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a + a::before {
|
||||
content: "|";
|
||||
margin: 0 8px;
|
||||
font-weight: 100;
|
||||
}
|
||||
</style>
|
||||
|
@ -25,7 +25,7 @@ export default {
|
||||
:placeholder="$t('main.search')"
|
||||
v-model="searchInput"
|
||||
@keyup.enter="redirectToSearch"
|
||||
class="rounded-md p-1 pl-8 w-56 text-black bg-white placeholder:text-black"
|
||||
class="rounded-md p-1 pl-8 w-56 text-white bg-black border-white outline-none placeholder:text-white w-full"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user