metacubexd/src/components/LogoText.tsx

22 lines
568 B
TypeScript
Raw Normal View History

import { endpoint } from '~/signals'
2023-09-07 12:31:22 +08:00
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>
2023-09-07 12:31:22 +08:00
<span>(</span>
<a
class="text-primary transition-transform hover:rotate-90 hover:scale-125"
href="https://github.com/metacubex/metacubexd"
target="_blank"
>
2023-09-07 12:31:22 +08:00
xd
</a>
2023-09-07 12:31:22 +08:00
<span>)</span>
</div>
2023-09-07 12:31:22 +08:00
)