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

YSP-426: Placement for the external link icon on footer logo #343

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

dblanken-yale
Copy link
Contributor

@dblanken-yale dblanken-yale commented Mar 13, 2024

YSP-426: Placement for the external link icon on footer logo

The mega footer allows images to be linked, which could be external, causing the external link to occur in some cases, which looks odd. This skips those and any that would contain an image inside of the link since it would look odd in most cases I can think of.

Description of work

  • Excludes link treatment for links containing an image tag

Testing Link(s)

Functional Review Steps

  • Change footer to use mega footer
  • Add external links to a footer logo image
  • Ensure the image is not decorated when visiting pages
  • Ensure other blocks look ok

The mega footer allows images to be linked, which could be external,
causing the external link to occur in some cases, which looks odd.  This
skips those and any that would contain an image inside of the link since
it would look odd in most cases I can think of.
Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for dev-component-library-twig ready!

Name Link
🔨 Latest commit ae49768
🔍 Latest deploy log https://app.netlify.com/sites/dev-component-library-twig/deploys/65f1eb5b7a569d000850f8bc
😎 Deploy Preview https://deploy-preview-343--dev-component-library-twig.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@joetower joetower left a comment

Choose a reason for hiding this comment

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

@dblanken-yale Looks good to me, straight-forward change 👍

@dblanken-yale dblanken-yale merged commit 0aff2c8 into develop Mar 14, 2024
6 checks passed
@dblanken-yale dblanken-yale deleted the YSP-426-no-external-link-for-image branch March 14, 2024 16:38
@vinmassaro vinmassaro mentioned this pull request Mar 22, 2024
Copy link

🎉 This PR is included in version 1.40.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants