code/components/LinkList.tsx

21 lines
383 B
TypeScript
Raw Normal View History

interface Props {
link: string;
text: string;
}
function LinkList(props: Props) {
return (
<li
2022-08-06 08:44:27 +00:00
class='opacity-75 hover:opacity-100 transition duration-500 ease-in-out py-2 text-base lg:text-2xl'
>
<a
href={props.link}
2022-08-06 08:44:27 +00:00
class='hover:underline-light-300 hover:text-blue-100'
>{props.text}</a>
</li>
);
}
export default LinkList;