From 7081ce56fce1e00acb2bbf613007c388064308f5 Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Wed, 1 Nov 2023 18:11:32 +0300 Subject: [PATCH] chore: enhancements --- .vitepress/config/en.ts | 11 +++++++++++ .vitepress/config/shortcodes.ts | 5 ++++- .vitepress/theme/styles/global.css | 6 +++--- website/index.md | 4 ++-- website/manuals/guides/backups/index.md | 14 +++++++++++++- website/public/phone_dark.png | Bin 0 -> 2257673 bytes website/public/phone_light.png | Bin 0 -> 2667151 bytes 7 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 website/public/phone_dark.png create mode 100644 website/public/phone_light.png diff --git a/.vitepress/config/en.ts b/.vitepress/config/en.ts index ebdbad2..17a90e2 100644 --- a/.vitepress/config/en.ts +++ b/.vitepress/config/en.ts @@ -88,6 +88,17 @@ function defaultSidebar(): DefaultTheme.SidebarItem[] { }, ], }, + /* { + text: "Other projects", + items: [ + { + text: "Kotatsu SSIV" + }, + { + text: "kotatsu-dl" + } + ] + }, */ { text: "Frequently Asked Questions", items: [ diff --git a/.vitepress/config/shortcodes.ts b/.vitepress/config/shortcodes.ts index 125dec3..b1cbdba 100644 --- a/.vitepress/config/shortcodes.ts +++ b/.vitepress/config/shortcodes.ts @@ -60,7 +60,10 @@ const navigationMappings: Record = { // Sync "sync_settings": { name: "Synchronization settings", dependsOn: "services" }, - "server_address": { name: "Server address", dependsOn: "sync_settings" } + "server_address": { name: "Server address", dependsOn: "sync_settings" }, + + // Backups + "periodic_backups": { name: "Periodic backups", dependsOn: "data" } } function generateNavigationHtml(navKey: string) { diff --git a/.vitepress/theme/styles/global.css b/.vitepress/theme/styles/global.css index 9cb22ae..ae50ceb 100644 --- a/.vitepress/theme/styles/global.css +++ b/.vitepress/theme/styles/global.css @@ -65,8 +65,8 @@ --vp-local-search-footer-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgba(69, 98, 155, .12); --vp-home-hero-name-color: transparent; -/* --vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--vp-c-brand-1) 30%, var(--vp-c-brand-dark)); - --vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-accent-1) 50%, var(--vp-c-brand-1) 50%); */ + --vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--vp-c-brand-1) 30%, var(--vp-c-brand-dark)); + --vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-accent-1) 50%, var(--vp-c-brand-1) 50%); --vp-home-hero-image-filter: blur(40px); } @@ -88,7 +88,7 @@ --vp-local-search-result-bg: var(--vp-c-bg-soft-mute); --vp-local-search-result-shadow: none; --vp-local-search-footer-shadow: none; -/* --vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-accent-1) 25%, var(--vp-c-brand-1) 25%); */ + --vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-accent-1) 25%, var(--vp-c-brand-1) 25%); } @media (min-width: 640px) { diff --git a/website/index.md b/website/index.md index 3563d6d..120f91c 100644 --- a/website/index.md +++ b/website/index.md @@ -7,8 +7,8 @@ main: tagline: A simple and convenient open source manga reader from and for the community, where you can find and read your favorite manga easier than ever. image: alt: Kotatsu Logo - light: /logo-compact.svg - dark: /logo-compact-dark.svg + light: /phone_light.png + dark: /phone_dark.png actions: - theme: brand text: Download diff --git a/website/manuals/guides/backups/index.md b/website/manuals/guides/backups/index.md index 3dbb05f..44cfb03 100644 --- a/website/manuals/guides/backups/index.md +++ b/website/manuals/guides/backups/index.md @@ -21,10 +21,22 @@ Backups in **Kotatsu** are compatible between different versions of the app. - **Reading history** - **Favourites** - **Categories of favourites** +- **Bookmarks** - **App settings** ### What's not included in a backup? - **Downloaded** chapters ## Restoring a backup -Restoring a backup can be done through the **Restore from backup** setting. \ No newline at end of file +Restoring a backup can be done through the **Restore from backup** setting. + +## Suggestions for backups + +### Enabling automatic backups +It is highly recommended to enable automatic backups to ensure you can recover in case of any issues. + +::: tip How to enable automatic backups +1. Go to