Skip to content

Commit 05c2651

Browse files
authored
button now redirects to the correct link (#525)
1 parent 2bd22a0 commit 05c2651

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/TryNow/Paragraph.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const Paragraph: React.FC<ParagraphProps> = ({
1616
title,
1717
content,
1818
button,
19-
buttonLink,
2019
links,
2120
}) => {
2221
const contentPoints = content.includes('\n')
@@ -80,7 +79,9 @@ const Paragraph: React.FC<ParagraphProps> = ({
8079
className="mt-4 bg-blue-600 text-white font-bold py-2 px-6 rounded-full shadow-lg hover:bg-blue-700 transition"
8180
whileHover="hover"
8281
variants={paragraphAnimations.button}
83-
onClick={() => window.open(buttonLink, '_blank')}
82+
onClick={() =>
83+
window.open('https://musicblocks.sugarlabs.org/', '_blank')
84+
}
8485
>
8586
{button}
8687
</motion.button>

0 commit comments

Comments
 (0)