make separate component for pageContent
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Blocks } from "@/components/blocks/Blocks";
|
||||
import styles from './pageContent.module.scss';
|
||||
|
||||
export const PageContent = ({ blocks }: any) => {
|
||||
return (
|
||||
<div className={styles.pageContent}>
|
||||
<Blocks blocks={blocks} pageContent />
|
||||
</div>
|
||||
)
|
||||
};
|
||||
@@ -52,10 +52,6 @@
|
||||
.accordionContent {
|
||||
padding: var(--spacing-m) 0 var(--spacing-s);
|
||||
display: none;
|
||||
|
||||
>div {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.pageContent {
|
||||
padding-bottom: var(--spacing-section-bottom);
|
||||
}
|
||||
Reference in New Issue
Block a user