Skip to content

Commit

Permalink
feat: routing for service-catalog closes #369
Browse files Browse the repository at this point in the history
  • Loading branch information
hegeaal committed Nov 15, 2023
1 parent 0c9b960 commit 1eedebd
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/service-catalog/app/catalogs/[catalogId]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1> Tjenestekatalog - velg mellom offentlig tjeneste og tjeneste</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Rediger offentlig tjeneste</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Opprett ny offentlig tjeneste</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function PublicServicePage() {
return (
<div>
<h1>Offentlig tjenestekatalog</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Rediger tjeneste</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Ny tjeneste</h1>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Tjenestekatalog</h1>
</div>
);
}
2 changes: 1 addition & 1 deletion apps/service-catalog/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default async function Index() {
return (
<div>
<h1>Service Catalog</h1>
<h1>Service Catalog - velg mellom offentlig tjeneste og tjeneste</h1>
</div>
);
}
8 changes: 8 additions & 0 deletions libs/types/src/lib/service.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { MultiLanguageText } from './language';

export interface Service {
id: string;
catalogId: string;
title?: MultiLanguageText;
description?: MultiLanguageText;
}

0 comments on commit 1eedebd

Please sign in to comment.