Skip to content

Commit

Permalink
docs: made OG Image dynamic (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia authored Feb 25, 2024
1 parent 27affc7 commit 6eee1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Binary file modified site/.yarn/install-state.gz
Binary file not shown.
11 changes: 2 additions & 9 deletions site/vocs.config.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { FrameMetadata } from '@coinbase/onchainkit';
import { defineConfig } from 'vocs';
import pkg from '../package.json';
import { sidebar } from './sidebar';
Expand All @@ -13,16 +12,10 @@ export default defineConfig({
title: ONCHAINKIT_TITLE,
titleTemplate: '%s · OnchainKit',
description: ONCHAINKIT_DESCRIPTION,
ogImageUrl: 'https://vocs.dev/api/og?logo=%logo&title=%title&description=%description',
logoUrl: { light: '/favicon/48x48.png', dark: '/favicon/48x48.png' },
head: (
<>
<FrameMetadata
image={{
src: 'https://onchainkit.xyz/frame/landing-1-1-v1.png',
aspectRatio: '1:1',
}}
ogTitle={ONCHAINKIT_TITLE}
ogDescription={ONCHAINKIT_DESCRIPTION}
/>
<script
src={`https://www.googletagmanager.com/gtag/js?id=${GOOGLE_ANALYTICS_ID}`}
async
Expand Down

0 comments on commit 6eee1d4

Please sign in to comment.