import { useBlockProps, InnerBlocks } from "@wordpress/block-editor";

export default function save() {
	return (
		<section
			{...useBlockProps.save({
				className: "subscribe-infolettre",
			})}
		>
			<div className="subscribe-infolettre__inner">
				<div className="subscribe-infolettre__content">
					<p className="block-title">infolettre</p>
					<InnerBlocks.Content />
				</div>

				<div className="subscribe-infolettre__form">
					<form action="">
						<input type="text" placeholder="Nom" />
						<input type="email" placeholder="Adresse email" />
						<button type="submit">S'abonner</button>
					</form>
				</div>
			</div>
		</section>
	);
}
