Skip to content

Commit

Permalink
chore: open graph and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb committed Feb 26, 2024
1 parent 83347af commit 012d9a1
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
53 changes: 51 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,11 +1,60 @@
import { defineConfig } from "vitepress";
import { HeadConfig, defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "WebViewBridge",
description: "Integration Web and React Native WebView",
head: [
[
"meta",
{
property: "og:url",
content: "https://gronxb.github.io/webview-bridge",
},
],
["meta", { property: "og:type", content: "website" }],
["meta", { property: "og:title", content: "WebViewBridge" }],
[
"meta",
{
property: "og:description",
content: "Integration Web and React Native WebView",
},
],
[
"meta",
{
property: "og:image",
content: "/content.png",
},
],
["meta", { name: "twitter:card", content: "summary_large_image" }],
["meta", { property: "twitter:domain", content: "gronxb.github.io" }],
[
"meta",
{
property: "twitter:url",
content: "https://gronxb.github.io/webview-bridge",
},
],
["meta", { name: "twitter:title", content: "WebViewBridge" }],
[
"meta",
{
name: "twitter:description",
content: "Integration Web and React Native WebView",
},
],
[
"meta",
{
name: "twitter:image",
content: "/content.png",
},
],
["link", { rel: "icon", href: "/favicon.ico" }],
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Guide", link: "/getting-started" },
Expand Down
Binary file added docs/public/content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/favicon.ico
Binary file not shown.

0 comments on commit 012d9a1

Please sign in to comment.