Skip to content

Commit

Permalink
Updated SVG Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Hallett committed Jan 10, 2025
1 parent 9e3bd0f commit b7ac0de
Showing 1 changed file with 57 additions and 41 deletions.
98 changes: 57 additions & 41 deletions app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@

<!DOCTYPE html>
<html lang="en" class="govuk-template">
<head>
@if(hasError) {
<title>Error: @title - Transfer Digital Records - GOV.UK</title>
} else {
<title>@title - Transfer Digital Records - GOV.UK</title>
}
<head>
@if(hasError) {
<title>Error: @title - Transfer Digital Records - GOV.UK</title>
} else {
<title>@title - Transfer Digital Records - GOV.UK</title>
}

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex">
<link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")">
<link rel="shortcut icon" type="image/ico" href="@routes.Assets.versioned("images/favicon.ico")">
<script @{CSPNonce.attr} src="@routes.Assets.versioned("javascripts/all.js")" type="text/javascript"></script>
<script @{CSPNonce.attr} src="@routes.Assets.versioned("javascripts/main.js")" type="text/javascript"></script>
<script @{
CSPNonce.attr
} src="@routes.Assets.versioned("javascripts/all.js")" type="text/javascript"></script>
<script @{
CSPNonce.attr
} src="@routes.Assets.versioned("javascripts/main.js")" type="text/javascript"></script>

