Skip to content

Commit

Permalink
Merge pull request #27 from CrazyTapok-bit/develop
Browse files Browse the repository at this point in the history
Updated main page
  • Loading branch information
CrazyTapok-bit authored Feb 12, 2024
2 parents 77d3356 + ad2ce97 commit 4d02849
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 252 deletions.
1 change: 0 additions & 1 deletion src/.vuepress/public/assets/bg/yellow-dark.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/.vuepress/public/assets/bg/yellow-light.svg

This file was deleted.

34 changes: 33 additions & 1 deletion src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const DOCSEARCH_APPID = process.env.DOCSEARCH_APPID || ""
const DOCSEARCH_APIKEY = process.env.DOCSEARCH_APIKEY || ""
const DOCSEARCH_INDEX = process.env.DOCSEARCH_INDEX || ""

const repo = "CrazyTapok-bit/tgWebValid"

export default hopeTheme({
hostname: "https://tgwebvalid.com/",

Expand All @@ -18,7 +20,7 @@ export default hopeTheme({

logo: "./logo.svg",

repo: "CrazyTapok-bit/tgWebValid",
repo,

docsRepo: "CrazyTapok-bit/tgWebValid-docs",

Expand All @@ -28,6 +30,8 @@ export default hopeTheme({

navTitle: false,

footer: "💙💛 Made in Ukraine | MIT Licensed",

locales: {
"/": {
navbar: ukNavbar,
Expand Down Expand Up @@ -61,6 +65,34 @@ export default hopeTheme({
indexName: DOCSEARCH_INDEX
},

components: {
rootComponents: {
notice: [
{
path: "/",
title: "Правда ми круті 😎?",
content: `⭐️ Підтримайте нас, поставте нам зірку на <a target="_blank" rel="noopener noreferrer" href="https://github.com/${repo}">GitHub</a> та станьте нашим спонсором 😊`,
actions: [
{
text: "Спонсорувати 💰",
link: "https://www.patreon.com/user?u=99188087"
}
]
},
{
path: "/en/",
title: "Are we really cool 😎?",
content: `⭐️ Support us, star us on <a target="_blank" rel="noopener noreferrer" href="https://github.com/${repo}">GitHub</a> and become our sponsor 😊`,
actions: [
{
text: "Sponsor 💰",
link: "https://www.patreon.com/user?u=99188087"
}
]
}
]
}
},
// All features are enabled for demo, only preserve features you need here
mdEnhance: {
attrs: true,
Expand Down
245 changes: 1 addition & 244 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ actions:

highlights:
- header: Наші особливості
description: Все, що вам потрібно, щоб бути неймовірним та писати код для задоволення
bgImage: /assets/bg/yellow-light.svg
bgImageDark: /assets/bg/yellow-dark.svg
description: Ключові переваги для успішної роботи
features:
- title: Швидкість
icon: rocket
Expand All @@ -50,245 +48,4 @@ highlights:
- title: Надійність
icon: check-double
details: Перевірено на чат-ботах із високим трафіком

footer: false
# - header: Add things you want in markdown
# description: We extended the standard commonMark specification and added tons of new features for you.
# image: /assets/image/markdown.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/2-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/2-dark.svg
# bgImageStyle:
# background-repeat: repeat
# background-size: initial
# features:
# - title: Links Check
# icon: clipboard-check
# details: Check markdown links
# link: https://theme-hope.vuejs.press/guide/markdown/others.html#link-check

# - title: Hint box
# icon: box-archive
# details: Decorate Markdown content with styles
# link: https://theme-hope.vuejs.press/guide/markdown/hint.html

# - title: GFM alerts
# icon: bell
# details: GFM alert box
# link: https://theme-hope.vuejs.press/guide/markdown/alert.html

# - title: Tabs
# icon: table-columns
# details: Group similar content with tabs and switch them together
# link: https://theme-hope.vuejs.press/guide/markdown/tabs.html

# - title: Code Tabs
# icon: code
# details: Group similar codes with tabs
# link: https://theme-hope.vuejs.press/guide/markdown/code-tabs.html

# - title: Custom Align
# icon: align-center
# details: Let you decide to align paragraphs in the way you like
# link: https://theme-hope.vuejs.press/guide/markdown/align.html

# - title: Attrs support
# icon: code
# details: Allow you to add attributes for Markdown content
# link: https://theme-hope.vuejs.press/guide/markdown/attrs.html

# - title: Superscript and subscript support
# icon: superscript
# details: Your Markdown now support superscript and subscript
# link: https://theme-hope.vuejs.press/guide/markdown/sup-sub.html

# - title: Footnote support
# icon: quote-left
# details: Your Markdown now support footnotes
# link: https://theme-hope.vuejs.press/guide/markdown/footnote.html

# - title: Mark Support
# icon: highlighter
# details: Mark words and sentences in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/mark.html

# - title: Tasklist Support
# icon: square-check
# details: Use tasklist in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/tasklist.html

# - title: image syntax
# icon: image
# details: improve syntax to specify size and color scheme
# link: https://theme-hope.vuejs.press/guide/markdown/image.html

# - title: Component Support
# icon: puzzle-piece
# details: Easily insert components in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/component.html

# - title: Chart Support
# icon: chart-simple
# details: Display charts in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/chartjs.html

# - title: Flowchart Support
# icon: route
# details: Create your flowchart in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/flowchart.html

# - title: Mermaid Support
# icon: chart-pie
# details: Add mermaid diagram in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/mermaid.html

# - title: Tex Support
# icon: square-root-variable
# details: Markdown now have Tex Support so you can write your formula
# link: https://theme-hope.vuejs.press/guide/markdown/tex.html

# - title: Include snippet Support
# icon: fab fa-markdown
# details: split your docs with different parts and import them in Markdown
# link: https://theme-hope.vuejs.press/guide/markdown/include.html

# - title: Playground Support
# icon: code
# details: You can add playground in Markdown files
# link: https://theme-hope.vuejs.press/guide/markdown/playground.html

# - title: Vue playground Support
# icon: fab fa-vuejs
# details: Show living vue component in playground
# link: https://theme-hope.vuejs.press/guide/markdown/vue-playground.html

# - title: Code Demo Support
# icon: laptop-code
# details: You can insert code demo easily
# link: https://theme-hope.vuejs.press/guide/markdown/demo.html

# - title: Presentation Support
# icon: person-chalkboard
# details: Insert presentation in Markdown files via Reveal.js
# link: https://theme-hope.vuejs.press/guide/markdown/revealjs/

# - header: Improved layouts
# description: An awesome responsive layout with full a11y support.
# image: /assets/image/layout.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/5-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/5-dark.svg
# highlights:
# - title: Layout
# icon: object-group
# details: Improved navbar, sidebar, page nav and new breadcrumb, footer and toc. We also bring you a brand new homepage.
# link: https://theme-hope.vuejs.press/guide/layout/

# - title: Dark Mode
# icon: circle-half-stroke
# details: Switch between light and dark modes freely
# link: https://theme-hope.vuejs.press/guide/interface/darkmode.html

# - title: Customizable Theme Color
# icon: palette
# details: Customize theme color
# link: https://theme-hope.vuejs.press/guide/interface/theme-color.html

# - title: Slide Page
# icon: person-chalkboard
# details: Adding slide pages to display things you like
# link: https://theme-hope.vuejs.press/guide/layout/slides

# - title: More
# icon: ellipsis
# details: RTL layout, print support, fullscreen button, etc.
# link: https://theme-hope.vuejs.press/guide/interface/others.html

# - header: New features
# image: /assets/image/features.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/1-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/1-dark.svg
# features:
# - title: Pageviews and Comments
# icon: comment-dots
# details: Start pageview statistics and comment support with Waline
# link: https://theme-hope.vuejs.press/guide/feature/comment.html

# - title: Article Information
# icon: circle-info
# details: Add author, writing date, reading time, word count and other information to your article
# link: https://theme-hope.vuejs.press/guide/feature/page-info.html

# - title: Article Encryption
# icon: lock
# details: Encrypt you articles based on page links, so that only the one you want could see them
# link: https://theme-hope.vuejs.press/guide/feature/encrypt.html

# - title: Search
# icon: search
# details: Support docsearch and client search
# link: https://theme-hope.vuejs.press/guide/feature/search.html

# - title: Copy Code Blocks
# icon: copy
# details: Copy codes with one click in code blocks
# link: https://theme-hope.vuejs.press/guide/feature/copy-code.html

# - title: Image Preview
# icon: image
# details: Support viewing, zooming, sharing your page images like a gallery
# link: https://theme-hope.vuejs.press/guide/feature/photo-swipe.html

# - header: Blogging
# description: Create personal blog with theme
# image: /assets/image/blog.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/5-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/5-dark.svg
# highlights:
# - title: Blog features
# icon: blog
# details: Listing your articles with their dates, tags and categories
# link: https://theme-hope.vuejs.press/guide/blog/intro.html

# - title: Blog homepage
# icon: blog
# details: New blog homepage
# link: https://theme-hope.vuejs.press/guide/blog/home.html

# - title: Blogger info
# icon: circle-info
# details: Customize avatar, name, slogan, introduction and social links
# link: https://theme-hope.vuejs.press/guide/blog/blogger.html

# - title: Timeline
# icon: clock
# details: Read through blog posts in a timeline
# link: https://theme-hope.vuejs.press/guide/blog/timeline.html

# - header: Advanced
# description: Advanced features to improve site SEO and user experience
# image: /assets/image/advanced.svg
# bgImage: https://theme-hope-assets.vuejs.press/bg/4-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/4-dark.svg
# highlights:
# - title: SEO Enhancement
# icon: dumbbell
# details: Optimize pages for search engines
# link: https://theme-hope.vuejs.press/guide/advanced/seo.html

# - title: Sitemap
# icon: sitemap
# details: Generate a Sitemap for your site
# link: https://theme-hope.vuejs.press/guide/advanced/sitemap.html

# - title: Feed
# icon: rss
# details: Generate feed to allow users to subscribe it
# link: https://theme-hope.vuejs.press/guide/advanced/feed.html

# - title: PWA
# icon: mobile-screen
# details: Make your site more like an APP
# link: https://theme-hope.vuejs.press/guide/advanced/pwa.html

# copyright: false
# footer: Theme by <a href="https://theme-hope.vuejs.press/" target="_blank">VuePress Theme Hope</a> | MIT Licensed, Copyright © 2019-present Mr.Hope
---
7 changes: 2 additions & 5 deletions src/en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ actions:

highlights:
- header: Our features
description: Everything you need to be awesome and have fun writing code
bgImage: /assets/bg/yellow-light.svg
bgImageDark: /assets/bg/yellow-dark.svg
description: Key benefits for successful work
features:
- title: Speed
icon: rocket
Expand All @@ -50,5 +48,4 @@ highlights:
- title: Reliability
icon: check-double
details: Tested on high traffic chatbots

footer: false
---

0 comments on commit 4d02849

Please sign in to comment.