Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix : target blank on external links on event page #237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

JeanneGrenet
Copy link
Collaborator

@JeanneGrenet JeanneGrenet commented Feb 12, 2025

Closes #229

All the internal links are open on the same page and all the external links are open on a new window.

@JeanneGrenet JeanneGrenet self-assigned this Feb 12, 2025
Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
forkit-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 8:34am

@@ -13,6 +13,7 @@ const { href } = Astro.props;
<a
href={href}
target="_blank"
rel="noreferrer"
rel="noreferer"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this incorrect one

@@ -399,6 +412,7 @@ const ctaTypes = getEventCtaTypes(event);
<a
class="group flex gap-2 text-white"
href={`https://www.google.com/maps/search/${event.data.location.name},${event.data.location.address}`}
target="_blank"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rel ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

External link issues on event
2 participants