Skip to content

Commit d1f831b

Browse files
Add navbar config
1 parent 262f6ac commit d1f831b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

dotcom-rendering/src/components/DirectoryPageNav.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ interface DirectoryPageNavConfig {
3737
}
3838

3939
const configs = [
40+
// Winter Olympics 2026
4041
{
4142
pageIds: [
4243
'sport/winter-olympics-2026',
@@ -80,6 +81,35 @@ const configs = [
8081
'https://uploads.guim.co.uk/2026/02/03/winter-olympics-980px.jpg',
8182
},
8283
},
84+
// Winter Paralympics 2026
85+
{
86+
pageIds: [
87+
'sport/winter-paralympics-2026',
88+
'global/ng-interactive/2026/feb/27/2026-winter-paralympics-results',
89+
'global/ng-interactive/2026/feb/27/2026-winter-paralympics-medal-table',
90+
],
91+
tagIds: [],
92+
textColor: palette.neutral[7],
93+
backgroundColor: '#22B24B',
94+
title: {
95+
label: 'Winter Paralympics 2026',
96+
id: 'sport/winter-paralympics-2026',
97+
},
98+
links: [
99+
{
100+
label: 'Results',
101+
id: 'global/ng-interactive/2026/feb/27/2026-winter-paralympics-results',
102+
},
103+
{
104+
label: 'Medal table',
105+
id: 'global/ng-interactive/2026/feb/27/2026-winter-paralympics-medal-table',
106+
},
107+
{
108+
label: 'Full coverage',
109+
id: 'sport/winter-paralympics-2026',
110+
},
111+
],
112+
},
83113
] satisfies DirectoryPageNavConfig[];
84114

85115
export const DirectoryPageNav = ({ pageId, pageTags }: Props) => {

0 commit comments

Comments
 (0)