mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 20:25:04 -05:00
Revert "fix: ig no banners?"
This reverts commit 76ebc9405624265888d16578c56f3b3cff228f30.
This commit is contained in:
parent
1a05e42996
commit
17dbc9e751
@ -60,7 +60,7 @@ export async function GET(
|
|||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
backgroundColor: "white",
|
backgroundImage: `url(${new URL("/branding/bg-banner.png", request.url).toString()})`,
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
backgroundPosition: "center",
|
backgroundPosition: "center",
|
||||||
fontFamily: "Inter",
|
fontFamily: "Inter",
|
||||||
@ -248,7 +248,7 @@ export async function GET(
|
|||||||
position: "relative",
|
position: "relative",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
fontFamily: "Inter",
|
fontFamily: "Inter",
|
||||||
backgroundColor: "white",
|
backgroundImage: `url(${new URL("/branding/bg-banner.png", request.url).toString()})`,
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
backgroundPosition: "center",
|
backgroundPosition: "center",
|
||||||
}}
|
}}
|
||||||
|
|||||||
@ -222,7 +222,7 @@ export async function GET(
|
|||||||
position: "relative",
|
position: "relative",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
fontFamily: "Inter",
|
fontFamily: "Inter",
|
||||||
backgroundColor: "white",
|
backgroundImage: `url(${new URL("/branding/bg-banner.png", request.url).toString()})`,
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
backgroundPosition: "center",
|
backgroundPosition: "center",
|
||||||
}}
|
}}
|
||||||
@ -448,7 +448,11 @@ export async function GET(
|
|||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
fontFamily: "Inter",
|
fontFamily: "Inter",
|
||||||
backgroundColor: "white",
|
...(bannerImageData && {
|
||||||
|
backgroundImage: `url(data:image/png;base64,${Buffer.from(bannerImageData).toString("base64")})`,
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundPosition: "center",
|
||||||
|
}),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div style={{ display: "flex" }}>
|
<div style={{ display: "flex" }}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user