diff --git a/src/app/app.jsx b/src/app/app.jsx index d4028008f..82c5015c2 100644 --- a/src/app/app.jsx +++ b/src/app/app.jsx @@ -46,7 +46,8 @@ import { PATHNAME_ABOUT_CONCEPTS, PATHNAME_ABOUT_INFORMATIONMODELS, PATHNAME_AI, - PATHNAME_TRANSPORT + PATHNAME_TRANSPORT, + PATHNAME_REQUESTS } from '../constants/constants'; import ScrollToTop from '../components/scroll-to-top'; import { getConfig } from '../config'; @@ -58,6 +59,7 @@ import { CmsArticlePage } from '../pages/cms-article-page/cms-article-page'; import OrganizationsRouter from '../pages/organizations'; import InformationPage from '../pages/cms-information-page'; import TransportPage from '../pages/cms-transport-page'; +import RequestsPage from '../pages/requests'; import { AiProjectPage } from '../pages/ai-project-page'; import { parseSearchParams } from '../lib/location-history-helper'; import routes from '../routes'; @@ -113,7 +115,8 @@ export function App({ language, onChangeLanguage }) { [PATHNAME_ABOUT_CONCEPTS]: InformationPage, [PATHNAME_ABOUT_INFORMATIONMODELS]: InformationPage, [PATHNAME_AI]: AiProjectPage, - [PATHNAME_TRANSPORT]: TransportPage + [PATHNAME_TRANSPORT]: TransportPage, + [PATHNAME_REQUESTS]: RequestsPage }; return ( diff --git a/src/constants/constants.js b/src/constants/constants.js index 59cde63b1..a21e967eb 100644 --- a/src/constants/constants.js +++ b/src/constants/constants.js @@ -34,6 +34,7 @@ export const PATHNAME_AI = '/kunstig-intelligens'; export const EXTERNAL_AI_PAGE = 'https://www.digdir.no/kunstig-intelligens/kunstig-intelligens-i-offentlig-sektor/4276'; export const PATHNAME_TRANSPORT = '/transport'; +export const PATHNAME_REQUESTS = '/requests'; export const PARAGRAPH__BODY = 'paragraph--body'; export const PARAGRAPH__IMAGE = 'paragraph--image'; diff --git a/src/pages/requests/index.tsx b/src/pages/requests/index.tsx new file mode 100644 index 000000000..e7fb73dd1 --- /dev/null +++ b/src/pages/requests/index.tsx @@ -0,0 +1,4 @@ +import React from 'react'; + +const RequestsPage = () =>
; +export default RequestsPage; diff --git a/src/pages/requests/styled.ts b/src/pages/requests/styled.ts new file mode 100755 index 000000000..ff8b4c563 --- /dev/null +++ b/src/pages/requests/styled.ts @@ -0,0 +1 @@ +export default {}; diff --git a/src/routes.ts b/src/routes.ts index 52adb35c7..9529bc315 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -26,7 +26,8 @@ import { PATHNAME_ABOUT_CONCEPTS, PATHNAME_ABOUT_INFORMATIONMODELS, PATHNAME_AI, - PATHNAME_TRANSPORT + PATHNAME_TRANSPORT, + PATHNAME_REQUESTS } from './constants/constants'; const routes: any = { @@ -61,7 +62,8 @@ const routes: any = { PATHNAME_ABOUT_CONCEPTS, PATHNAME_ABOUT_INFORMATIONMODELS, PATHNAME_AI, - PATHNAME_TRANSPORT + PATHNAME_TRANSPORT, + PATHNAME_REQUESTS ], publishing: [ PATHNAME_PUBLISHING,