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

Open links banner in new tab #236

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

jsuarezwd
Copy link

@jsuarezwd jsuarezwd commented Oct 21, 2021

What's new?

  • Banner link will open in a new tab

@@ -15,14 +15,14 @@
switch (selector)
{
case 1:
<a href="https://bit.ly/xam-dev"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
<a href="https://bit.ly/xam-dev" target="_blank()"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi Junior @jsuarezwd , the target attribute should have the value _blank instead of _blank(), also I consider we should include the attribute rel with the values noopener noreferrer for security reasons. See suggested changes:

Suggested change
<a href="https://bit.ly/xam-dev" target="_blank()"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>
<a href="https://bit.ly/xam-dev" target="_blank" rel="noopener noreferrer"><img class="img-fluid" src="~/img/banners/megsoft-job.png" /></a>

Can you please apply those changes to each banner?

Source:

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.

None yet

2 participants