make links open in new tabs

This commit is contained in:
Lee 2023-07-01 22:21:09 +01:00
parent 6db4e47897
commit 7f6cd99d76

@ -17,7 +17,9 @@ export default function Home() {
key={index} key={index}
className={`mt-4 px-4 w-60 py-2 rounded ${link.color.normal} hover:${link.color.hover}`} className={`mt-4 px-4 w-60 py-2 rounded ${link.color.normal} hover:${link.color.hover}`}
> >
<a href={link.url}>{link.title}</a> <a href={link.url} target="_blank">
{link.title}
</a>
</button> </button>
</> </>
); );