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

build(deps): move to govuk-eleventy-plugin v6.0.3 #103

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

michalc
Copy link
Member

@michalc michalc commented Jan 9, 2024

This moves to the govuk-eleventy-plugin for documentation to the current latest, v6.0.3

There are a few breaking changes, documented at
https://x-govuk.github.io/govuk-eleventy-plugin/upgrading/5-to-6/. The trikiest of these is the change of how the organisation name is now inside the SVG logo. This required a few iterations of:

  • Editing the logo with Inkscape
  • Manually editing the SVG / associated CSS
  • Using an SVG minifier to reduce its size

The logo is now a bit smaller in size than it was even though it also has the "DBT" text in it, but from what I can tell looking at it, no loss of quality. So a small step forward on that front even ignoring the version bump.

I did spend some time trying to put the organisation name in as HTML text in the page, but it required too much faff with CSS to get it looking right. It's essentially fighting the latest version of GOV.UK frontend which expects it to be part of the logo.

This moves to the govuk-eleventy-plugin for documentation to the current
latest, v6.0.3

There are a few breaking changes, documented at
https://x-govuk.github.io/govuk-eleventy-plugin/upgrading/5-to-6/. The trikiest
of these is the change of how the organisation name is now inside the SVG logo.
This required a few iterations of:

- Editing the logo with Inkscape
- Manually editing the SVG / associated CSS
- Using an SVG minifier to reduce its size

The logo is now a bit smaller in size than it was even though it also has the
"DBT" text in it, but from what I can tell looking at it, no loss of quality.
So a small step forward on that front even ignoring the version bump.

I did spend some time trying to put the organisation name in as HTML text in
the page, but it required too much faff with CSS to get it looking right. It's
essentially fighting the latest version of GOV.UK frontend which expects it to
be part of the logo.
@michalc michalc merged commit 061dec9 into main Jan 9, 2024
2 of 5 checks passed
@michalc michalc deleted the build/move-to-eleventy-plugin-6 branch January 9, 2024 10:15
michalc added a commit to uktrade/stream-unzip that referenced this pull request Jan 9, 2024
michalc added a commit to uktrade/stream-unzip that referenced this pull request Jan 9, 2024
michalc added a commit to uktrade/pg-bulk-ingest that referenced this pull request Jan 9, 2024
michalc added a commit to uktrade/pg-bulk-ingest that referenced this pull request Jan 9, 2024
michalc added a commit to uktrade/stream-read-xbrl that referenced this pull request Jan 9, 2024
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.

1 participant