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

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

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