diff --git a/src/app/main/index.scss b/src/app/main/index.scss new file mode 100644 index 00000000..225b1e2a --- /dev/null +++ b/src/app/main/index.scss @@ -0,0 +1,21 @@ +.outside-box { + border: 2px solid var(--origin-secondary); + box-shadow: var(--origin-shadow); + padding: 1rem 1.5rem; + border-radius: 2rem; +} + +.main { + &__item { + &__header { + display: flex; + align-items: center; + justify-content: space-between; + } + &--link { + text-decoration: none; + + color: var(--origin-text-300); + } + } +} diff --git a/src/app/main/layout.tsx b/src/app/main/layout.tsx new file mode 100644 index 00000000..d6bac2df --- /dev/null +++ b/src/app/main/layout.tsx @@ -0,0 +1,57 @@ +import Link from 'next/link'; +import { ReactElement } from 'react'; +import MainHeader from './_components/MainHeader/MainHeader'; +import './index.scss'; + +interface LayoutProps { + createButtons: ReactElement; + feedback: ReactElement; + plan: ReactElement; + footprint: ReactElement; +} + +export default function Layout({ + createButtons, + feedback, + plan, + footprint, +}: LayoutProps) { + return ( +
+ +
+ {createButtons} +
+

피드백

+ {feedback} +
+
+
+

내 계획

+ + 전체보기 + +
+ {plan} +
+ +
+
+

발자취

+ + 전체보기 + +
+ {footprint} +
+
+
+ ); +}