From 00e2e55a2f2c813745a48bba2d2d68c07009741b Mon Sep 17 00:00:00 2001 From: MarcinZiabek Date: Sun, 8 Nov 2026 10:42:37 +0100 Subject: [PATCH 1/9] Redesign homepage hero and license sections; add documentation menu and dot wing backgrounds --- docs/.vitepress/config.ts | 3 +- docs/.vitepress/theme/Contact.vue | 12 +- docs/.vitepress/theme/CustomPages.css | 39 +- docs/.vitepress/theme/FeaturesOverview.vue | 883 ++++++++++++-- .../.vitepress/theme/NavDocumentationMenu.vue | 121 ++ .../.vitepress/theme/VitepressAdjustments.css | 121 ++ docs/.vitepress/theme/dotWings.ts | 117 ++ docs/.vitepress/theme/features.ts | 220 ++-- docs/.vitepress/theme/homepage/HomePage.vue | 41 +- .../theme/homepage/HomePageCompanion.vue | 21 +- .../theme/homepage/HomePageCtaBuildVisual.vue | 12 +- .../theme/homepage/HomePageCtaCard.vue | 63 +- .../theme/homepage/HomePageCtaDeckVisual.vue | 6 +- .../homepage/HomePageCtaFeaturesVisual.vue | 1021 +++++++++++++---- .../homepage/HomePageCtaTutorialVisual.vue | 407 ++++--- .../theme/homepage/HomePageHero.vue | 197 +--- .../theme/homepage/HomePageLicense.vue | 329 ++---- .../theme/homepage/HomePageQuickStart.vue | 40 +- .../theme/homepage/HomePageSeal.vue | 53 + .../theme/homepage/HomePageStatistics.vue | 117 ++ .../theme/homepage/HomePageTrust.vue | 341 +++--- docs/.vitepress/theme/index.ts | 8 +- .../.vitepress/theme/license/LicenseIndex.vue | 11 +- .../theme/license/LicensePurchaseSuccess.vue | 12 +- .../license/documents/DocumentTemplate.vue | 11 +- .../theme/pricing/PricingContact.vue | 12 +- docs/.vitepress/theme/pricing/PricingFaq.vue | 2 +- .../.vitepress/theme/pricing/PricingIndex.vue | 11 +- .../.vitepress/theme/pricing/PricingTiers.vue | 18 +- docs/invoice-tutorial.md | 23 +- docs/public/homepage/grain-dark.png | Bin 25754 -> 19804 bytes docs/quick-start.md | 39 +- package-lock.json | 14 + package.json | 1 + 34 files changed, 3054 insertions(+), 1272 deletions(-) create mode 100644 docs/.vitepress/theme/NavDocumentationMenu.vue create mode 100644 docs/.vitepress/theme/dotWings.ts create mode 100644 docs/.vitepress/theme/homepage/HomePageSeal.vue create mode 100644 docs/.vitepress/theme/homepage/HomePageStatistics.vue diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 82e5390c..1c9af012 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -80,8 +80,7 @@ export default defineConfig({ } }, nav: [ - { text: 'Documentation', link: '/quick-start', activeMatch: '^/(quick-start|invoice-tutorial|roadmap|acknowledgements|document-previewer|license/configuration|companion/|concepts/|api-reference/|examples/)' }, - { text: 'Features', link: '/features-overview' }, + { text: 'Documentation', items: [{ component: 'NavDocumentationMenu' }], activeMatch:'^/(quick-start|invoice-tutorial|roadmap|acknowledgements|document-previewer|license/configuration|features-overview|companion/|concepts/|api-reference/|examples/)' }, { text: 'Pricing', link: '/pricing' }, { text: 'GitHub', link: 'https://github.com/QuestPDF/QuestPDF', noIcon: true }, { text: 'NuGet', link: 'https://www.nuget.org/packages/QuestPDF', noIcon: true }, diff --git a/docs/.vitepress/theme/Contact.vue b/docs/.vitepress/theme/Contact.vue index 84236ddd..fa85dfbb 100644 --- a/docs/.vitepress/theme/Contact.vue +++ b/docs/.vitepress/theme/Contact.vue @@ -3,6 +3,9 @@ import type { IconDefinition } from "@fortawesome/fontawesome-common-types"; import { faCreditCard, faEnvelope, faIdCard, faUserGroup } from "@fortawesome/pro-regular-svg-icons"; import { faHeart } from "@fortawesome/pro-solid-svg-icons"; import Icon from "./Icon.vue"; +import { ref } from "vue"; +import { useDotWings } from "./dotWings"; + interface Link { href: string; label: string; @@ -65,10 +68,13 @@ const contacts: ContactInformation[] = [ ] } ] + +const root = ref(); +const wingStyle = useDotWings(root);