From a1f1034aab85bb55cfaa5ff08b1839c305697b04 Mon Sep 17 00:00:00 2001 From: greyovo Date: Fri, 3 May 2024 14:26:37 +0800 Subject: [PATCH] docs: fix resources --- website/docs/.vitepress/config.mts | 6 +++--- website/docs/index.md | 22 +++++++++++++--------- website/docs/{ => public}/logo.png | Bin website/docs/{ => public}/logo.svg | 0 website/docs/{ => public}/logo.webp | Bin website/docs/screenshot.png | Bin 6321885 -> 0 bytes 6 files changed, 16 insertions(+), 12 deletions(-) rename website/docs/{ => public}/logo.png (100%) rename website/docs/{ => public}/logo.svg (100%) rename website/docs/{ => public}/logo.webp (100%) delete mode 100644 website/docs/screenshot.png diff --git a/website/docs/.vitepress/config.mts b/website/docs/.vitepress/config.mts index 3237c1e..bd59ea6 100644 --- a/website/docs/.vitepress/config.mts +++ b/website/docs/.vitepress/config.mts @@ -6,12 +6,12 @@ export default defineConfig({ description: "A PicQuery documentation site", base: '/PicQuery/', head: [ - ['link', { rel: 'icon', href: './logo.webp' }], + ['link', { rel: 'icon', href: '/PicQuery/logo.webp' }], ], themeConfig: { - logo: './logo.png', + logo: 'logo.png', footer: { - message: 'Released under the MIT License, visit our Privacy Policy.', + message: 'Released under the MIT License, visit our Privacy Policy.', copyright: 'Copyright © 2023-present Grey Liu.', }, // https://vitepress.dev/reference/default-theme-config diff --git a/website/docs/index.md b/website/docs/index.md index af29746..761b57c 100644 --- a/website/docs/index.md +++ b/website/docs/index.md @@ -3,8 +3,8 @@ layout: home hero: - name: "PicQuery." - text: "Search images with natural language." + name: PicQuery + text: Search Local Images with Natural Language # tagline: 🔍 Search local images with natural language on Android tagline: E.g., "a laptop on the desk", "sunset by the sea", "kitty in the grass"... @@ -13,22 +13,26 @@ hero: text: Get on Google Play link: https://play.google.com/store/apps/details?id=me.grey.picquery - theme: alt - text: Github Release + text: Release link: https://github.com/greyovo/PicQuery/releases + - theme: alt + text: Source Code + link: https://github.com/greyovo/PicQuery + image: - src: ./logo.svg - alt: PicQuery app screenshot + src: logo.svg + alt: PicQuery Logo features: - - title: Privacy-first + - title: Privacy First icon: 🔒 - details: Indexing and searching of images works completely offline without worrying about privacy + details: Indexing and searching of images works completely offline without worrying about privacy. - title: Optimized for Android icon: ⚡️ - details: Works on Android 10+, show results in 1 sec when searching for 8,000+ photos + details: Works on Android 10+, show results in 1 sec when searching for 8,000+ photos. - title: Free & Open Source icon: 🆓 - details: Totally free, NO in-app purchases, supports both English and Chinese + details: Totally free, NO in-app purchases, supports both English and Chinese. ---