You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The style for the download-link component is very different to the attachment-link component as shown in the screenshots below. Not only because of the bold text, but the download-link component also includes an SVG icon to the left of the link. The icon itself does not appear to best represent a download action, but instead would likely indicate a copy action.
@MartinJJones this may be a silly question but will this continue to be an issue once app consolidation is underway?
Good question, I'm not too familiar with the app consolidation work, but I think it would depend on the approach used, for example, you could lift and shift the download-link from one application into another. In this scenario the app would be consolidated, but the attachment/download link component variations could still exist.
I imagine that by using components from the gem and consolidating the components, it could potentially make the consolidation work a bit easier, from a frontend perspective at least, no HTML, CSS or JS to migrate over to the other application for example.
What
Replace the
download-link
component used in government-frontend with theattachment-link
from the publishing components gem.Download Link - https://govuk-government-frontend.herokuapp.com/component-guide/download_link
Attachment Link - https://components.publishing.service.gov.uk/component-guide/attachment_link/with_data_attributes/preview
Why
The style for the
download-link
component is very different to theattachment-link
component as shown in the screenshots below. Not only because of the bold text, but thedownload-link
component also includes an SVG icon to the left of the link. The icon itself does not appear to best represent a download action, but instead would likely indicate a copy action.Material Design - Content Copy icon - https://materialui.co/icon/content-copy
Font Awesome - Copy icon - https://fontawesome.com/icons/copy?f=classic&s=solid
Screenshot comparison
Example page: https://www.gov.uk/foreign-travel-advice/algeria
The text was updated successfully, but these errors were encountered: