diff --git a/apps/storefront/app/bloggen/_components/Layout/layout.module.css b/apps/storefront/app/bloggen/(frontpage)/layout.module.css
similarity index 100%
rename from apps/storefront/app/bloggen/_components/Layout/layout.module.css
rename to apps/storefront/app/bloggen/(frontpage)/layout.module.css
diff --git a/apps/storefront/app/bloggen/_components/Layout/blog-layout.tsx b/apps/storefront/app/bloggen/(frontpage)/layout.tsx
similarity index 87%
rename from apps/storefront/app/bloggen/_components/Layout/blog-layout.tsx
rename to apps/storefront/app/bloggen/(frontpage)/layout.tsx
index e3850e95ee..01fd35daf7 100644
--- a/apps/storefront/app/bloggen/_components/Layout/blog-layout.tsx
+++ b/apps/storefront/app/bloggen/(frontpage)/layout.tsx
@@ -9,7 +9,7 @@ import {
import classes from './layout.module.css';
-export const Layout = ({ children }: { children: React.ReactNode }) => {
+const Layout = ({ children }: { children: React.ReactNode }) => {
return (
@@ -29,3 +29,5 @@ export const Layout = ({ children }: { children: React.ReactNode }) => {
);
};
+
+export default Layout;
diff --git a/apps/storefront/app/bloggen/page.mdx b/apps/storefront/app/bloggen/(frontpage)/page.mdx
similarity index 93%
rename from apps/storefront/app/bloggen/page.mdx
rename to apps/storefront/app/bloggen/(frontpage)/page.mdx
index 4dc0591de3..5963815da1 100644
--- a/apps/storefront/app/bloggen/page.mdx
+++ b/apps/storefront/app/bloggen/(frontpage)/page.mdx
@@ -1,10 +1,9 @@
import { PencilIcon } from '@navikt/aksel-icons';
import { Meta } from '@components';
-import { Layout } from '@blog';
-import { BlogCard } from './_components';
+import { BlogCard } from '../_components';
-export default ({ children }) => {children};
+export default ({ children }) => <>{children}>;
(
- (
- (
- (
- {
- return <>{children}>;
-};
-
-export default Layout;
diff --git a/apps/storefront/app/bloggen/2024/v1rc1/page.mdx b/apps/storefront/app/bloggen/2024/v1rc1/page.mdx
index ebea531d8d..b76d8b019b 100644
--- a/apps/storefront/app/bloggen/2024/v1rc1/page.mdx
+++ b/apps/storefront/app/bloggen/2024/v1rc1/page.mdx
@@ -1,11 +1,10 @@
import { Link } from '@digdir/designsystemet-react';
-import { BlogArticleLayout } from '@layouts';
+import { PostLayout, Contributors } from '../../_components';
import { ResponsiveIframe, CodeSnippet } from '@components';
-import { Contributors } from '../../_components';
export default ({ children }) => (
-