diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index 65fad49..54a5eb5 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -15,6 +15,8 @@ export default defineConfig({ }, }, themeConfig: { + logo: '/logo.png', + editLink: { pattern: 'https://github.com/tiagorangel1/cap/edit/main/docs/:path' }, diff --git a/docs/index.md b/docs/index.md index 6c5828f..3d9b613 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,7 +7,7 @@ hero: text: "A modern, lightning-quick PoW captcha" tagline: "Cap is the open-source & modern ReCAPTCHA alternative designed for speed. Lightweight, powerful, private and secure." image: - src: /assets/logo.png + src: /logo.png alt: VitePress actions: - theme: brand @@ -16,6 +16,9 @@ hero: - theme: alt text: Demo link: https://cap-starter.glitch.me/ + - theme: alt + text: GitHub + link: https://github.com/tiagorangel1/cap features: - icon: ⚡️ diff --git a/docs/assets/logo.png b/docs/public/logo.png similarity index 100% rename from docs/assets/logo.png rename to docs/public/logo.png