mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
refactor: remove unnecessary comments (#25)
Remove unnecessary comments in `src/utils/generateOgImage.tsx`.
This commit is contained in:
@@ -39,7 +39,6 @@ const ogImage = (text: string) => {
|
||||
border: "4px solid #000",
|
||||
background: "#ecebeb",
|
||||
opacity: "0.9",
|
||||
// filter: "blur(10px)",
|
||||
borderRadius: "4px",
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
@@ -53,7 +52,6 @@ const ogImage = (text: string) => {
|
||||
style={{
|
||||
border: "4px solid #000",
|
||||
background: "#fefbfb",
|
||||
// boxShadow: "24px 26px 8px 0px #ccc ",
|
||||
borderRadius: "4px",
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
@@ -118,7 +116,6 @@ const ogImage = (text: string) => {
|
||||
const options: SatoriOptions = {
|
||||
width: 1200,
|
||||
height: 630,
|
||||
// debug: true,
|
||||
embedFont: true,
|
||||
fonts: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user