add ability to remove the info card color
All checks were successful
Publish Docker Image / docker (push) Successful in 1m49s

This commit is contained in:
Lee 2023-07-13 09:38:50 +01:00
parent ae46c845d3
commit c0e1bec350

@ -70,10 +70,14 @@ export default function Home() {
/>
)}
<div
className={`${selectedTheme.infoCardColor} rounded-lg text-center shadow-lg`}
className={`${
infoCard.transparency != 0
? `${selectedTheme.infoCardColor} shadow-lg rounded-lg`
: ``
} text-center`}
style={{
zIndex: 1,
opacity: infoCard.transparency,
opacity: infoCard.transparency != 0 ? infoCard.transparency : 1,
}}
>
<div className="m-5">