refactor: remove unnecessary comments (#25)

Remove unnecessary comments in `src/utils/generateOgImage.tsx`.
This commit is contained in:
Michael Alaev
2023-02-01 14:10:20 +02:00
committed by GitHub
parent d9a2ffe909
commit 29e07761f7
-3
View File
@@ -39,7 +39,6 @@ const ogImage = (text: string) => {
border: "4px solid #000", border: "4px solid #000",
background: "#ecebeb", background: "#ecebeb",
opacity: "0.9", opacity: "0.9",
// filter: "blur(10px)",
borderRadius: "4px", borderRadius: "4px",
display: "flex", display: "flex",
justifyContent: "center", justifyContent: "center",
@@ -53,7 +52,6 @@ const ogImage = (text: string) => {
style={{ style={{
border: "4px solid #000", border: "4px solid #000",
background: "#fefbfb", background: "#fefbfb",
// boxShadow: "24px 26px 8px 0px #ccc ",
borderRadius: "4px", borderRadius: "4px",
display: "flex", display: "flex",
justifyContent: "center", justifyContent: "center",
@@ -118,7 +116,6 @@ const ogImage = (text: string) => {
const options: SatoriOptions = { const options: SatoriOptions = {
width: 1200, width: 1200,
height: 630, height: 630,
// debug: true,
embedFont: true, embedFont: true,
fonts: [ fonts: [
{ {