From f806f6176bf7d6e2e1c777302fbd8380f627bc1f Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Mon, 7 Oct 2024 16:26:40 +0200 Subject: [PATCH] feat(SW-322): move type to blocks folder --- components/Blocks/Shortcuts/OneColumnList/index.tsx | 2 +- components/Blocks/Shortcuts/Shortcut/index.tsx | 2 +- components/Blocks/Shortcuts/TwoColumnList/index.tsx | 2 +- .../Blocks/Shortcuts/TwoColumnList/twoColumnList.module.css | 2 +- components/Blocks/Shortcuts/index.tsx | 2 +- types/components/{myPages/myPage => blocks}/shortcuts.ts | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename types/components/{myPages/myPage => blocks}/shortcuts.ts (100%) diff --git a/components/Blocks/Shortcuts/OneColumnList/index.tsx b/components/Blocks/Shortcuts/OneColumnList/index.tsx index 2098c0d89..9f113fe34 100644 --- a/components/Blocks/Shortcuts/OneColumnList/index.tsx +++ b/components/Blocks/Shortcuts/OneColumnList/index.tsx @@ -2,7 +2,7 @@ import Shortcut from "../Shortcut" import styles from "./oneColumnList.module.css" -import { ShortcutsListProps } from "@/types/components/myPages/myPage/shortcuts" +import type { ShortcutsListProps } from "@/types/components/blocks/shortcuts" export default function OneColumnList({ linkList }: ShortcutsListProps) { return ( diff --git a/components/Blocks/Shortcuts/Shortcut/index.tsx b/components/Blocks/Shortcuts/Shortcut/index.tsx index c80f3ad83..6de9c9ff7 100644 --- a/components/Blocks/Shortcuts/Shortcut/index.tsx +++ b/components/Blocks/Shortcuts/Shortcut/index.tsx @@ -4,7 +4,7 @@ import Body from "@/components/TempDesignSystem/Text/Body" import styles from "./shortcut.module.css" -import { ShortcutsListProps } from "@/types/components/myPages/myPage/shortcuts" +import type { ShortcutsListProps } from "@/types/components/blocks/shortcuts" export default function Shortcut({ linkList }: ShortcutsListProps) { return ( diff --git a/components/Blocks/Shortcuts/TwoColumnList/index.tsx b/components/Blocks/Shortcuts/TwoColumnList/index.tsx index 1a6a0ef90..04c58b23d 100644 --- a/components/Blocks/Shortcuts/TwoColumnList/index.tsx +++ b/components/Blocks/Shortcuts/TwoColumnList/index.tsx @@ -2,7 +2,7 @@ import Shortcut from "../Shortcut" import styles from "./twoColumnList.module.css" -import { ShortcutsListProps } from "@/types/components/myPages/myPage/shortcuts" +import type { ShortcutsListProps } from "@/types/components/blocks/shortcuts" export default function TwoColumnList({ linkList }: ShortcutsListProps) { const middleIndex = Math.ceil(linkList.length / 2) diff --git a/components/Blocks/Shortcuts/TwoColumnList/twoColumnList.module.css b/components/Blocks/Shortcuts/TwoColumnList/twoColumnList.module.css index 5060c0943..0f9856acf 100644 --- a/components/Blocks/Shortcuts/TwoColumnList/twoColumnList.module.css +++ b/components/Blocks/Shortcuts/TwoColumnList/twoColumnList.module.css @@ -6,7 +6,7 @@ } .leftColumn { - border-bottom: 0.5px solid var(--Scandic-Beige-20); + border-bottom: 0.5px solid var(--Base-Border-Subtle); } @media screen and (min-width: 1367px) { diff --git a/components/Blocks/Shortcuts/index.tsx b/components/Blocks/Shortcuts/index.tsx index 6ef39665e..4a9afd98d 100644 --- a/components/Blocks/Shortcuts/index.tsx +++ b/components/Blocks/Shortcuts/index.tsx @@ -4,7 +4,7 @@ import SectionHeader from "@/components/Section/Header" import OneColumnList from "./OneColumnList" import TwoColumnList from "./TwoColumnList" -import type { ShortcutsProps } from "@/types/components/myPages/myPage/shortcuts" +import type { ShortcutsProps } from "@/types/components/blocks/shortcuts" export default function Shortcuts({ firstItem = false, diff --git a/types/components/myPages/myPage/shortcuts.ts b/types/components/blocks/shortcuts.ts similarity index 100% rename from types/components/myPages/myPage/shortcuts.ts rename to types/components/blocks/shortcuts.ts