Skip to content

Commit bb70285

Browse files
Merge pull request #708 from reach2saksham/fix/learn-more-button
fix(ui): remove target=_blank from Learn More About Us button to prevent theme flashes
2 parents 4114ed4 + 24867d6 commit bb70285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default function Home() {
150150
transition={{ duration: 0.8, delay: 0.8 }}
151151
className="mt-12 mx-4 md:mx-0 md:mt-8 text-center lg:text-left relative lg:top-[20px]"
152152
>
153-
<Link href="/about" target="_blank" className="group relative inline-block text-lg">
153+
<Link href="/about" className="group relative inline-block text-lg">
154154
<span className="relative z-10 block overflow-hidden rounded-lg border-2 border-gray-900 px-5 py-3 transition-colors duration-300 ease-in-out group-hover:text-white dark:group-hover:text-black">
155155
<span className="absolute inset-0 h-full w-full rounded-lg bg-white px-5 py-3"></span>
156156
<span className="absolute left-0 -ml-2 h-48 w-72 origin-top-right -translate-x-full translate-y-12 -rotate-90 bg-[#00843D] transition-all duration-300 ease-in-out group-hover:-rotate-180 dark:bg-yellow-400"></span>

0 commit comments

Comments
 (0)