Repository navigation
Show the OpenDLP logo in the site header - #5
Merged
Merged
Conversation
The header showed the Sortition Foundation logo. It now shows the compact OpenDLP logo, opendlp-small-sized-logo.svg, the same file the OpenDLP app's header uses (sc-1089), with the alt text "OpenDLP". The logo file is 142x64 and keeps 12px of space around the mark. Negative margins take that space back, so the header keeps its height and the arch lines up with the page's left edge, where the old logo sat. logosortition.svg stays in the theme for pages about the Sortition Foundation. Nothing else on the site changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0114sGRp4g2kzKCWqprxHhVc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shortcut: sc-1089
Companion to sortitionfoundation/opendlp#429, which puts the same logo in the app.
Summary
The header of the docs site shows the OpenDLP logo in place of the Sortition Foundation logo. It is the compact logo from Klára's Figma frame (OpenDLP - UI, node 5878-5972), the same file the OpenDLP app's header now uses; the companion PR in
sortitionfoundation/opendlp(branch1089-opendlp-logo) puts it in the app. Only the header changes.themes/govuk-sortition/static/img/opendlp-small-sized-logo.svg, a byte-for-byte copy of the app'sbackend/static/img/opendlp-small-sized-logo.svg, the logo set's "compact logo for tight spaces such as a header bar".layouts/partials/header.html): the logo's<img>points at it, with the alt text "OpenDLP" and its size, 142×64.static/css/style.css):.header-logodraws it at its own size, 64px high, with negative margins of 12px at the top, bottom and left. The file keeps 12px of space around the mark, so the header keeps its height and the arch lines up with the page's left edge, where the old logo sat.Left as it is, deliberately:
logosortition.svgstays in the theme, for pages about the Sortition Foundation.static/files/animations/keep their Sortition Foundation logo, which links to the Foundation's site.Found on the way, not changed: the site has no favicon (
/favicon.icoanswers 404). Linkingopendlp-favicon.svg, as the app now does, would be a small follow-up.Testing
hugo --minify, Hugo 0.123.7) is the build check.git grep logosortition: the header no longer refers to it; only the animations do.<img>, stylesheet and logo file swapped into the page: the logo is 142×64 and loads, the header keeps its height (70px at 1440, 120px at 390, where the search box wraps under the logo), and the arch starts at the content's left edge (240px and 15px), where the old logo started.🤖 Generated with Claude Code
https://claude.ai/code/session_0114sGRp4g2kzKCWqprxHhVc