feat(SW-322): move type to blocks folder
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user