From 6216a505849196c499f5d6c2466a4eefe1432187 Mon Sep 17 00:00:00 2001
From: Bjarke Madsen <bjarke@nordu.net>
Date: Tue, 11 Feb 2025 23:50:05 +0100
Subject: [PATCH] Use the first proper page for each section when navigating
 using the section buttons

---
 compendium-frontend/src/components/SectionNavigation.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compendium-frontend/src/components/SectionNavigation.tsx b/compendium-frontend/src/components/SectionNavigation.tsx
index a5a38fdc..17f9dabf 100644
--- a/compendium-frontend/src/components/SectionNavigation.tsx
+++ b/compendium-frontend/src/components/SectionNavigation.tsx
@@ -1,7 +1,7 @@
 import React from 'react';
 import { useNavigate } from 'react-router-dom';
 import { Container, Row, ButtonToolbar, Button } from 'react-bootstrap';
-import { Sections } from '../helpers/constants';
+import { Sections } from "compendium/helpers/constants";
 
 interface inputProps {
     activeCategory: Sections
@@ -20,7 +20,7 @@ const SectionNavigation = ({ activeCategory }: inputProps) => {
                         <span>{Sections.Organisation}</span>
                     </Button>
                     <Button
-                        onClick={() => navigate(activeCategory === Sections.Policy ? '.' : '/policy')}
+                        onClick={() => navigate(activeCategory === Sections.Policy ? '.' : '/corporate-strategy')}
                         variant={'nav-box'}
                         active={activeCategory === Sections.Policy}>
                         <span>{Sections.Policy}</span>
@@ -32,7 +32,7 @@ const SectionNavigation = ({ activeCategory }: inputProps) => {
                         <span>{Sections.ConnectedUsers}</span>
                     </Button>
                     <Button
-                        onClick={() => navigate(activeCategory === Sections.Network ? '.' : '/traffic-volume')}
+                        onClick={() => navigate(activeCategory === Sections.Network ? '.' : '/dark-fibre-lease')}
                         variant={'nav-box'}
                         active={activeCategory === Sections.Network}>
                         <span>{Sections.Network}</span>
-- 
GitLab