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 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) {
|
export default function OneColumnList({ linkList }: ShortcutsListProps) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import Body from "@/components/TempDesignSystem/Text/Body"
|
|||||||
|
|
||||||
import styles from "./shortcut.module.css"
|
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) {
|
export default function Shortcut({ linkList }: ShortcutsListProps) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import Shortcut from "../Shortcut"
|
|||||||
|
|
||||||
import styles from "./twoColumnList.module.css"
|
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) {
|
export default function TwoColumnList({ linkList }: ShortcutsListProps) {
|
||||||
const middleIndex = Math.ceil(linkList.length / 2)
|
const middleIndex = Math.ceil(linkList.length / 2)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.leftColumn {
|
.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) {
|
@media screen and (min-width: 1367px) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import SectionHeader from "@/components/Section/Header"
|
|||||||
import OneColumnList from "./OneColumnList"
|
import OneColumnList from "./OneColumnList"
|
||||||
import TwoColumnList from "./TwoColumnList"
|
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({
|
export default function Shortcuts({
|
||||||
firstItem = false,
|
firstItem = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user