mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
Réorganisation des dossiers
This commit is contained in:
15
traque-front/app/admin/components/buttons.jsx
Normal file
15
traque-front/app/admin/components/buttons.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
export function MapButton({ icon, title }) {
|
||||
return (
|
||||
<button title={title} className="w-16 h-16 bg-custom-light-blue rounded-full hover:bg-blue-500 transition flex items-center justify-center">
|
||||
<img src={`/icons/${icon}.png`} className="w-10 h-10" />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
export function ControlButton({ icon, title }) {
|
||||
return (
|
||||
<button title={title} className="w-[4.5rem] h-[4.5rem] bg-custom-light-blue rounded-lg hover:bg-blue-500 transition flex items-center justify-center">
|
||||
<img src={`/icons/${icon}.png`} className="w-10 h-10" />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user