mirror of
https://github.com/ArthurDanjou/arthurdanjou.fr.git
synced 2026-01-14 12:14:34 +01:00
22 lines
679 B
JavaScript
22 lines
679 B
JavaScript
import React from "react";
|
|
|
|
const Template = (props) => {
|
|
return (
|
|
<div id="template">
|
|
<div className="spacer"/>
|
|
<div className="template-container">
|
|
<div className="template-title">
|
|
<div className="question">{props.question}</div>
|
|
<h1 className="title">{props.title}</h1>
|
|
<div className="description">{props.description}</div>
|
|
</div>
|
|
<div className="template-content">
|
|
{props.children}
|
|
</div>
|
|
</div>
|
|
<div className="spacer"/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Template; |