mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 21:55:38 +08:00
22 lines
568 B
TypeScript
22 lines
568 B
TypeScript
import { endpoint } from '~/signals'
|
|
|
|
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
|
|
class="text-primary transition-transform hover:rotate-90 hover:scale-125"
|
|
href="https://github.com/metacubex/metacubexd"
|
|
target="_blank"
|
|
>
|
|
xd
|
|
</a>
|
|
<span>)</span>
|
|
</div>
|
|
)
|