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 = () => (
<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
</A>
<span>(</span>
<a <a
class="text-md flex items-center gap-1 whitespace-nowrap font-bold uppercase sm:text-xl" class="text-primary transition-transform hover:rotate-90 hover:scale-125"
href="https://github.com/metacubex/metacubexd" href="https://github.com/metacubex/metacubexd"
target="_blank" target="_blank"
> >
<span class="bg-gradient-to-br from-primary to-secondary bg-clip-text text-transparent">
metacube
</span>
<span>(</span>
<div class="text-primary transition-transform hover:rotate-90 hover:scale-125">
xd xd
</div>
<span>)</span>
</a> </a>
<span>)</span>
</div>
) )