From 4114b35cf1b008f88c206fbdb011c2af0a1be32d Mon Sep 17 00:00:00 2001 From: Barsnes Date: Wed, 5 Mar 2025 14:18:32 +0100 Subject: [PATCH 1/4] chore(apps): svg ids, parsing --- apps/_components/src/logos/Figma.tsx | 7 +------ apps/_components/src/logos/Github.tsx | 12 +----------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/apps/_components/src/logos/Figma.tsx b/apps/_components/src/logos/Figma.tsx index b8cb9f1daf..e9e01c89d1 100644 --- a/apps/_components/src/logos/Figma.tsx +++ b/apps/_components/src/logos/Figma.tsx @@ -10,7 +10,7 @@ export function Figma(rest: FigmaProps) { xmlns='http://www.w3.org/2000/svg' {...rest} > - + - - - - - ); } diff --git a/apps/_components/src/logos/Github.tsx b/apps/_components/src/logos/Github.tsx index 824c8908e3..e1efc58d40 100644 --- a/apps/_components/src/logos/Github.tsx +++ b/apps/_components/src/logos/Github.tsx @@ -10,7 +10,7 @@ export function Github(rest: GithubProps) { xmlns='http://www.w3.org/2000/svg' {...rest} > - + - - - - - ); } From af22c0c6be20f6706b948c96c2a20bf630a0bc29 Mon Sep 17 00:00:00 2001 From: Barsnes Date: Wed, 5 Mar 2025 14:21:25 +0100 Subject: [PATCH 2/4] remove ids from react svgs --- apps/_components/src/logos/Bronnoysund.tsx | 154 +++++---------------- apps/_components/src/logos/Udir.tsx | 7 +- 2 files changed, 36 insertions(+), 125 deletions(-) diff --git a/apps/_components/src/logos/Bronnoysund.tsx b/apps/_components/src/logos/Bronnoysund.tsx index 6380055d80..f5ab91b0af 100644 --- a/apps/_components/src/logos/Bronnoysund.tsx +++ b/apps/_components/src/logos/Bronnoysund.tsx @@ -11,125 +11,41 @@ export function Bronnoysund(rest: BronnoysundProps) { {...rest} > Brønnøysundregistrene logo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/_components/src/logos/Udir.tsx b/apps/_components/src/logos/Udir.tsx index 053cefbedf..0fccbcbffc 100644 --- a/apps/_components/src/logos/Udir.tsx +++ b/apps/_components/src/logos/Udir.tsx @@ -2,12 +2,7 @@ type UdirProps = React.HTMLAttributes; export function Udir(rest: UdirProps) { return ( - + Utdanningsdirektoratet logo From f1cce52c48ee9d5afb5538a83e19f2015b9300f7 Mon Sep 17 00:00:00 2001 From: Barsnes Date: Wed, 5 Mar 2025 14:30:26 +0100 Subject: [PATCH 3/4] fix data-color on comps --- .../components/OverviewComponents/OverviewComponents.tsx | 6 +++--- apps/theme/components/Sidebar/ColorPane/ColorPane.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/theme/components/OverviewComponents/OverviewComponents.tsx b/apps/theme/components/OverviewComponents/OverviewComponents.tsx index 779e98ccfa..52c190b77a 100644 --- a/apps/theme/components/OverviewComponents/OverviewComponents.tsx +++ b/apps/theme/components/OverviewComponents/OverviewComponents.tsx @@ -62,9 +62,9 @@ export const OverviewComponents = forwardRef(
- Sport - Nyheter - Innenriks + Sport + Nyheter + Innenriks
Reiste alene til storbyen diff --git a/apps/theme/components/Sidebar/ColorPane/ColorPane.tsx b/apps/theme/components/Sidebar/ColorPane/ColorPane.tsx index d8b65cadf5..a52d02bc78 100644 --- a/apps/theme/components/Sidebar/ColorPane/ColorPane.tsx +++ b/apps/theme/components/Sidebar/ColorPane/ColorPane.tsx @@ -149,7 +149,7 @@ export const ColorPane = ({
diff --git a/apps/theme/components/ColorPreview/ColorPreview.tsx b/apps/theme/components/ColorPreview/ColorPreview.tsx index d7b1c6f025..a224c4af20 100644 --- a/apps/theme/components/ColorPreview/ColorPreview.tsx +++ b/apps/theme/components/ColorPreview/ColorPreview.tsx @@ -39,7 +39,6 @@ export const ColorPreview = () => {
{color.name}