Skip to content

Commit 10dc17d

Browse files
committed
fix: use anchor href instead of onClick for proper SEO indexing
1 parent 2b607ed commit 10dc17d

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

app/speak/page.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,18 @@ const SpeakDetails: React.FC = () => {
122122
</h2>
123123
<div className="[@media(max-width:392px)]:text-[8px] text-[8px] sm:text-[12px] md:text-[14px] lg:text-[16px]">
124124
<a
125-
onClick={() =>
126-
handleRedirect(
127-
'https://us.pycon.org/2014/speaking/proposal_advice/'
128-
)
129-
}
125+
href="https://us.pycon.org/2014/speaking/proposal_advice/"
130126
className="hover:underline block cursor-pointer"
127+
target="_blank"
128+
rel="noopener noreferrer"
131129
>
132130
Great Advice for Giving Talks
133131
</a>
134132
<a
135-
onClick={() =>
136-
handleRedirect('https://forms.gle/x2cc6CrRhbhDeaxe9')
137-
}
133+
href="https://forms.gle/x2cc6CrRhbhDeaxe9"
138134
className="hover:underline block cursor-pointer"
135+
target="_blank"
136+
rel="noopener noreferrer"
139137
>
140138
Submit Talk
141139
</a>

0 commit comments

Comments
 (0)