mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45:35 +08:00
feat(LogoText): update logo navigation links
This commit is contained in:
parent
910bba5be4
commit
d7e8c2f4a4
@ -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>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user