</head>
<body class="govuk-template__body js-enabled">
Expand All @@ -31,20 +35,28 @@
<div class="govuk-header__container govuk-width-container tna-header">
<div class="govuk-header__logo">
<a href="@Messages("nationalArchives.homepage")" class="govuk-header__link govuk-header__link--homepage">
<svg xmlns="http://www.w3.org/2000/svg" width="220" viewBox="0 0 250 35">
<svg
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
class="tna-logo"
viewBox="0 0 160 160"
style="pointer-events: auto;"
>
<title>The National Archives</title>
<g clip-path="url(#a)">
<path fill="currentColor" d="M1.17 1.17h48.58v31.97H1.17V1.17ZM0 0v34.31h50.92V0H0Z"/>
<path fill="currentColor" d="M13.41 12.33h-3.4v-1.91H19v1.91h-3.4V23.9h-2.19V12.33ZM19.86 10.42h2.19v5.68h5.24v-5.68h2.19V23.9h-2.19v-5.86h-5.24v5.86h-2.19V10.42ZM32 10.42h7.72v1.89h-5.53v3.81h4.63v1.9h-4.63v3.96h5.53v1.92H32V10.42ZM50.91 1.17h98.33v31.97H50.91V1.17ZM49.74 0v34.31h100.67V0H49.74Z"/>
<path fill="currentColor" d="M62.14 10.42h2.36l4.03 7.89c.35.68.72 1.72 1.04 2.54h.14c-.14-1.09-.21-2.25-.21-3.01v-7.42h2.17V23.9h-2.35l-3.97-7.75c-.43-.86-.74-1.68-1.09-2.64h-.14c.1.86.21 2.11.21 3.14v7.25h-2.19V10.42ZM79.78 18.8l-1.06-3.95c-.2-.7-.35-1.39-.55-2.38h-.12c-.19.98-.31 1.62-.53 2.38l-1.07 3.95h3.33Zm-2.99-8.38h2.66l3.89 13.48h-2.23l-.92-3.28h-4.14l-.9 3.28h-2.27l3.91-13.48ZM85.7 12.33h-3.4v-1.91h8.99v1.91h-3.4V23.9H85.7V12.33ZM94.59 10.42H92.4V23.9h2.19V10.42ZM104.8 17.18c0-3.32-1.04-5.04-3.03-5.04-2.01 0-3.03 1.72-3.03 5.04 0 3.3 1.02 5 3.03 5 2 0 3.03-1.7 3.03-5Zm-8.36 0c0-4.39 1.92-6.95 5.34-6.95 3.4 0 5.32 2.56 5.32 6.95 0 4.37-1.92 6.91-5.32 6.91-3.43 0-5.34-2.54-5.34-6.91ZM109.06 10.42h2.36l4.03 7.89c.35.68.72 1.72 1.04 2.54h.14c-.14-1.09-.21-2.25-.21-3.01v-7.42h2.17V23.9h-2.35l-3.97-7.75c-.43-.86-.74-1.68-1.09-2.64h-.14c.1.86.21 2.11.21 3.14v7.25h-2.19V10.42ZM126.75 18.8l-1.06-3.95c-.2-.7-.35-1.39-.55-2.38h-.12c-.2.98-.31 1.62-.53 2.38l-1.07 3.95h3.33Zm-2.99-8.38h2.66l3.89 13.48h-2.23l-.92-3.28h-4.14l-.9 3.28h-2.27l3.91-13.48ZM131.49 10.42h2.19v11.56h5.26v1.92h-7.45V10.42ZM150.43 1.17h98.33v31.97h-98.33V1.17Zm-1.18 33.15h100.67V0H149.25v34.32Z"/>
<path fill="currentColor" d="m166.17 18.76-1.06-3.95c-.2-.7-.35-1.39-.55-2.38h-.12c-.2.98-.31 1.62-.53 2.38l-1.07 3.95h3.33Zm-2.99-8.38h2.66l3.89 13.48h-2.23l-.92-3.28h-4.14l-.9 3.28h-2.27l3.91-13.48ZM174.38 17.08c1.58 0 2.13-1.02 2.13-2.42 0-1.37-.61-2.42-2.13-2.42h-1.68v4.84h1.68Zm-3.85-6.7h4.03c2.85 0 4.22 1.54 4.22 4.14 0 1.95-.94 3.52-2.33 3.94v.12c.64.72 2.5 4.75 3.01 4.96v.31h-2.36c-.63-.35-2.29-4.53-2.8-4.88h-1.58v4.88h-2.19V10.38ZM182.52 17.08c0 3.36 1.17 5.06 2.99 5.06 1.8 0 2.52-1.27 2.5-3.26l2.19.08c.02.1.04.27.04.37 0 2.77-1.35 4.73-4.71 4.73-3.24 0-5.34-2.44-5.34-6.97 0-4.43 2.09-6.89 5.34-6.89 4.05 0 4.73 2.91 4.73 4.53 0 .2-.02.45-.04.57l-2.21.08c.02-2.07-.72-3.26-2.5-3.26-1.8-.02-2.99 1.72-2.99 4.96ZM192.03 10.38h2.19v5.68h5.23v-5.68h2.19v13.48h-2.19V18h-5.23v5.86h-2.19V10.38ZM206.73 10.38h-2.19v13.48h2.19V10.38ZM208.5 10.38h2.29l2.03 7.75c.31 1.21.49 2.28.7 3.53h.16c.22-1.27.39-2.32.7-3.53l2.01-7.75h2.29l-3.81 13.48h-2.56l-3.81-13.48Z"/>
<path fill="currentColor" d="M220.18 10.38h7.72v1.9h-5.53v3.8H227v1.9h-4.63v3.96h5.53v1.92h-7.72V10.38ZM231.32 19.29c-.02.16-.04.33-.04.49 0 1.21.49 2.34 2.15 2.34 1.35 0 2.07-.74 2.07-1.82 0-.98-.43-1.54-1.41-1.89l-2.17-.8c-1.52-.57-2.66-1.54-2.66-3.61 0-2.23 1.47-3.81 4.16-3.81 3.44 0 4.05 2.27 4.05 3.69 0 .21-.02.45-.06.66l-2.15.04c.02-.14.04-.33.04-.47 0-1.05-.37-1.99-1.92-1.99-1.31 0-1.9.78-1.9 1.78 0 1.09.59 1.56 1.39 1.86l2.21.8c1.66.61 2.68 1.66 2.68 3.63 0 2.27-1.5 3.87-4.4 3.87-3.69 0-4.3-2.46-4.3-4.06 0-.19.02-.41.06-.62l2.2-.09Z"/>
<path
fill="transparent"
d="M0 0h160v160H0z"
class="tna-logo__background"
style="pointer-events: auto;"
></path>
<g class="tna-logo__foreground" fill="currentColor">
<path
d="M1.9 107.2h156.3V158H1.9v-50.8zm0-52.7h156.3v50.8H1.9V54.5zm0-52.6h77.2v50.8H1.9V1.9zm79 0h77.2v50.8H80.9V1.9zm0-1.9H0v160h160V0H80.9z"
></path>
<path
d="M21.3 19.5h-5.4v-3h14.3v3h-5.4v18.4h-3.5zM31.6 16.5H35v9h8.4v-9h3.4v21.4h-3.4v-9.3H35v9.3h-3.4zM50.9 16.5h12.2v3h-8.8v6.1h7.4v3h-7.4v6.3h8.8v3H50.9zM19.7 69.2h3.8l6.4 12.5c.6 1.1 1.1 2.7 1.6 4h.2c-.2-1.7-.3-3.6-.3-4.8V69.2h3.5v21.4h-3.7l-6.3-12.3c-.7-1.4-1.2-2.7-1.7-4.2H23c.2 1.4.3 3.3.3 5v11.5h-3.5c-.1 0-.1-21.4-.1-21.4zM47.8 82.6l-1.7-6.3c-.3-1.1-.6-2.2-.9-3.8H45c-.3 1.6-.5 2.6-.8 3.8l-1.7 6.3h5.3zM43 69.2h4.2l6.2 21.4h-3.5l-1.5-5.2h-6.6l-1.4 5.2h-3.6L43 69.2zM57.2 72.3h-5.4v-3.1H66v3.1h-5.4v18.4h-3.4zM67.8 69.2h3.5v21.4h-3.5zM87.5 80c0-5.3-1.7-8-4.8-8-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5v21.5h-3.5v-9.4h-8.3v9.4H68zM87.9 121.8h3.5v21.4h-3.5zM94.2 121.8h3.6l3.2 12.3c.5 1.9.8 3.6 1.1 5.6h.2c.3-2 .6-3.7 1.1-5.6l3.2-12.3h3.6l-6.1 21.4H100l-5.8-21.4zM112.7 121.8H125v3.1h-8.8v6h7.4v3h-7.4v6.3h8.8v3.1h-12.3zM130.4 136c0 .2-.1.5-.1.8 0 1.9.8 3.7 3.4 3.7 2.1 0 3.3-1.2 3.3-2.9 0-1.6-.7-2.4-2.2-3l-3.4-1.3c-2.4-.9-4.2-2.4-4.2-5.7 0-3.5 2.3-6.1 6.6-6.1 5.5 0 6.4 3.6 6.4 5.9 0 .3 0 .7-.1 1.1l-3.4.1c0-.2.1-.5.1-.7 0-1.7-.6-3.2-3-3.2-2.1 0-3 1.2-3 2.8 0 1.7.9 2.5 2.2 2.9l3.5 1.3c2.6 1 4.3 2.6 4.3 5.8 0 3.6-2.4 6.1-7 6.1-5.9 0-6.8-3.9-6.8-6.5 0-.3 0-.6.1-1l3.3-.1z"
></path>
</g>
<defs>
<clipPath id="a">
<path fill="currentColor" d="M0 0h249.93v34.48H0z"/>
</clipPath>
</defs>
</svg>
<span class="govuk-visually-hidden">
The National Archives
Expand Down Expand Up @@ -86,39 +98,41 @@
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">BETA</strong>
@if(isLoggedIn) {
@if(isJudgmentUser){
@if(isJudgmentUser) {
@feedbackLink("https://www.smartsurvey.co.uk/s/5YDPSA/")
}else{
} else {
@feedbackLink("https://www.smartsurvey.co.uk/s/tdr-feedback/")
}
}else {
} else {
<span class="govuk-phase-banner__text">
This is a new service – your feedback will help us to improve it. Please
<a class="govuk-link" target="_blank" rel="noreferrer noopener" href="/contact"> get in touch (opens in new tab).</a>
<a class="govuk-link" target="_blank" rel="noreferrer noopener" href="/contact">
get in touch (opens in new tab).</a>
</span>
}
</p>
</div>
@backLink.getOrElse("")

<main class="govuk-main-wrapper " id="main-content" role="main">
@content
@content
</main>
</div>

@if(isLoggedIn) {
<dialog class="timeout-dialog">
<div>
<h2 class="govuk-heading-m">You have been inactive for more than 55 minutes.</h2>
<p class="govuk-body">If you do not respond within 5 minutes, you will be logged out to keep your information secure.</p>
</div>
<div class="govuk-button-group">
<button id="extend-timeout" class="govuk-button" role="button">
Keep me signed in
</button>
<a class="govuk-link" href="/sign-out">Sign me out</a>
</div>
</dialog>
<dialog class="timeout-dialog">
<div>
<h2 class="govuk-heading-m">You have been inactive for more than 55 minutes.</h2>
<p class="govuk-body">
If you do not respond within 5 minutes, you will be logged out to keep your information secure.</p>
</div>
<div class="govuk-button-group">
<button id="extend-timeout" class="govuk-button" role="button">
Keep me signed in
</button>
<a class="govuk-link" href="/sign-out">Sign me out</a>
</div>
</dialog>
}

<footer class="govuk-footer " role="contentinfo">
Expand Down Expand Up @@ -159,12 +173,12 @@ <h2 class="govuk-visually-hidden">Support links</h2>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" target="_blank" href="@routes.CookiesController.cookies()">
Cookies
Cookies
</a>
</li>
<li class="govuk-footer__inline-list-item">
<a class="govuk-footer__link" target="_blank" href="@routes.AccessibilityController.accessibilityStatement()">
Accessibility statement
Accessibility statement
</a>
</li>
</ul>
Expand All @@ -174,11 +188,13 @@ <h2 class="govuk-visually-hidden">Support links</h2>
</svg>
<span class="govuk-footer__licence-description">
All content is available under the
<a class="govuk-footer__link" target="_blank" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, except where otherwise stated
<a class="govuk-footer__link" target="_blank" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">
Open Government Licence v3.0</a>, except where otherwise stated
</span>
</div>
<div class="govuk-footer__meta-item">
<a class="govuk-footer__link govuk-footer__copyright-logo" target="_blank" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">© Crown copyright</a>
<a class="govuk-footer__link govuk-footer__copyright-logo" target="_blank" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">
© Crown copyright</a>
</div>
</div>
</div>
Expand Down

0 comments on commit b7ac0de

Please sign in to comment.