From edf353af8408e4a06cce4bbf3ace62a13d71dc63 Mon Sep 17 00:00:00 2001 From: Soitora Date: Sat, 9 May 2020 19:05:30 +0200 Subject: [PATCH] Improve forks customizability (#177) * Test commit * Fix color and add description * Build rest of the files * Remove redundant line from Neko.vue * Merge Fork Page components * Remove redundant style * Change as per review comments * Change AZ description slightly * Carlos got Jays name wrong Yeeting this in the PR too for good measure --- src/.vuepress/components/ForkButtons.vue | 2 +- src/.vuepress/components/ForkPage.vue | 31 ++++++++++++++++++ .../Neko/img/banner.png} | Bin .../Neko/img/logo.png} | Bin .../TachiyomiAZ/img/gunz.png} | Bin .../TachiyomiAZ/img/logo.png} | Bin .../TachiyomiEH/img/banner.png} | Bin .../TachiyomiEH/img/logo.png} | Bin .../TachiyomiJ2K/img/banner.png} | Bin .../TachiyomiJ2K/img/logo.png} | Bin src/.vuepress/styles/index.styl | 26 +++++++++++++++ src/.vuepress/styles/palette.styl | 5 +++ src/forks/Neko.md | 18 +++++++--- src/forks/README.md | 12 +++---- src/forks/TachiyomiAZ.md | 18 +++++++--- src/forks/TachiyomiEH.md | 14 ++++++-- src/forks/TachiyomiJ2K.md | 16 +++++++-- 17 files changed, 122 insertions(+), 20 deletions(-) create mode 100644 src/.vuepress/components/ForkPage.vue rename src/.vuepress/public/{assets/media/fork-Neko-banner.png => forks/Neko/img/banner.png} (100%) rename src/.vuepress/public/{assets/media/fork-Neko-icon.png => forks/Neko/img/logo.png} (100%) rename src/.vuepress/public/{assets/media/fork-AZ-symbol.png => forks/TachiyomiAZ/img/gunz.png} (100%) rename src/.vuepress/public/{assets/media/fork-AZ-icon.png => forks/TachiyomiAZ/img/logo.png} (100%) rename src/.vuepress/public/{assets/media/fork-EH-banner.png => forks/TachiyomiEH/img/banner.png} (100%) rename src/.vuepress/public/{assets/media/fork-EH-icon.png => forks/TachiyomiEH/img/logo.png} (100%) rename src/.vuepress/public/{assets/media/fork-J2K-banner.png => forks/TachiyomiJ2K/img/banner.png} (100%) rename src/.vuepress/public/{assets/media/fork-J2K-icon.png => forks/TachiyomiJ2K/img/logo.png} (100%) diff --git a/src/.vuepress/components/ForkButtons.vue b/src/.vuepress/components/ForkButtons.vue index a6180ac8..9dc9ac97 100644 --- a/src/.vuepress/components/ForkButtons.vue +++ b/src/.vuepress/components/ForkButtons.vue @@ -107,7 +107,7 @@ export default { width 8.5rem &:focus outline none - outline-style solid + outline-style none &:hover cursor pointer text-decoration none !important diff --git a/src/.vuepress/components/ForkPage.vue b/src/.vuepress/components/ForkPage.vue new file mode 100644 index 00000000..3e10aca8 --- /dev/null +++ b/src/.vuepress/components/ForkPage.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/.vuepress/public/assets/media/fork-Neko-banner.png b/src/.vuepress/public/forks/Neko/img/banner.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-Neko-banner.png rename to src/.vuepress/public/forks/Neko/img/banner.png diff --git a/src/.vuepress/public/assets/media/fork-Neko-icon.png b/src/.vuepress/public/forks/Neko/img/logo.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-Neko-icon.png rename to src/.vuepress/public/forks/Neko/img/logo.png diff --git a/src/.vuepress/public/assets/media/fork-AZ-symbol.png b/src/.vuepress/public/forks/TachiyomiAZ/img/gunz.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-AZ-symbol.png rename to src/.vuepress/public/forks/TachiyomiAZ/img/gunz.png diff --git a/src/.vuepress/public/assets/media/fork-AZ-icon.png b/src/.vuepress/public/forks/TachiyomiAZ/img/logo.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-AZ-icon.png rename to src/.vuepress/public/forks/TachiyomiAZ/img/logo.png diff --git a/src/.vuepress/public/assets/media/fork-EH-banner.png b/src/.vuepress/public/forks/TachiyomiEH/img/banner.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-EH-banner.png rename to src/.vuepress/public/forks/TachiyomiEH/img/banner.png diff --git a/src/.vuepress/public/assets/media/fork-EH-icon.png b/src/.vuepress/public/forks/TachiyomiEH/img/logo.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-EH-icon.png rename to src/.vuepress/public/forks/TachiyomiEH/img/logo.png diff --git a/src/.vuepress/public/assets/media/fork-J2K-banner.png b/src/.vuepress/public/forks/TachiyomiJ2K/img/banner.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-J2K-banner.png rename to src/.vuepress/public/forks/TachiyomiJ2K/img/banner.png diff --git a/src/.vuepress/public/assets/media/fork-J2K-icon.png b/src/.vuepress/public/forks/TachiyomiJ2K/img/logo.png similarity index 100% rename from src/.vuepress/public/assets/media/fork-J2K-icon.png rename to src/.vuepress/public/forks/TachiyomiJ2K/img/logo.png diff --git a/src/.vuepress/styles/index.styl b/src/.vuepress/styles/index.styl index b2fe598e..36ddf8d2 100644 --- a/src/.vuepress/styles/index.styl +++ b/src/.vuepress/styles/index.styl @@ -179,6 +179,32 @@ font-feature-settings() height 3rem margin-bottom .625rem +// Fork pages + +.Neko + .theme-default-content a + color darken($nekoAccentColor, 25%) + .page-edit .edit-link a, + .page-edit .last-updated .prefix + color darken($nekoAccentColor, 40%) + +.TachiyomiAZ + .theme-default-content a, + .page-edit .edit-link a, + .page-edit .last-updated .prefix + color darken($azAccentColor, 40%) + +@media (min-width 764px) + .Neko + .nav-item > a:not(.external):hover, + .nav-item > a:not(.external).router-link-active + border-bottom 2px solid $nekoAccentColor + + .TachiyomiAZ + .nav-item > a:not(.external):hover, + .nav-item > a:not(.external).router-link-active + border-bottom 2px solid $azAccentColor + // Center align class .centered text-align center diff --git a/src/.vuepress/styles/palette.styl b/src/.vuepress/styles/palette.styl index 8d8f76a5..42ba4c6d 100644 --- a/src/.vuepress/styles/palette.styl +++ b/src/.vuepress/styles/palette.styl @@ -25,3 +25,8 @@ $MQMobileNarrow = 419px // Fonts $buttonFontFamily = 'Open Sans', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif $codeFontFamily = source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace +// Forks +$nekoAccentColor = #3DDA83 +$j2kAccentColor = $accentColor +$azAccentColor = #FFCC4D +$ehAccentColor = $accentColor \ No newline at end of file diff --git a/src/forks/Neko.md b/src/forks/Neko.md index 626d2586..5e904f8c 100644 --- a/src/forks/Neko.md +++ b/src/forks/Neko.md @@ -1,18 +1,28 @@ --- +layout: ForkPage title: Neko +metaTitle: Neko +description: MangaDex specific fork of Tachiyomi and TachiyomiJ2K. This contains features specific to MangaDex that those versions cannot offer. lang: en-US +meta: + - property: og:image + content: /forks/Neko/img/logo.png + - name: theme-color + content: "#38CA79" + - name: msapplication-TileColor + content: "#38CA79" sidebar: false --- -# Neko +# Neko ## About -This is a [MangaDex](https://mangadex.org/) specific fork of **Tachiyomi** and [TachiyomiJ2K](/forks/TachiyomiJ2K). This contains features specific to **MangaDex** that those versions cannot offer. It also features almost every feature that **J2K** has except for extensions(aka other sources), custom covers, and local manga. +This is a [MangaDex](https://mangadex.org/) specific fork of **Tachiyomi** and [TachiyomiJ2K](/forks/TachiyomiJ2K). This contains features specific to **MangaDex** that those versions cannot offer. It also features almost every feature that **J2K** has except for extensions (aka other sources), custom covers, and local manga. ## Screenshots - + ## Mangadex specific features: - Supports native login to **MangaDex** and supports 2FA @@ -23,7 +33,7 @@ This is a [MangaDex](https://mangadex.org/) specific fork of **Tachiyomi** and [ ## Credits - [Inorichi](https://github.com/inorichi/) for making the original **Tachiyomi** -- [Jays2King](https://github.com/Jays2Kings/) for the wonderful new UI of **J2K** +- [Jays2Kings](https://github.com/Jays2Kings/) for the wonderful new UI of **J2K** ## Disclaimer The developer of this application does not have any affiliation with the content providers available. diff --git a/src/forks/README.md b/src/forks/README.md index d1fded4d..0a4adb9f 100644 --- a/src/forks/README.md +++ b/src/forks/README.md @@ -9,26 +9,26 @@ sidebarDepth: 0 # Forks Forks are alternative versions of **Tachiyomi** with exclusive features. -## [Neko](/forks/Neko) +## [Neko](/forks/Neko) ::: aside-guide Maintained by [CarlosEsco](https://github.com/CarlosEsco) ::: This **MangaDex** focused fork enhances your reading with native integration and recommendations. -## [TachiyomiJ2K](/forks/TachiyomiJ2K) +## [TachiyomiJ2K](/forks/TachiyomiJ2K) ::: aside-guide Maintained by [Jays2Kings](https://github.com/Jays2Kings) ::: -This fork adds certain enhancements that is not yet present in the base app. +This fork takes a new approach to the design of the base app along with several other enhancements. -## [TachiyomiAZ](/forks/TachiyomiAZ) +## [TachiyomiAZ](/forks/TachiyomiAZ) ::: aside-guide Maintained by [az4521](https://github.com/az4521) and [Syer10](https://github.com/jobobby04) ::: -TachiyomiAZ is a fork based off of **TachiyomiEH**, it has most features and fixes from Preview, as well as features from J2k. It has decided to keep the hamburger menu style of navigation, compared to the other forks that are moving to the new bottom navigation style +This hentai focused fork is based off of **[TachiyomiEH](/forks/TachiyomiEH)**, it has most features and fixes from **Tachiyomi**, as well as features from **[TachiyomiJ2K](/forks/TachiyomiJ2K)**. It has decided to keep the hamburger menu style of navigation, compared to the other forks that are moving to the new bottom navigation style. -## [TachiyomiEH](/forks/TachiyomiEH) +## [TachiyomiEH](/forks/TachiyomiEH) ::: aside-guide Maintained by [NerdNumber9](https://github.com/NerdNumber9) ::: diff --git a/src/forks/TachiyomiAZ.md b/src/forks/TachiyomiAZ.md index 9481a5ea..fc8402c9 100644 --- a/src/forks/TachiyomiAZ.md +++ b/src/forks/TachiyomiAZ.md @@ -1,17 +1,27 @@ --- +layout: ForkPage title: TachiyomiAZ +metaTitle: TachiyomiAZ +description: This hentai focused fork is based off of TachiyomiEH, it has most features and fixes from Tachiyomi, as well as features from TachiyomiJ2K. lang: en-US +meta: + - property: og:image + content: /forks/TachiyomiAZ/img/logo.png + - name: theme-color + content: "#FFCC4D" + - name: msapplication-TileColor + content: "#FFCC4D" sidebar: false --- -# TachiyomiAZ +# TachiyomiAZ - + ## Introduction **TachiyomiAZ** is maintained by **[az4521](https://github.com/az4521)** and [Syer10](https://github.com/jobobby04). -This fork is based off of **[TachiyomiEH](/forks/TachiyomiEH)**, it has most features and fixes from Preview, as well as features from J2k. It has decided to keep the hamburger menu style of navigation, compared to the other forks that are moving to the new bottom navigation style. +This hentai focused fork is based off of **[TachiyomiEH](/forks/TachiyomiEH)**, it has most features and fixes from **Tachiyomi**, as well as features from **[TachiyomiJ2K](/forks/TachiyomiJ2K)**. It has decided to keep the hamburger menu style of navigation, compared to the other forks that are moving to the new bottom navigation style. ## Features **Special Sources** (integrated plus added features) @@ -54,4 +64,4 @@ This fork is based off of **[TachiyomiEH](/forks/TachiyomiEH)**, it has most fea - Grid view corner rounding configuration - Manga recommendations - + diff --git a/src/forks/TachiyomiEH.md b/src/forks/TachiyomiEH.md index ef9aa009..f0e44d7d 100644 --- a/src/forks/TachiyomiEH.md +++ b/src/forks/TachiyomiEH.md @@ -1,10 +1,20 @@ --- +layout: ForkPage title: TachiyomiEH +metaTitle: TachiyomiEH +description: This fork adds features that enhances the hentai experience with integrations to popular sevices such as E-Hentai, nHentai and more. lang: en-US +meta: + - property: og:image + content: /forks/TachiyomiEH/img/logo.png + - name: theme-color + content: "#2e84bf" + - name: msapplication-TileColor + content: "#2e84bf" sidebar: false --- -# TachiyomiEH +# TachiyomiEH @@ -15,7 +25,7 @@ This fork adds features that enhances the hentai experience with integrations to At the moment, it is **deprecated** as the developer does not have time to maintain it. Use [TachiyomiAZ](/forks/TachiyomiAZ) instead. - + ## Features ::: aside-guide diff --git a/src/forks/TachiyomiJ2K.md b/src/forks/TachiyomiJ2K.md index 88813a0e..708c5223 100644 --- a/src/forks/TachiyomiJ2K.md +++ b/src/forks/TachiyomiJ2K.md @@ -1,19 +1,29 @@ --- +layout: ForkPage title: TachiyomiJ2K +metaTitle: TachiyomiJ2K +description: This fork takes a new approach to the design of the base app along with several other enhancements. lang: en-US +meta: + - property: og:image + content: /forks/TachiyomiJ2K/img/logo.png + - name: theme-color + content: "#2e84bf" + - name: msapplication-TileColor + content: "#2e84bf" sidebar: false --- -# TachiyomiJ2K +# TachiyomiJ2K ## Introduction **TachiyomiJ2K** is maintained by **[Jays2Kings](https://github.com/Jays2Kings)**. -This fork adds certain enhancements that is not yet present in the base app. +This fork takes a new approach to the design of the base app along with several other enhancements. - + ## Features ::: aside-guide