Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chibat committed Feb 7, 2024
1 parent 16028db commit 14fa6a1
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 22 deletions.
4 changes: 4 additions & 0 deletions routes/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export default function App({ Component }: PageProps) {
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#1fbc92" />
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/og.png"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
rel="stylesheet"
Expand Down
4 changes: 0 additions & 4 deletions routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export default defineRoute(async (req, _ctx) => {
<title>About - Leaves</title>
<meta property="og:url" content="https://leaves.chiba.dev/"></meta>
<meta property="og:title" content="Leaves"></meta>
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/icon-192x192.png"
/>
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:creator" content="@tomofummy" />
Expand Down
4 changes: 0 additions & 4 deletions routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ export default defineRoute(async (req, _ctx) => {
<meta name="description" content={title} />
<meta property="og:url" content="https://leaves.chiba.dev/"></meta>
<meta property="og:title" content={title}></meta>
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/icon-192x192.png"
/>
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:creator" content="@tomofummy" />
Expand Down
1 change: 0 additions & 1 deletion routes/posts/[postId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default defineRoute(async (req, ctx) => {
content={post.source.substring(0, 1000)?.replaceAll("\n", " ")}
>
</meta>
<meta property="og:image" content={post.picture!} />
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:image" content={post.picture!} />
Expand Down
4 changes: 0 additions & 4 deletions routes/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export default defineRoute(async (req, ctx) => {
content={`Search:${searchParams} - Leaves`}
>
</meta>
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/icon-192x192.png"
/>
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta
Expand Down
4 changes: 0 additions & 4 deletions routes/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export default defineRoute(async (req, _ctx) => {
<title>Settings - Leaves</title>
<meta property="og:url" content="https://leaves.chiba.dev/"></meta>
<meta property="og:title" content="Leaves"></meta>
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/icon-192x192.png"
/>
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:creator" content="@tomofummy" />
Expand Down
4 changes: 0 additions & 4 deletions routes/shortcuts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export default defineRoute(async (req, _ctx) => {
<title>Keyboard Shortcuts - Leaves</title>
<meta property="og:url" content="https://leaves.chiba.dev/"></meta>
<meta property="og:title" content="Leaves"></meta>
<meta
property="og:image"
content="https://leaves.chiba.dev/assets/img/icon-192x192.png"
/>
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:creator" content="@tomofummy" />
Expand Down
1 change: 0 additions & 1 deletion routes/users/[userId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default defineRoute(async (req, ctx) => {
<meta property="og:title" content={title}></meta>
<meta property="og:description" content={title}>
</meta>
<meta property="og:image" content={picture} />
<meta name="twitter:card" content="summary"></meta>
<meta name="twitter:site" content="@tomofummy" />
<meta name="twitter:image" content={picture} />
Expand Down
Binary file added static/assets/img/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14fa6a1

Please sign in to comment.