mirror of
https://github.com/supabase/supabase.git
synced 2026-07-05 18:14:20 +08:00
22 lines
601 B
TypeScript
22 lines
601 B
TypeScript
import { IconArrowRight, IconChevronRight } from '@supabase/ui'
|
|
import Link from 'next/link'
|
|
|
|
function TextLink({ url, label }: any) {
|
|
return (
|
|
<a
|
|
href={url}
|
|
className="text-scale-1100 hover:text-scale-1200 mt-3 block cursor-pointer text-sm"
|
|
>
|
|
<div className="group flex items-center gap-1">
|
|
<span className="sr-only">{`${label} about ${url}`}</span>
|
|
<span>{label}</span>
|
|
<div className="transition-all group-hover:ml-0.5">
|
|
<IconChevronRight size={14} strokeWidth={2} />
|
|
</div>
|
|
</div>
|
|
</a>
|
|
)
|
|
}
|
|
|
|
export default TextLink
|