mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
Mise en page complète + liaison partielle au backend
This commit is contained in:
14
traque-front/components/util/section.jsx
Normal file
14
traque-front/components/util/section.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
export function Section({title, className, children}) {
|
||||
return (
|
||||
<div className={className}>
|
||||
<div className='w-full h-full flex flex-col shadow-2xl'>
|
||||
<div className='w-full p-1 bg-custom-light-blue text-center'>
|
||||
<h2 className="text-l">{title}</h2>
|
||||
</div>
|
||||
<div className='w-full h-full p-3 bg-white'>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user