Files
supabase/apps/www/components/TextLink.tsx
Isaiah Hamilton 4a6265038b chore: improve seo
2022-06-29 19:04:02 -04:00

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