[site/community][xs]: do not open links in a new tab, esp, for newsletter sign up.

This commit is contained in:
Anuar Ustayev (aka Anu) 2023-04-20 11:43:53 +06:00 committed by GitHub
parent 342eabbb3d
commit 3a3ac5ce4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,6 @@ const IconButton = ({ Icon, text, href, ...props }) => {
<a
className="rounded border border-secondary px-5 py-3 text-primary dark:text-primary-dark flex items-center hover:bg-secondary hover:text-primary dark:hover:text-primary transition-all duration-200"
href={href}
target="_blank"
>
<Icon className="w-6 h-6 mr-2" />
{text}