Skip to content

Commit

Permalink
:trucK: Flyttet data-atributt
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Nov 8, 2023
1 parent b62e495 commit dc4ecfc
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/enkel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Example() {
useDekorator();

return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -88,6 +88,7 @@ function useDekorator() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/komplett.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Example() {
useDekorator();

return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -115,6 +115,7 @@ function useDekorator() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/med-cta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Example() {
useDekorator();

return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -95,6 +95,7 @@ function useDekorator() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/med-feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Example() {
useDekorator();

return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -96,6 +96,7 @@ function useDekorator() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/med-lang-en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Example() {
useDekorator();

return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -104,6 +104,7 @@ function useDekorator() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down
3 changes: 2 additions & 1 deletion aksel.nav.no/website/pages/templates/404/uten-dekorator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Header } from "components/layout/header/Header";

export default function Example() {
return (
<Page data-aksel-template="404-v1" footer={<Footer />}>
<Page footer={<Footer />}>
<Header />
<Page.Block as="main" width="xl" gutters>
<Box paddingBlock="20 16">
Expand Down Expand Up @@ -43,6 +43,7 @@ export default function Example() {
function StatusSvg() {
return (
<svg
data-aksel-template="404-v1"
width="min(100%, 500px)"
viewBox="0 0 550 340"
fill="none"
Expand Down

0 comments on commit dc4ecfc

Please sign in to comment.