add info card transparency

This commit is contained in:
Lee 2023-07-02 20:14:30 +01:00
parent d310b3c788
commit 9cd05ec227
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,9 @@
},
"backgroundImage": "https://cdn.fascinated.cc/8twdW8.jpg"
},
"infoCard": {
"transparency": 0.85
},
"options": {
"showSourceLink": true
},

View File

@ -23,9 +23,10 @@ export default function Home() {
}
></div>
<div
className="bg-neutral-800 rounded-lg text-center shadow-lg"
className={`bg-neutral-800 rounded-lg text-center shadow-lg`}
style={{
zIndex: 1,
opacity: Config.infoCard.transparency,
}}
>
<div className="m-5">