feat(SW-322): move type to blocks folder

This commit is contained in:
Fredrik Thorsson
2024-10-07 16:26:40 +02:00
parent d4f86bd02e
commit f806f6176b
6 changed files with 5 additions and 5 deletions

View File

@@ -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 (

View File

@@ -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 (

View File

@@ -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)

View File

@@ -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) {

View File

@@ -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,