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 = () => ( export const LogoText = () => (
<a <div class="text-md flex items-center gap-1 whitespace-nowrap font-bold uppercase sm:text-xl">
class="text-md flex items-center gap-1 whitespace-nowrap font-bold uppercase sm:text-xl" <A
href="https://github.com/metacubex/metacubexd" class="bg-gradient-to-br from-primary to-secondary bg-clip-text text-transparent"
target="_blank" href={endpoint() ? '/' : '/setup'}
> >
<span class="bg-gradient-to-br from-primary to-secondary bg-clip-text text-transparent">
metacube metacube
</span> </A>
<span>(</span> <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 xd
</div> </a>
<span>)</span> <span>)</span>
</a> </div>
) )