Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1423 from navikt/uu-landmark-meldinger
Browse files Browse the repository at this point in the history
UU: Landmark meldinger
  • Loading branch information
PerOlavM authored Apr 25, 2023
2 parents a3fbe32 + 98a74bf commit 0b35233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Driftsmeldinger = () => {
const currentDriftsmeldinger = getCurrentDriftsmeldinger(driftsmeldinger);

return currentDriftsmeldinger.length > 0 ? (
<article className={style.driftsmeldinger}>
<section className={style.driftsmeldinger}>
{currentDriftsmeldinger.map((melding) => (
<LenkeMedSporing
key={melding.heading}
Expand All @@ -56,7 +56,7 @@ export const Driftsmeldinger = () => {
<BodyLong>{melding.heading}</BodyLong>
</LenkeMedSporing>
))}
</article>
</section>
) : null;
};

Expand Down
4 changes: 2 additions & 2 deletions src/server/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export const template = (req: Request) => {
<div id='${headerId}'>
<div id='decorator-header'>${HtmlHeader}</div>
</div>
<div class='decorator-dummy-app decorator-wrapper'>
<main class='decorator-dummy-app decorator-wrapper' id="maincontent">
<div class='navds-alert navds-alert--info navds-alert--medium'>
<span>Hei! Dette er en intern test-side for header og footer på nav.no. <a href='https://www.nav.no'>Gå til forsiden</a>.</span>
</div>
</div>
</main>
<!-- Footer fetched by apps -->
<div id='${footerId}'>
<div id='decorator-footer'>${HtmlFooter}</div>
Expand Down

0 comments on commit 0b35233

Please sign in to comment.