From 1e534c1a5cb6869aab6e8e682d3888a588469bc3 Mon Sep 17 00:00:00 2001 From: Francis Nepomuceno Date: Wed, 7 Feb 2024 18:13:09 -0500 Subject: [PATCH] format --- docs/.vitepress/config.mts | 23 +++++++++++------------ docs/.vitepress/theme/custom.css | 2 +- docs/.vitepress/theme/index.js | 6 +++--- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 7fc3d8c368..fdf1e0bd2a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,14 +1,15 @@ -import { defineConfig } from 'vitepress' +import { defineConfig } from 'vitepress'; // https://vitepress.dev/reference/site-config export default defineConfig({ - title: "OnchainKit", - description: "A collection of tools to build world-class onchain apps with CSS, React, and Typescript.", + title: 'OnchainKit', + description: + 'A collection of tools to build world-class onchain apps with CSS, React, and Typescript.', themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: 'Home', link: '/' }, - { text: 'Getting Started', link: '/getting-started' } + { text: 'Getting Started', link: '/getting-started' }, ], sidebar: [ @@ -17,13 +18,11 @@ export default defineConfig({ items: [ { text: 'Getting Started', link: '/getting-started' }, { text: 'Frame Kit', link: '/frame-kit' }, - { text: 'Identity Kit', link: '/identity-kit' } - ] - } + { text: 'Identity Kit', link: '/identity-kit' }, + ], + }, ], - socialLinks: [ - { icon: 'github', link: 'https://github.com/coinbase/onchainkit' } - ] - } -}) + socialLinks: [{ icon: 'github', link: 'https://github.com/coinbase/onchainkit' }], + }, +}); diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 105fef2d86..2d44f9bf2d 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -9,4 +9,4 @@ .is-home { background: url('../../logo-v-0-3.png') no-repeat center center fixed; background-size: cover; -} \ No newline at end of file +} diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index 508d8b4af1..149273e8db 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -1,4 +1,4 @@ -import DefaultTheme from 'vitepress/theme' -import './custom.css' +import DefaultTheme from 'vitepress/theme'; +import './custom.css'; -export default DefaultTheme \ No newline at end of file +export default DefaultTheme;