1
0
Fork 0

feat(org): Added various translation pages

This commit is contained in:
joostdecock 2023-07-09 18:50:13 +02:00
parent 2299cc6ade
commit b822e35fbe
11 changed files with 548 additions and 17 deletions

View file

@ -5,11 +5,14 @@ export const ChoiceButton = ({
icon = null,
color = 'secondary',
active = false,
noMargin = false,
}) => (
<button
onClick={onClick}
className={`
flex flex-col flex-nowrap items-start justify-start gap-2 pt-2 pb-4 h-auto w-full mt-3
flex flex-col flex-nowrap items-start justify-start gap-2 pt-2 pb-4 h-auto w-full ${
noMargin ? '' : 'mt-3'
}
btn btn-${color} btn-ghost border border-${color}
hover:bg-opacity-20 hover:bg-${color} hover:border hover:border-${color}
${active ? 'bg-' + color + ' bg-opacity-20 border border-' + color : ''}