mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-01 21:13:39 +01:00
remove old code
This commit is contained in:
parent
ba428cf3ae
commit
d26ae30fa6
@ -263,8 +263,6 @@ function Home({ initialSettings }) {
|
|||||||
export default function Wrapper({ initialSettings, fallback }) {
|
export default function Wrapper({ initialSettings, fallback }) {
|
||||||
const wrappedStyle = {};
|
const wrappedStyle = {};
|
||||||
if (initialSettings && initialSettings.background) {
|
if (initialSettings && initialSettings.background) {
|
||||||
// wrappedStyle.backgroundImage = `url(${initialSettings.background})`;
|
|
||||||
// wrappedStyle.backgroundSize = "cover";
|
|
||||||
const opacity = initialSettings.backgroundOpacity ?? 1;
|
const opacity = initialSettings.backgroundOpacity ?? 1;
|
||||||
const opacityValue = 1 - opacity;
|
const opacityValue = 1 - opacity;
|
||||||
wrappedStyle.backgroundImage = `
|
wrappedStyle.backgroundImage = `
|
||||||
|
Loading…
x
Reference in New Issue
Block a user