Skip to content

Commit

Permalink
feat: add og-image
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Aug 12, 2023
1 parent b5483e1 commit 9805397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added src/assets/image/ogimage.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/client/renderer.tsx
Expand Up @@ -11,6 +11,9 @@ const defaultHtml = (assetPath: string, content: string) => `
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta name="description" content="๋ถ€๋‹ด๊ฐ์€ ์ ๊ฒŒ, ๋ชฉํ‘œ๋Š” ํฌ๊ฒŒ">
<meta property="og:title" content="๋ฐ˜๋‹ค๋ผํŠธ">
<meta property="og:description" content="๋ถ€๋‹ด๊ฐ์€ ์ ๊ฒŒ, ๋ชฉํ‘œ๋Š” ํฌ๊ฒŒ">
<meta property="og:image" content="${assetPath}/image/ogimage.png">
<title>๋ฐ˜๋‹ค๋ผํŠธ</title>
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard-dynamic-subset.css" />
<link rel="stylesheet" href="${assetPath}/styles.css" />
Expand Down

0 comments on commit 9805397

Please sign in to comment.