generated from Fascinated/nextjs-13-template-with-tailwindcss
make links open in new tabs
This commit is contained in:
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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user