add - 404

This commit is contained in:
C committed 2022-11-16 16:41:03 +01:00
1 parent 1e8b08fa11
commit ef7fbf4636
5 files changed
+32 -35

No files matched your search

-20
View File
@@ -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;