Skip to content

Commit

Permalink
Update global header page
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 12, 2024
1 parent 0793503 commit 2fb1d77
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/components/global-header/default/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@ private: true
logo: {
href: "#/"
},
topNavigation: [
{
text: "Search",
href: "#/search",
icon: "search"
},
{
text: "Shop",
href: "#/shop",
icon: "shop"
},
{
text: "Sign in",
href: "#/sign-in",
icon: "user"
}
],
navigation: [
{
text: "Visit",
Expand All @@ -52,5 +35,22 @@ private: true
text: "Professional guidance and services",
href: "#/professional-guidance-and-services"
}
],
topNavigation: [
{
text: "Search",
href: "#/search",
icon: "search"
},
{
text: "Shop",
href: "#/shop",
icon: "shop"
},
{
text: "Sign in",
href: "#/sign-in",
icon: "user"
}
]
}) }}
50 changes: 50 additions & 0 deletions src/components/global-header/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,53 @@ group: components
{{ example({ group: "components", item: "global-header", example: "default", html: true, nunjucks: true, size: "m" }) }}

{{ status(true, 1, 1, 1, 1, false) }}

## Content

The logo should link to the home page of the main National Archives website at [www.nationalarchives.gov.uk](https://www.nationalarchives.gov.uk/).

The six main navigation links should be:

<dl class="tna-dl">
<dt>Visit</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/about/visit-us/">https://www.nationalarchives.gov.uk/about/visit-us/</a>
</dd>
<dt>What’s on</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/about/visit-us/whats-on/">https://www.nationalarchives.gov.uk/about/visit-us/whats-on/</a>
</dd>
<dt>Explore the collection</dt>
<dd>
<a href="https://beta.nationalarchives.gov.uk/explore-the-collection/">https://beta.nationalarchives.gov.uk/explore-the-collection/</a>
</dd>
<dt>Help using the archive</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/help-with-your-research/">https://www.nationalarchives.gov.uk/help-with-your-research/</a>
</dd>
<dt>Education</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/education/">https://www.nationalarchives.gov.uk/education/</a>
</dd>
<dt>Professional guidance and services</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/professional-guidance-and-services/">https://www.nationalarchives.gov.uk/professional-guidance-and-services/</a>
</dd>
</dl>

There should be two additional top links with an optional third:

<dl class="tna-dl">
<dt>Search</dt>
<dd>
<a href="https://www.nationalarchives.gov.uk/search/">https://www.nationalarchives.gov.uk/search/</a>
</dd>
<dt>Shop</dt>
<dd>
<a href="https://shop.nationalarchives.gov.uk/">https://shop.nationalarchives.gov.uk/</a>
</dd>
<dt>Login</dt>
<dd>Optional link per-service</dd>
</dl>

Links may need to change slightly based on your environment.

0 comments on commit 2fb1d77

Please sign in to comment.