diff --git a/.nvmrc b/.nvmrc index 5802c69..44e031b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.12.2 \ No newline at end of file +22.2.0 diff --git a/components/AnimatedComponent/AnimatedComponent.tsx b/components/AnimatedComponent/AnimatedComponent.tsx index 7f0392c..77afce1 100644 --- a/components/AnimatedComponent/AnimatedComponent.tsx +++ b/components/AnimatedComponent/AnimatedComponent.tsx @@ -17,6 +17,7 @@ export type AllowedElement = | 'ul' | 'li' | 'legend' + | 'aside' | 'main'; export const AnimatedElement = ({ diff --git a/components/Basic Copy/BasicCopy.module.sass b/components/Basic Copy/BasicCopy.module.sass index c6432dd..3a0666b 100644 --- a/components/Basic Copy/BasicCopy.module.sass +++ b/components/Basic Copy/BasicCopy.module.sass @@ -1,9 +1,4 @@ .Outer - margin-top: 100px - grid-template-columns: 1fr 320px - gap: 120px - margin-bottom: 200px - main &>*:first-child margin-top: 0px @@ -43,11 +38,8 @@ aspect-ratio: 16/9 aside > div - position: sticky - top: 80px ul li - margin: 10px 0px button display: block @@ -59,11 +51,3 @@ &:hover opacity: 1 -@media(max-width: 1024px) - .Outer - display: block - margin-top: 50px - margin-bottom: 50px - - aside - display: none diff --git a/components/Basic Copy/BasicCopy.tsx b/components/Basic Copy/BasicCopy.tsx index dff93dc..aa9851e 100644 --- a/components/Basic Copy/BasicCopy.tsx +++ b/components/Basic Copy/BasicCopy.tsx @@ -26,44 +26,47 @@ export default function BasicCopy({
0 && showOutline && 'md:grid' + 'post-content flex w-full gap-12 mt-24 mb-48' )} > {allH2s.length > 0 && showOutline ? ( - - ) : null} + + + ) : null}
); }