feat(LogoText): update logo navigation links

This commit is contained in:
kunish 2023-09-22 01:17:15 +08:00
parent 910bba5be4
commit d7e8c2f4a4
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -1,16 +1,22 @@
import { A } from '@solidjs/router'
import { endpoint } from '~/signals'
export const LogoText = () => (
<a
class="text-md flex items-center gap-1 whitespace-nowrap font-bold uppercase sm:text-xl"
href="https://github.com/metacubex/metacubexd"
target="_blank"
>
<span class="bg-gradient-to-br from-primary to-secondary bg-clip-text text-transparent">
<div class="text-md flex items-center gap-1 whitespace-nowrap font-bold uppercase sm:text-xl">
<A
class="bg-gradient-to-br from-primary to-secondary bg-clip-text text-transparent"
href={endpoint() ? '/' : '/setup'}
>
metacube
</span>
</A>
<span>(</span>
<div class="text-primary transition-transform hover:rotate-90 hover:scale-125">
<a
class="text-primary transition-transform hover:rotate-90 hover:scale-125"
href="https://github.com/metacubex/metacubexd"
target="_blank"
>
xd
</div>
</a>
<span>)</span>
</a>
</div>
)