Skip to content

add arrow link partial and example

Tyler Williams requested to merge im-1088-anchor-link-with-arrow into master

Why is this change being made?

Closes https://gitlab.com/gitlab-com/marketing/inbound-marketing/growth/-/issues/1088

Adds a partial for the arrow link in the blog template, which has two different functions from the inline links:

  1. Wrapped with a p tag to give it block semantics
  2. Adds the arrow SVG in the link to differentiate it from the inline links.

Useful for mid-page call outs, or other links that should be distinct from the inline links.

If we don't want authors using this specifically, we can wire it up to specific content blocks in the future and handle that partial logic on the Middleman side of things.

Author Checklist

  • Provided a concise title for the MR
  • Added a description to this MR explaining the reasons for the proposed change, per say-why-not-just-what
  • Assign this change to the correct DRI

Merge request reports