-
diff --git a/storefront/drafts/UpdateLayout/UpdateLayout.tsx b/storefront/drafts/UpdateLayout/UpdateLayout.tsx
index a7e61fa9a4..0626de9e0d 100644
--- a/storefront/drafts/UpdateLayout/UpdateLayout.tsx
+++ b/storefront/drafts/UpdateLayout/UpdateLayout.tsx
@@ -1,7 +1,8 @@
-import Header from '../../components/Header/Header';
import React from 'react';
import { Container, Row, Col } from 'react-bootstrap';
+import Header from '../../components/Header/Header';
+
import classes from './UpdateLayout.module.css';
interface PageLayoutProps {
diff --git a/storefront/drafts/test.tsx b/storefront/drafts/test.tsx
deleted file mode 100644
index 522c517b14..0000000000
--- a/storefront/drafts/test.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-// @ts-ignore
-const tomato = [
- {
- name: 'Grunnleggende',
- url: 'http',
- children: [
- {
- name: 'Design',
- url: '',
- },
- ],
- },
-];
diff --git a/storefront/layouts/FrontpageLayout/FrontpageLayout.tsx b/storefront/layouts/FrontpageLayout/FrontpageLayout.tsx
index 79c48b2e9f..c8fa82f82d 100644
--- a/storefront/layouts/FrontpageLayout/FrontpageLayout.tsx
+++ b/storefront/layouts/FrontpageLayout/FrontpageLayout.tsx
@@ -4,7 +4,7 @@ import { Email } from '@navikt/ds-icons';
import Header from '../../components/Header/Header';
import Section from '../../components/Section/Section';
-import NavigationCard from '../../components/NavigationCard/NavigationCard';
+import { NavigationCard } from '../../components/NavigationCard/NavigationCard';
import Banner from '../../components/Banner/Banner';
import { ImageSection } from '../../components/ImageSection/ImageSection';
@@ -66,6 +66,8 @@ const FrontpageLayout = ({ Content, data }: FrontpageLayoutProps) => {
title={data.contributeSection.title}
description={data.contributeSection.description}
src={data.contributeSection.image}
+ width={data.contributeSection.imageWidth}
+ height={data.contributeSection.imageHeight}
content={
{menu.items.map((item, index) => (
-
+
{item.name}
{item.children &&
item.children.map((item2, index2) => (
-
+
--{item2.name}
{item2.children &&
item2.children.map((item3, index3) => (
-
+
))}
@@ -70,7 +88,7 @@ const NavigationPageLayout = ({
{data.description}
- {data.sections.map((item: any, index: number) => (
+ {data.sections.map((item, index: number) => (
- {item.items.map((item: any, index: number) => (
+ {item.items.map((item, index: number) => (
{
return (
-