add - 404
This commit is contained in:
1 parent
1e8b08fa11
commit
ef7fbf4636
5 files changed
+32
-35
No files matched your search
@@ -1,20 +0,0 @@
|
||||
|
||||
import style from "../styles/Section.module.css"
|
||||
|
||||
const Section = ({ children, backgroundImagePath, customClass = "d-flex justify-content-center text-center align-items-center" }) => {
|
||||
const isImagePath = backgroundImagePath ? { backgroundImage: `url(${backgroundImagePath})` } : { backgroundColor: 'white' }
|
||||
return (
|
||||
<section
|
||||
className={`${style.section} ${customClass}`}
|
||||
style={isImagePath}
|
||||
>
|
||||
<div className="container">
|
||||
<div className={`${style['bloc-content']}`}>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
</section >
|
||||
);
|
||||
};
|
||||
|
||||
export default Section;
|
||||
Reference in new issue
Block a user