kofi-stack-template-generator 2.1.37 → 2.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/dist/index.js +8057 -440
- package/package.json +1 -1
- package/src/templates.generated.ts +248 -94
- package/templates/integrations/posthog/src/components/providers/posthog-provider.tsx.hbs +4 -1
- package/templates/marketing/payload/package.json.hbs +41 -26
- package/templates/marketing/payload/src/Footer/Component.client.tsx +288 -0
- package/templates/marketing/payload/src/Footer/Component.tsx +11 -0
- package/templates/marketing/payload/src/Footer/RowLabel.tsx +15 -0
- package/templates/marketing/payload/src/Footer/config.ts +178 -0
- package/templates/marketing/payload/src/Footer/hooks/{revalidateFooter.ts.hbs → revalidateFooter.ts} +5 -5
- package/templates/marketing/payload/src/Header/Component.client.tsx +94 -0
- package/templates/marketing/payload/src/Header/Component.tsx +10 -0
- package/templates/marketing/payload/src/Header/MegaMenu/index.tsx +197 -0
- package/templates/marketing/payload/src/Header/MobileMenu/HamburgerIcon.tsx +48 -0
- package/templates/marketing/payload/src/Header/MobileMenu/index.tsx +299 -0
- package/templates/marketing/payload/src/Header/Nav/index.tsx +76 -0
- package/templates/marketing/payload/src/Header/RowLabel.tsx +21 -0
- package/templates/marketing/payload/src/Header/config.ts +208 -0
- package/templates/marketing/payload/src/Header/hooks/{revalidateHeader.ts.hbs → revalidateHeader.ts} +5 -5
- package/templates/marketing/payload/src/access/{authenticated.ts.hbs → authenticated.ts} +1 -1
- package/templates/marketing/payload/src/access/{authenticatedOrPublished.ts.hbs → authenticatedOrPublished.ts} +8 -8
- package/templates/marketing/payload/src/app/(docs)/docs/[[...slug]]/page.tsx +117 -0
- package/templates/marketing/payload/src/app/(docs)/docs/layout.tsx +39 -0
- package/templates/marketing/payload/src/app/(docs)/layout.tsx +44 -0
- package/templates/marketing/payload/src/app/(frontend)/(sitemaps)/pages-sitemap.xml/route.ts +68 -0
- package/templates/marketing/payload/src/app/(frontend)/(sitemaps)/posts-sitemap.xml/route.ts +55 -0
- package/templates/marketing/payload/src/app/(frontend)/[slug]/page.client.tsx +15 -0
- package/templates/marketing/payload/src/app/(frontend)/[slug]/page.tsx +114 -0
- package/templates/marketing/payload/src/app/(frontend)/api/docs-search/route.ts +67 -0
- package/templates/marketing/payload/src/app/(frontend)/api/newsletter/route.ts +260 -0
- package/templates/marketing/payload/src/app/(frontend)/api/pricing/route.ts +266 -0
- package/templates/marketing/payload/src/app/(frontend)/globals.css +1019 -0
- package/templates/marketing/payload/src/app/(frontend)/layout.tsx +114 -0
- package/templates/marketing/payload/src/app/(frontend)/next/exit-preview/route.ts +7 -0
- package/templates/marketing/payload/src/app/(frontend)/next/preview/route.ts +56 -0
- package/templates/marketing/payload/src/app/(frontend)/next/seed/route.ts +31 -0
- package/templates/marketing/payload/src/app/(frontend)/not-found.tsx +17 -0
- package/templates/marketing/payload/src/app/(frontend)/page.tsx +5 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/BlogPageClient.tsx +190 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/[slug]/BlogPostContent.tsx +67 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/[slug]/page.client.tsx +15 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/[slug]/page.tsx +118 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/page/[pageNumber]/page.client.tsx +15 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/page/[pageNumber]/page.tsx +87 -0
- package/templates/marketing/payload/src/app/(frontend)/posts/page.tsx +49 -0
- package/templates/marketing/payload/src/app/(frontend)/search/page.client.tsx +15 -0
- package/templates/marketing/payload/src/app/(frontend)/search/page.tsx +87 -0
- package/templates/marketing/payload/src/app/(payload)/admin/[[...segments]]/not-found.tsx +24 -0
- package/templates/marketing/payload/src/app/(payload)/admin/[[...segments]]/page.tsx +24 -0
- package/templates/marketing/payload/src/app/(payload)/admin/importMap.js +83 -0
- package/templates/marketing/payload/src/app/(payload)/api/[...slug]/{route.ts.hbs → route.ts} +13 -9
- package/templates/marketing/payload/src/app/(payload)/api/graphql/{route.ts.hbs → route.ts} +2 -2
- package/templates/marketing/payload/src/app/(payload)/api/graphql-playground/{route.ts.hbs → route.ts} +3 -3
- package/templates/marketing/payload/src/app/(payload)/custom.scss +0 -0
- package/templates/marketing/payload/src/app/(payload)/layout.tsx +31 -0
- package/templates/marketing/payload/src/blocks/ArchiveBlock/Component.tsx +65 -0
- package/templates/marketing/payload/src/blocks/ArchiveBlock/config.ts +120 -0
- package/templates/marketing/payload/src/blocks/Banner/Component.tsx +26 -0
- package/templates/marketing/payload/src/blocks/Banner/config.ts +67 -0
- package/templates/marketing/payload/src/blocks/BentoFeatures/Component.tsx +243 -0
- package/templates/marketing/payload/src/blocks/BentoFeatures/config.ts +147 -0
- package/templates/marketing/payload/src/blocks/CallToAction/Component.tsx +31 -0
- package/templates/marketing/payload/src/blocks/CallToAction/config.ts +68 -0
- package/templates/marketing/payload/src/blocks/Code/Component.client.tsx +33 -0
- package/templates/marketing/payload/src/blocks/Code/Component.tsx +21 -0
- package/templates/marketing/payload/src/blocks/Code/CopyButton.tsx +33 -0
- package/templates/marketing/payload/src/blocks/Code/config.ts +33 -0
- package/templates/marketing/payload/src/blocks/Content/Component.tsx +41 -0
- package/templates/marketing/payload/src/blocks/Content/config.ts +105 -0
- package/templates/marketing/payload/src/blocks/FAQAccordion/Component.tsx +90 -0
- package/templates/marketing/payload/src/blocks/FAQAccordion/config.ts +75 -0
- package/templates/marketing/payload/src/blocks/FeatureGrid/Component.tsx +124 -0
- package/templates/marketing/payload/src/blocks/FeatureGrid/config.ts +120 -0
- package/templates/marketing/payload/src/blocks/FeatureShowcase/Component.tsx +107 -0
- package/templates/marketing/payload/src/blocks/FeatureShowcase/config.ts +111 -0
- package/templates/marketing/payload/src/blocks/FinalCTA/Component.tsx +117 -0
- package/templates/marketing/payload/src/blocks/FinalCTA/config.ts +50 -0
- package/templates/marketing/payload/src/blocks/Form/Checkbox/index.tsx +45 -0
- package/templates/marketing/payload/src/blocks/Form/Component.tsx +170 -0
- package/templates/marketing/payload/src/blocks/Form/Country/index.tsx +65 -0
- package/templates/marketing/payload/src/blocks/Form/Country/options.ts +982 -0
- package/templates/marketing/payload/src/blocks/Form/Email/index.tsx +38 -0
- package/templates/marketing/payload/src/blocks/Form/Error/index.tsx +13 -0
- package/templates/marketing/payload/src/blocks/Form/Message/index.tsx +13 -0
- package/templates/marketing/payload/src/blocks/Form/Number/index.tsx +36 -0
- package/templates/marketing/payload/src/blocks/Form/Select/index.tsx +63 -0
- package/templates/marketing/payload/src/blocks/Form/State/index.tsx +64 -0
- package/templates/marketing/payload/src/blocks/Form/State/options.ts +52 -0
- package/templates/marketing/payload/src/blocks/Form/Text/index.tsx +32 -0
- package/templates/marketing/payload/src/blocks/Form/Textarea/index.tsx +40 -0
- package/templates/marketing/payload/src/blocks/Form/Width/index.tsx +13 -0
- package/templates/marketing/payload/src/blocks/Form/config.ts +77 -0
- package/templates/marketing/payload/src/blocks/Form/fields.tsx +21 -0
- package/templates/marketing/payload/src/blocks/HowItWorks/Component.tsx +59 -0
- package/templates/marketing/payload/src/blocks/HowItWorks/config.ts +88 -0
- package/templates/marketing/payload/src/blocks/IndustryTabs/Component.tsx +132 -0
- package/templates/marketing/payload/src/blocks/IndustryTabs/config.ts +77 -0
- package/templates/marketing/payload/src/blocks/LogoBanner/Component.tsx +95 -0
- package/templates/marketing/payload/src/blocks/LogoBanner/config.ts +48 -0
- package/templates/marketing/payload/src/blocks/MediaBlock/Component.tsx +67 -0
- package/templates/marketing/payload/src/blocks/MediaBlock/config.ts +14 -0
- package/templates/marketing/payload/src/blocks/Personas/Component.tsx +69 -0
- package/templates/marketing/payload/src/blocks/Personas/config.ts +96 -0
- package/templates/marketing/payload/src/blocks/PricingTable/ComparisonTable.tsx +250 -0
- package/templates/marketing/payload/src/blocks/PricingTable/Component.tsx +443 -0
- package/templates/marketing/payload/src/blocks/PricingTable/config.ts +142 -0
- package/templates/marketing/payload/src/blocks/ProofBanner/Component.tsx +65 -0
- package/templates/marketing/payload/src/blocks/ProofBanner/config.ts +42 -0
- package/templates/marketing/payload/src/blocks/RelatedPosts/Component.tsx +32 -0
- package/templates/marketing/payload/src/blocks/RenderBlocks.tsx +92 -0
- package/templates/marketing/payload/src/blocks/TestimonialsGrid/Component.tsx +107 -0
- package/templates/marketing/payload/src/blocks/TestimonialsGrid/config.ts +76 -0
- package/templates/marketing/payload/src/blocks/TrustColumns/Component.tsx +83 -0
- package/templates/marketing/payload/src/blocks/TrustColumns/config.ts +70 -0
- package/templates/marketing/payload/src/collections/Categories.ts +28 -0
- package/templates/marketing/payload/src/collections/FAQs/index.ts +100 -0
- package/templates/marketing/payload/src/collections/Media.ts +160 -0
- package/templates/marketing/payload/src/collections/Pages/hooks/revalidatePage.ts +43 -0
- package/templates/marketing/payload/src/collections/Pages/index.ts +168 -0
- package/templates/marketing/payload/src/collections/Posts/hooks/populateAuthors.ts +41 -0
- package/templates/marketing/payload/src/collections/Posts/hooks/revalidatePost.ts +44 -0
- package/templates/marketing/payload/src/collections/Posts/index.ts +259 -0
- package/templates/marketing/payload/src/collections/Users/index.ts +26 -0
- package/templates/marketing/payload/src/components/AdminBar/index.scss +7 -0
- package/templates/marketing/payload/src/components/AdminBar/index.tsx +89 -0
- package/templates/marketing/payload/src/components/Analytics/CTATracker.tsx +33 -0
- package/templates/marketing/payload/src/components/Analytics/FeatureSectionTracker.tsx +47 -0
- package/templates/marketing/payload/src/components/Analytics/PricingViewTracker.tsx +46 -0
- package/templates/marketing/payload/src/components/Analytics/index.tsx +3 -0
- package/templates/marketing/payload/src/components/BeforeDashboard/SeedButton/index.tsx +89 -0
- package/templates/marketing/payload/src/components/BeforeDashboard/index.tsx +69 -0
- package/templates/marketing/payload/src/components/BeforeLogin/index.tsx +14 -0
- package/templates/marketing/payload/src/components/BlogCTA/index.tsx +77 -0
- package/templates/marketing/payload/src/components/Card/index.tsx +85 -0
- package/templates/marketing/payload/src/components/CollectionArchive/index.tsx +32 -0
- package/templates/marketing/payload/src/components/JsonLd/index.tsx +138 -0
- package/templates/marketing/payload/src/components/Link/index.tsx +66 -0
- package/templates/marketing/payload/src/components/LivePreviewListener/index.tsx +10 -0
- package/templates/marketing/payload/src/components/Logo/Logo.tsx +46 -0
- package/templates/marketing/payload/src/components/Media/ImageMedia/index.tsx +80 -0
- package/templates/marketing/payload/src/components/Media/VideoMedia/index.tsx +47 -0
- package/templates/marketing/payload/src/components/Media/index.tsx +26 -0
- package/templates/marketing/payload/src/components/Media/types.ts +22 -0
- package/templates/marketing/payload/src/components/PageRange/index.tsx +57 -0
- package/templates/marketing/payload/src/components/Pagination/index.tsx +101 -0
- package/templates/marketing/payload/src/components/PayloadRedirects/index.tsx +48 -0
- package/templates/marketing/payload/src/components/RichText/index.tsx +152 -0
- package/templates/marketing/payload/src/components/TableOfContents/index.tsx +128 -0
- package/templates/marketing/payload/src/components/ui/accordion.tsx +64 -0
- package/templates/marketing/payload/src/components/ui/button.tsx +52 -0
- package/templates/marketing/payload/src/components/ui/card.tsx +48 -0
- package/templates/marketing/payload/src/components/ui/checkbox.tsx +27 -0
- package/templates/marketing/payload/src/components/ui/input.tsx +22 -0
- package/templates/marketing/payload/src/components/ui/label.tsx +19 -0
- package/templates/marketing/payload/src/components/ui/pagination.tsx +92 -0
- package/templates/marketing/payload/src/components/ui/select.tsx +144 -0
- package/templates/marketing/payload/src/components/ui/textarea.tsx +21 -0
- package/templates/marketing/payload/src/endpoints/seed/contact-form.ts +111 -0
- package/templates/marketing/payload/src/endpoints/seed/contact-page.ts +56 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/about.ts +281 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/faqs.ts +224 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/automation.ts +229 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/custom-fields.ts +229 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/dashboard.ts +228 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/index.ts +6 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/monetization.ts +230 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/seo.ts +229 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/features/templates.ts +218 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/home.ts +555 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/index.ts +767 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/posts.ts +623 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/pricing.ts +251 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/privacy.ts +457 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/richtext-helper.ts +88 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/terms.ts +478 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/use-cases/b2b-vendor-hubs.ts +229 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/use-cases/communities.ts +230 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/use-cases/index.ts +4 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/use-cases/local-services.ts +230 -0
- package/templates/marketing/payload/src/endpoints/seed/directoryhub/use-cases/marketplaces.ts +230 -0
- package/templates/marketing/payload/src/endpoints/seed/home-static.ts +691 -0
- package/templates/marketing/payload/src/endpoints/seed/home.ts +675 -0
- package/templates/marketing/payload/src/endpoints/seed/image-1.ts +67 -0
- package/templates/marketing/payload/src/endpoints/seed/image-2.ts +67 -0
- package/templates/marketing/payload/src/endpoints/seed/image-3.ts +67 -0
- package/templates/marketing/payload/src/endpoints/seed/image-hero-1.ts +5 -0
- package/templates/marketing/payload/src/endpoints/seed/image-hero1.webp +0 -0
- package/templates/marketing/payload/src/endpoints/seed/image-post1.webp +0 -0
- package/templates/marketing/payload/src/endpoints/seed/image-post2.webp +0 -0
- package/templates/marketing/payload/src/endpoints/seed/image-post3.webp +0 -0
- package/templates/marketing/payload/src/endpoints/seed/index.ts +335 -0
- package/templates/marketing/payload/src/endpoints/seed/post-1.ts +315 -0
- package/templates/marketing/payload/src/endpoints/seed/post-2.ts +232 -0
- package/templates/marketing/payload/src/endpoints/seed/post-3.ts +268 -0
- package/templates/marketing/payload/src/fields/defaultLexical.ts +73 -0
- package/templates/marketing/payload/src/fields/link.ts +139 -0
- package/templates/marketing/payload/src/fields/linkGroup.ts +28 -0
- package/templates/marketing/payload/src/heros/HighImpact/index.tsx +56 -0
- package/templates/marketing/payload/src/heros/LowImpact/index.tsx +48 -0
- package/templates/marketing/payload/src/heros/MediumImpact/index.tsx +50 -0
- package/templates/marketing/payload/src/heros/PostHero/index.tsx +73 -0
- package/templates/marketing/payload/src/heros/ProductShowcase/AnimatedMockup.tsx +241 -0
- package/templates/marketing/payload/src/heros/ProductShowcase/index.tsx +108 -0
- package/templates/marketing/payload/src/heros/{RenderHero.tsx.hbs → RenderHero.tsx} +9 -9
- package/templates/marketing/payload/src/heros/config.ts +121 -0
- package/templates/marketing/payload/src/hooks/populatePublishedAt.ts +15 -0
- package/templates/marketing/payload/src/hooks/{revalidateRedirects.ts.hbs → revalidateRedirects.ts} +3 -3
- package/templates/marketing/payload/src/lib/convex.ts +13 -0
- package/templates/marketing/payload/src/lib/docs-source.ts +138 -0
- package/templates/marketing/payload/src/lib/mdx.tsx +191 -0
- package/templates/marketing/payload/src/payload.config.ts.hbs +95 -145
- package/templates/marketing/payload/src/plugins/index.ts +107 -0
- package/templates/marketing/payload/src/providers/HeaderTheme/index.tsx +34 -0
- package/templates/marketing/payload/src/providers/PostHogProvider.tsx +33 -0
- package/templates/marketing/payload/src/providers/Theme/InitTheme/{index.tsx.hbs → index.tsx} +11 -10
- package/templates/marketing/payload/src/providers/Theme/ThemeSelector/index.tsx +133 -0
- package/templates/marketing/payload/src/providers/Theme/ThemeSelector/types.ts +7 -0
- package/templates/marketing/payload/src/providers/Theme/index.tsx +60 -0
- package/templates/marketing/payload/src/providers/Theme/shared.ts +17 -0
- package/templates/marketing/payload/src/providers/Theme/{types.ts.hbs → types.ts} +3 -3
- package/templates/marketing/payload/src/providers/index.tsx +17 -0
- package/templates/marketing/payload/src/search/Component.tsx +42 -0
- package/templates/marketing/payload/src/search/beforeSync.ts +56 -0
- package/templates/marketing/payload/src/search/fieldOverrides.ts +61 -0
- package/templates/marketing/payload/src/utilities/deepMerge.ts +35 -0
- package/templates/marketing/payload/src/utilities/extractHeadings.ts +78 -0
- package/templates/marketing/payload/src/utilities/formatAuthors.ts +24 -0
- package/templates/marketing/payload/src/utilities/formatDateTime.ts +20 -0
- package/templates/marketing/payload/src/utilities/generateMeta.ts +93 -0
- package/templates/marketing/payload/src/utilities/generatePreviewPath.ts +33 -0
- package/templates/marketing/payload/src/utilities/getDocument.ts +32 -0
- package/templates/marketing/payload/src/utilities/getGlobals.ts +26 -0
- package/templates/marketing/payload/src/utilities/getMeUser.ts +43 -0
- package/templates/marketing/payload/src/utilities/getMediaUrl.ts +24 -0
- package/templates/marketing/payload/src/utilities/getRedirects.ts +26 -0
- package/templates/marketing/payload/src/utilities/getURL.ts +26 -0
- package/templates/marketing/payload/src/utilities/mergeOpenGraph.ts +26 -0
- package/templates/marketing/payload/src/utilities/toKebabCase.ts +5 -0
- package/templates/marketing/payload/src/utilities/ui.ts +12 -0
- package/templates/marketing/payload/src/utilities/useClickableCard.ts +108 -0
- package/templates/marketing/payload/src/utilities/useDebounce.ts +17 -0
- package/templates/packages/ui/src/components/button.tsx.hbs +53 -0
- package/templates/packages/ui/src/components/card.tsx.hbs +76 -0
- package/templates/packages/ui/src/components/separator.tsx.hbs +26 -0
- package/templates/marketing/payload/src/Footer/config.ts.hbs +0 -178
- package/templates/marketing/payload/src/Footer/index.ts.hbs +0 -1
- package/templates/marketing/payload/src/Header/RowLabel.tsx.hbs +0 -21
- package/templates/marketing/payload/src/Header/config.ts.hbs +0 -208
- package/templates/marketing/payload/src/Header/index.ts.hbs +0 -1
- package/templates/marketing/payload/src/access/index.ts.hbs +0 -3
- package/templates/marketing/payload/src/app/(frontend)/layout.tsx.hbs +0 -19
- package/templates/marketing/payload/src/app/(frontend)/next/seed/route.ts.hbs +0 -31
- package/templates/marketing/payload/src/app/(frontend)/page.tsx.hbs +0 -83
- package/templates/marketing/payload/src/app/(payload)/admin/[[...segments]]/not-found.tsx.hbs +0 -24
- package/templates/marketing/payload/src/app/(payload)/admin/[[...segments]]/page.tsx.hbs +0 -24
- package/templates/marketing/payload/src/app/(payload)/admin/importMap.js.hbs +0 -1
- package/templates/marketing/payload/src/app/(payload)/custom.scss.hbs +0 -1
- package/templates/marketing/payload/src/app/(payload)/layout.tsx.hbs +0 -31
- package/templates/marketing/payload/src/app/globals.css.hbs +0 -83
- package/templates/marketing/payload/src/app/layout.tsx.hbs +0 -10
- package/templates/marketing/payload/src/blocks/Benefits.ts.hbs +0 -34
- package/templates/marketing/payload/src/blocks/CTA.ts.hbs +0 -39
- package/templates/marketing/payload/src/blocks/Content.ts.hbs +0 -9
- package/templates/marketing/payload/src/blocks/FAQ.ts.hbs +0 -18
- package/templates/marketing/payload/src/blocks/Features.ts.hbs +0 -34
- package/templates/marketing/payload/src/blocks/Hero.ts.hbs +0 -40
- package/templates/marketing/payload/src/blocks/LogoBanner.ts.hbs +0 -17
- package/templates/marketing/payload/src/blocks/Pricing.ts.hbs +0 -37
- package/templates/marketing/payload/src/blocks/Testimonials.ts.hbs +0 -21
- package/templates/marketing/payload/src/blocks/index.ts.hbs +0 -9
- package/templates/marketing/payload/src/collections/Categories/index.ts.hbs +0 -28
- package/templates/marketing/payload/src/collections/FAQs/index.ts.hbs +0 -100
- package/templates/marketing/payload/src/collections/Media.ts.hbs +0 -164
- package/templates/marketing/payload/src/collections/Pages/hooks/revalidatePage.ts.hbs +0 -43
- package/templates/marketing/payload/src/collections/Pages/index.ts.hbs +0 -142
- package/templates/marketing/payload/src/collections/Posts/hooks/populateAuthors.ts.hbs +0 -41
- package/templates/marketing/payload/src/collections/Posts/hooks/revalidatePost.ts.hbs +0 -44
- package/templates/marketing/payload/src/collections/Posts/index.ts.hbs +0 -244
- package/templates/marketing/payload/src/collections/Users/index.ts.hbs +0 -26
- package/templates/marketing/payload/src/collections/index.ts.hbs +0 -6
- package/templates/marketing/payload/src/components/BeforeDashboard/SeedButton/index.tsx.hbs +0 -89
- package/templates/marketing/payload/src/components/BeforeDashboard/index.tsx.hbs +0 -69
- package/templates/marketing/payload/src/components/BeforeLogin/index.tsx.hbs +0 -14
- package/templates/marketing/payload/src/components/Link/index.tsx.hbs +0 -79
- package/templates/marketing/payload/src/components/Media/index.tsx.hbs +0 -67
- package/templates/marketing/payload/src/components/RichText/index.tsx.hbs +0 -44
- package/templates/marketing/payload/src/endpoints/seed/home.ts.hbs +0 -76
- package/templates/marketing/payload/src/endpoints/seed/image-1.ts.hbs +0 -5
- package/templates/marketing/payload/src/endpoints/seed/image-2.ts.hbs +0 -5
- package/templates/marketing/payload/src/endpoints/seed/image-hero.ts.hbs +0 -5
- package/templates/marketing/payload/src/endpoints/seed/index.ts.hbs +0 -235
- package/templates/marketing/payload/src/endpoints/seed/post-1.ts.hbs +0 -252
- package/templates/marketing/payload/src/fields/defaultLexical.ts.hbs +0 -73
- package/templates/marketing/payload/src/fields/link.ts.hbs +0 -139
- package/templates/marketing/payload/src/fields/linkGroup.ts.hbs +0 -28
- package/templates/marketing/payload/src/globals/index.ts.hbs +0 -2
- package/templates/marketing/payload/src/heros/HighImpact/index.tsx.hbs +0 -53
- package/templates/marketing/payload/src/heros/LowImpact/index.tsx.hbs +0 -48
- package/templates/marketing/payload/src/heros/MediumImpact/index.tsx.hbs +0 -46
- package/templates/marketing/payload/src/heros/PostHero/index.tsx.hbs +0 -68
- package/templates/marketing/payload/src/heros/ProductShowcase/index.tsx.hbs +0 -88
- package/templates/marketing/payload/src/heros/config.ts.hbs +0 -112
- package/templates/marketing/payload/src/heros/index.ts.hbs +0 -7
- package/templates/marketing/payload/src/hooks/index.ts.hbs +0 -2
- package/templates/marketing/payload/src/hooks/populatePublishedAt.ts.hbs +0 -15
- package/templates/marketing/payload/src/providers/HeaderTheme/index.tsx.hbs +0 -34
- package/templates/marketing/payload/src/providers/Theme/index.tsx.hbs +0 -60
- package/templates/marketing/payload/src/providers/Theme/shared.ts.hbs +0 -17
- package/templates/marketing/payload/src/providers/index.tsx.hbs +0 -18
- package/templates/marketing/payload/src/utilities/deepMerge.ts.hbs +0 -35
- package/templates/marketing/payload/src/utilities/formatAuthors.ts.hbs +0 -24
- package/templates/marketing/payload/src/utilities/formatDateTime.ts.hbs +0 -13
- package/templates/marketing/payload/src/utilities/generateMeta.ts.hbs +0 -87
- package/templates/marketing/payload/src/utilities/generatePreviewPath.ts.hbs +0 -33
- package/templates/marketing/payload/src/utilities/getURL.ts.hbs +0 -26
- package/templates/marketing/payload/src/utilities/index.ts.hbs +0 -8
- package/templates/marketing/payload/src/utilities/mergeOpenGraph.ts.hbs +0 -26
- /package/templates/marketing/payload/src/access/{anyone.ts.hbs → anyone.ts} +0 -0
- /package/templates/marketing/payload/src/components/BeforeDashboard/SeedButton/{index.scss.hbs → index.scss} +0 -0
- /package/templates/marketing/payload/src/components/BeforeDashboard/{index.scss.hbs → index.scss} +0 -0
- /package/templates/marketing/payload/src/fields/{index.ts.hbs → index.ts} +0 -0
- /package/templates/marketing/payload/src/utilities/{canUseDOM.ts.hbs → canUseDOM.ts} +0 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import type { Page } from "@/payload-types"
|
|
2
|
+
import { createParagraph } from "../richtext-helper"
|
|
3
|
+
|
|
4
|
+
export const automationPage = (): Partial<Page> => {
|
|
5
|
+
return {
|
|
6
|
+
slug: "features/automation",
|
|
7
|
+
_status: "published",
|
|
8
|
+
title: "Automation",
|
|
9
|
+
hero: {
|
|
10
|
+
type: "lowImpact",
|
|
11
|
+
richText: {
|
|
12
|
+
root: {
|
|
13
|
+
type: "root",
|
|
14
|
+
children: [
|
|
15
|
+
{
|
|
16
|
+
type: "heading",
|
|
17
|
+
children: [
|
|
18
|
+
{
|
|
19
|
+
type: "text",
|
|
20
|
+
detail: 0,
|
|
21
|
+
format: 0,
|
|
22
|
+
mode: "normal",
|
|
23
|
+
style: "",
|
|
24
|
+
text: "Automate the busywork, focus on growth",
|
|
25
|
+
version: 1,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
direction: "ltr" as const,
|
|
29
|
+
format: "" as const,
|
|
30
|
+
indent: 0,
|
|
31
|
+
tag: "h1",
|
|
32
|
+
version: 1,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: "paragraph",
|
|
36
|
+
children: [
|
|
37
|
+
{
|
|
38
|
+
type: "text",
|
|
39
|
+
detail: 0,
|
|
40
|
+
format: 0,
|
|
41
|
+
mode: "normal",
|
|
42
|
+
style: "",
|
|
43
|
+
text: "Set up workflows that handle repetitive tasks automatically. From email notifications to listing expirations, let automation do the heavy lifting.",
|
|
44
|
+
version: 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
direction: "ltr" as const,
|
|
48
|
+
format: "" as const,
|
|
49
|
+
indent: 0,
|
|
50
|
+
textFormat: 0,
|
|
51
|
+
version: 1,
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
direction: "ltr" as const,
|
|
55
|
+
format: "" as const,
|
|
56
|
+
indent: 0,
|
|
57
|
+
version: 1,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
links: [
|
|
61
|
+
{
|
|
62
|
+
link: {
|
|
63
|
+
type: "custom",
|
|
64
|
+
appearance: "default",
|
|
65
|
+
label: "Start automating",
|
|
66
|
+
url: "/sign-up",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
link: {
|
|
71
|
+
type: "custom",
|
|
72
|
+
appearance: "outline",
|
|
73
|
+
label: "See automation examples",
|
|
74
|
+
url: "/features",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
layout: [
|
|
80
|
+
{
|
|
81
|
+
blockType: "featureShowcase",
|
|
82
|
+
blockName: "Email Automation",
|
|
83
|
+
label: "Email Workflows",
|
|
84
|
+
headline: "Automated emails that nurture and convert",
|
|
85
|
+
description: createParagraph(
|
|
86
|
+
"Welcome new users, remind about expiring listings, confirm submissions, and celebrate milestones. Set up email sequences once and let them run automatically.",
|
|
87
|
+
),
|
|
88
|
+
link: {
|
|
89
|
+
type: "custom",
|
|
90
|
+
label: "Learn about email automation",
|
|
91
|
+
url: "/features",
|
|
92
|
+
appearance: "default",
|
|
93
|
+
},
|
|
94
|
+
imagePosition: "right",
|
|
95
|
+
features: [
|
|
96
|
+
{ text: "Welcome email sequences" },
|
|
97
|
+
{ text: "Listing expiration reminders" },
|
|
98
|
+
{ text: "Submission confirmation emails" },
|
|
99
|
+
{ text: "Payment receipt notifications" },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
blockType: "featureShowcase",
|
|
104
|
+
blockName: "Workflow Automation",
|
|
105
|
+
label: "Smart Workflows",
|
|
106
|
+
headline: "Build custom workflows without code",
|
|
107
|
+
description: createParagraph(
|
|
108
|
+
"Create trigger-based workflows that respond to events in your directory. When a listing is submitted, approved, or expires, trigger the right actions automatically.",
|
|
109
|
+
),
|
|
110
|
+
link: {
|
|
111
|
+
type: "custom",
|
|
112
|
+
label: "Explore workflow builder",
|
|
113
|
+
url: "/features",
|
|
114
|
+
appearance: "default",
|
|
115
|
+
},
|
|
116
|
+
imagePosition: "left",
|
|
117
|
+
features: [
|
|
118
|
+
{ text: "Visual workflow builder" },
|
|
119
|
+
{ text: "Event-based triggers" },
|
|
120
|
+
{ text: "Conditional logic branches" },
|
|
121
|
+
{ text: "Third-party integrations" },
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
blockType: "featureShowcase",
|
|
126
|
+
blockName: "Scheduled Tasks",
|
|
127
|
+
label: "Scheduled Actions",
|
|
128
|
+
headline: "Set it and forget it with scheduled tasks",
|
|
129
|
+
description: createParagraph(
|
|
130
|
+
"Schedule recurring tasks like content cleanup, report generation, and backup exports. Keep your directory running smoothly without manual intervention.",
|
|
131
|
+
),
|
|
132
|
+
link: {
|
|
133
|
+
type: "custom",
|
|
134
|
+
label: "See scheduling options",
|
|
135
|
+
url: "/features",
|
|
136
|
+
appearance: "default",
|
|
137
|
+
},
|
|
138
|
+
imagePosition: "right",
|
|
139
|
+
features: [
|
|
140
|
+
{ text: "Automated content expiration" },
|
|
141
|
+
{ text: "Scheduled report emails" },
|
|
142
|
+
{ text: "Recurring backup exports" },
|
|
143
|
+
{ text: "Periodic data cleanup" },
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
blockType: "bentoFeatures",
|
|
148
|
+
blockName: "Automation Features",
|
|
149
|
+
heading: "Automation that saves hours every week",
|
|
150
|
+
subheading: "Focus on growing your directory while automation handles the rest",
|
|
151
|
+
features: [
|
|
152
|
+
{
|
|
153
|
+
size: "small",
|
|
154
|
+
style: "gradient",
|
|
155
|
+
icon: "zap",
|
|
156
|
+
stat: "10x",
|
|
157
|
+
title: "Faster Operations",
|
|
158
|
+
description: createParagraph("Automate repetitive tasks instantly."),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
size: "small",
|
|
162
|
+
style: "accent",
|
|
163
|
+
icon: "settings",
|
|
164
|
+
title: "No-Code Setup",
|
|
165
|
+
description: createParagraph("Build automations without developers."),
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
size: "small",
|
|
169
|
+
style: "default",
|
|
170
|
+
icon: "rocket",
|
|
171
|
+
title: "Instant Triggers",
|
|
172
|
+
description: createParagraph("React to events in real-time."),
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
size: "small",
|
|
176
|
+
style: "primary",
|
|
177
|
+
icon: "layers",
|
|
178
|
+
title: "Webhook Support",
|
|
179
|
+
description: createParagraph("Connect to any external service."),
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
size: "small",
|
|
183
|
+
style: "default",
|
|
184
|
+
icon: "database",
|
|
185
|
+
title: "Action History",
|
|
186
|
+
description: createParagraph("Full logs of all automated actions."),
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
size: "small",
|
|
190
|
+
style: "default",
|
|
191
|
+
icon: "shield",
|
|
192
|
+
title: "Fail-Safe Design",
|
|
193
|
+
description: createParagraph("Automatic retries and error handling."),
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
blockType: "proofBanner",
|
|
199
|
+
blockName: "CTA Section",
|
|
200
|
+
style: "centered",
|
|
201
|
+
headline: "Let automation do the work",
|
|
202
|
+
subtext: "Set up workflows once and save hours every week. Start automating today.",
|
|
203
|
+
links: [
|
|
204
|
+
{
|
|
205
|
+
link: {
|
|
206
|
+
type: "custom",
|
|
207
|
+
appearance: "default",
|
|
208
|
+
label: "Get started free",
|
|
209
|
+
url: "/sign-up",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
link: {
|
|
214
|
+
type: "custom",
|
|
215
|
+
appearance: "outline",
|
|
216
|
+
label: "See all features",
|
|
217
|
+
url: "/features",
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
meta: {
|
|
224
|
+
description:
|
|
225
|
+
"Automate your directory operations with smart workflows, email sequences, and scheduled tasks. Save hours every week without writing code.",
|
|
226
|
+
title: "Automation Features — DirectoryHub Workflow Tools",
|
|
227
|
+
},
|
|
228
|
+
}
|
|
229
|
+
}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import type { Page } from "@/payload-types"
|
|
2
|
+
import { createParagraph } from "../richtext-helper"
|
|
3
|
+
|
|
4
|
+
export const customFieldsPage = (): Partial<Page> => {
|
|
5
|
+
return {
|
|
6
|
+
slug: "features/custom-fields",
|
|
7
|
+
_status: "published",
|
|
8
|
+
title: "Custom Fields",
|
|
9
|
+
hero: {
|
|
10
|
+
type: "lowImpact",
|
|
11
|
+
richText: {
|
|
12
|
+
root: {
|
|
13
|
+
type: "root",
|
|
14
|
+
children: [
|
|
15
|
+
{
|
|
16
|
+
type: "heading",
|
|
17
|
+
children: [
|
|
18
|
+
{
|
|
19
|
+
type: "text",
|
|
20
|
+
detail: 0,
|
|
21
|
+
format: 0,
|
|
22
|
+
mode: "normal",
|
|
23
|
+
style: "",
|
|
24
|
+
text: "Flexible schemas for any directory type",
|
|
25
|
+
version: 1,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
direction: "ltr" as const,
|
|
29
|
+
format: "" as const,
|
|
30
|
+
indent: 0,
|
|
31
|
+
tag: "h1",
|
|
32
|
+
version: 1,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: "paragraph",
|
|
36
|
+
children: [
|
|
37
|
+
{
|
|
38
|
+
type: "text",
|
|
39
|
+
detail: 0,
|
|
40
|
+
format: 0,
|
|
41
|
+
mode: "normal",
|
|
42
|
+
style: "",
|
|
43
|
+
text: "Create custom fields that match your niche perfectly. Text, numbers, dropdowns, images, locations, and more. Build the exact data structure your directory needs.",
|
|
44
|
+
version: 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
direction: "ltr" as const,
|
|
48
|
+
format: "" as const,
|
|
49
|
+
indent: 0,
|
|
50
|
+
textFormat: 0,
|
|
51
|
+
version: 1,
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
direction: "ltr" as const,
|
|
55
|
+
format: "" as const,
|
|
56
|
+
indent: 0,
|
|
57
|
+
version: 1,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
links: [
|
|
61
|
+
{
|
|
62
|
+
link: {
|
|
63
|
+
type: "custom",
|
|
64
|
+
appearance: "default",
|
|
65
|
+
label: "Start building",
|
|
66
|
+
url: "/sign-up",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
link: {
|
|
71
|
+
type: "custom",
|
|
72
|
+
appearance: "outline",
|
|
73
|
+
label: "See field types",
|
|
74
|
+
url: "/features",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
layout: [
|
|
80
|
+
{
|
|
81
|
+
blockType: "featureShowcase",
|
|
82
|
+
blockName: "Field Types",
|
|
83
|
+
label: "Rich Field Types",
|
|
84
|
+
headline: "Every field type you need",
|
|
85
|
+
description: createParagraph(
|
|
86
|
+
"From simple text and numbers to complex relationships and media galleries. Choose from 20+ field types to capture exactly the data your directory requires.",
|
|
87
|
+
),
|
|
88
|
+
link: {
|
|
89
|
+
type: "custom",
|
|
90
|
+
label: "Explore field types",
|
|
91
|
+
url: "/features",
|
|
92
|
+
appearance: "default",
|
|
93
|
+
},
|
|
94
|
+
imagePosition: "right",
|
|
95
|
+
features: [
|
|
96
|
+
{ text: "Text, rich text, and numbers" },
|
|
97
|
+
{ text: "Dropdowns and multi-select" },
|
|
98
|
+
{ text: "Images and file uploads" },
|
|
99
|
+
{ text: "Location and map fields" },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
blockType: "featureShowcase",
|
|
104
|
+
blockName: "Dynamic Filtering",
|
|
105
|
+
label: "Smart Filters",
|
|
106
|
+
headline: "Custom fields power smart filtering",
|
|
107
|
+
description: createParagraph(
|
|
108
|
+
"Every custom field becomes a filterable attribute. Users can search and filter by any field you create, making it easy to find exactly what they're looking for.",
|
|
109
|
+
),
|
|
110
|
+
link: {
|
|
111
|
+
type: "custom",
|
|
112
|
+
label: "See filtering in action",
|
|
113
|
+
url: "/features",
|
|
114
|
+
appearance: "default",
|
|
115
|
+
},
|
|
116
|
+
imagePosition: "left",
|
|
117
|
+
features: [
|
|
118
|
+
{ text: "Automatic filter generation" },
|
|
119
|
+
{ text: "Range sliders for numbers" },
|
|
120
|
+
{ text: "Multi-select tag filters" },
|
|
121
|
+
{ text: "Location-based search" },
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
blockType: "featureShowcase",
|
|
126
|
+
blockName: "Conditional Logic",
|
|
127
|
+
label: "Conditional Fields",
|
|
128
|
+
headline: "Show fields based on conditions",
|
|
129
|
+
description: createParagraph(
|
|
130
|
+
"Display different fields based on category, listing type, or user selections. Create smart forms that only show relevant fields to keep the submission process simple.",
|
|
131
|
+
),
|
|
132
|
+
link: {
|
|
133
|
+
type: "custom",
|
|
134
|
+
label: "Learn about conditions",
|
|
135
|
+
url: "/features",
|
|
136
|
+
appearance: "default",
|
|
137
|
+
},
|
|
138
|
+
imagePosition: "right",
|
|
139
|
+
features: [
|
|
140
|
+
{ text: "Category-specific fields" },
|
|
141
|
+
{ text: "Conditional visibility rules" },
|
|
142
|
+
{ text: "Dynamic form sections" },
|
|
143
|
+
{ text: "Required field logic" },
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
blockType: "bentoFeatures",
|
|
148
|
+
blockName: "Custom Field Features",
|
|
149
|
+
heading: "Build any directory schema",
|
|
150
|
+
subheading: "No limitations on what data you can collect and display",
|
|
151
|
+
features: [
|
|
152
|
+
{
|
|
153
|
+
size: "small",
|
|
154
|
+
style: "gradient",
|
|
155
|
+
icon: "layers",
|
|
156
|
+
stat: "20+",
|
|
157
|
+
title: "Field Types",
|
|
158
|
+
description: createParagraph("Every data type you could need."),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
size: "small",
|
|
162
|
+
style: "accent",
|
|
163
|
+
icon: "settings",
|
|
164
|
+
title: "Drag & Drop",
|
|
165
|
+
description: createParagraph("Visual field builder interface."),
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
size: "small",
|
|
169
|
+
style: "default",
|
|
170
|
+
icon: "search",
|
|
171
|
+
title: "Searchable",
|
|
172
|
+
description: createParagraph("All fields indexed for search."),
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
size: "small",
|
|
176
|
+
style: "primary",
|
|
177
|
+
icon: "database",
|
|
178
|
+
title: "Structured Data",
|
|
179
|
+
description: createParagraph("Automatic schema.org mapping."),
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
size: "small",
|
|
183
|
+
style: "default",
|
|
184
|
+
icon: "globe",
|
|
185
|
+
title: "Multi-Language",
|
|
186
|
+
description: createParagraph("Localized field labels and values."),
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
size: "small",
|
|
190
|
+
style: "default",
|
|
191
|
+
icon: "shield",
|
|
192
|
+
title: "Validation Rules",
|
|
193
|
+
description: createParagraph("Required, format, and custom rules."),
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
blockType: "proofBanner",
|
|
199
|
+
blockName: "CTA Section",
|
|
200
|
+
style: "centered",
|
|
201
|
+
headline: "Build your perfect directory schema",
|
|
202
|
+
subtext: "No coding required. Create custom fields in minutes and start collecting data.",
|
|
203
|
+
links: [
|
|
204
|
+
{
|
|
205
|
+
link: {
|
|
206
|
+
type: "custom",
|
|
207
|
+
appearance: "default",
|
|
208
|
+
label: "Start for free",
|
|
209
|
+
url: "/sign-up",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
link: {
|
|
214
|
+
type: "custom",
|
|
215
|
+
appearance: "outline",
|
|
216
|
+
label: "See all features",
|
|
217
|
+
url: "/features",
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
meta: {
|
|
224
|
+
description:
|
|
225
|
+
"Create custom fields for your directory with 20+ field types. Text, numbers, dropdowns, images, locations, and more. Build any schema without code.",
|
|
226
|
+
title: "Custom Fields — DirectoryHub Flexible Schemas",
|
|
227
|
+
},
|
|
228
|
+
}
|
|
229
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { Page } from "@/payload-types"
|
|
2
|
+
import { createParagraph } from "../richtext-helper"
|
|
3
|
+
|
|
4
|
+
export const dashboardPage = (): Partial<Page> => {
|
|
5
|
+
return {
|
|
6
|
+
slug: "features/dashboard",
|
|
7
|
+
_status: "published",
|
|
8
|
+
title: "Admin Dashboard",
|
|
9
|
+
hero: {
|
|
10
|
+
type: "lowImpact",
|
|
11
|
+
richText: {
|
|
12
|
+
root: {
|
|
13
|
+
type: "root",
|
|
14
|
+
children: [
|
|
15
|
+
{
|
|
16
|
+
type: "heading",
|
|
17
|
+
children: [
|
|
18
|
+
{
|
|
19
|
+
type: "text",
|
|
20
|
+
detail: 0,
|
|
21
|
+
format: 0,
|
|
22
|
+
mode: "normal",
|
|
23
|
+
style: "",
|
|
24
|
+
text: "Manage everything from one powerful dashboard",
|
|
25
|
+
version: 1,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
direction: "ltr" as const,
|
|
29
|
+
format: "" as const,
|
|
30
|
+
indent: 0,
|
|
31
|
+
tag: "h1",
|
|
32
|
+
version: 1,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: "paragraph",
|
|
36
|
+
children: [
|
|
37
|
+
{
|
|
38
|
+
type: "text",
|
|
39
|
+
detail: 0,
|
|
40
|
+
format: 0,
|
|
41
|
+
mode: "normal",
|
|
42
|
+
style: "",
|
|
43
|
+
text: "Review submissions, moderate content, track analytics, and manage payments all in one place. Built-in tools help you maintain quality while scaling your directory business.",
|
|
44
|
+
version: 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
direction: "ltr" as const,
|
|
48
|
+
format: "" as const,
|
|
49
|
+
indent: 0,
|
|
50
|
+
textFormat: 0,
|
|
51
|
+
version: 1,
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
direction: "ltr" as const,
|
|
55
|
+
format: "" as const,
|
|
56
|
+
indent: 0,
|
|
57
|
+
version: 1,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
links: [
|
|
61
|
+
{
|
|
62
|
+
link: {
|
|
63
|
+
type: "custom",
|
|
64
|
+
appearance: "default",
|
|
65
|
+
label: "Try the dashboard",
|
|
66
|
+
url: "/sign-up",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
link: {
|
|
71
|
+
type: "custom",
|
|
72
|
+
appearance: "outline",
|
|
73
|
+
label: "See a demo",
|
|
74
|
+
url: "/contact",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
layout: [
|
|
80
|
+
{
|
|
81
|
+
blockType: "featureShowcase",
|
|
82
|
+
blockName: "Content Moderation",
|
|
83
|
+
label: "Moderation Tools",
|
|
84
|
+
headline: "Review and approve submissions effortlessly",
|
|
85
|
+
description: createParagraph(
|
|
86
|
+
"Submission queues, bulk actions, and smart filters make content moderation fast. Approve, reject, or request changes with one click. Keep your directory quality high without the manual overhead.",
|
|
87
|
+
),
|
|
88
|
+
link: {
|
|
89
|
+
type: "custom",
|
|
90
|
+
label: "See moderation tools",
|
|
91
|
+
url: "/features",
|
|
92
|
+
appearance: "default",
|
|
93
|
+
},
|
|
94
|
+
imagePosition: "right",
|
|
95
|
+
features: [
|
|
96
|
+
{ text: "Submission review queues" },
|
|
97
|
+
{ text: "Bulk approve and reject" },
|
|
98
|
+
{ text: "Request changes workflow" },
|
|
99
|
+
{ text: "Automated spam detection" },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
blockType: "featureShowcase",
|
|
104
|
+
blockName: "Analytics",
|
|
105
|
+
label: "Real-Time Analytics",
|
|
106
|
+
headline: "Track what matters with built-in analytics",
|
|
107
|
+
description: createParagraph(
|
|
108
|
+
"See how your directory is performing at a glance. Track page views, listing engagement, conversion rates, and revenue metrics. Export reports or integrate with your favorite analytics tools.",
|
|
109
|
+
),
|
|
110
|
+
link: {
|
|
111
|
+
type: "custom",
|
|
112
|
+
label: "Explore analytics",
|
|
113
|
+
url: "/features",
|
|
114
|
+
appearance: "default",
|
|
115
|
+
},
|
|
116
|
+
imagePosition: "left",
|
|
117
|
+
features: [
|
|
118
|
+
{ text: "Traffic and engagement metrics" },
|
|
119
|
+
{ text: "Revenue and subscription tracking" },
|
|
120
|
+
{ text: "Listing performance insights" },
|
|
121
|
+
{ text: "Custom report generation" },
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
blockType: "featureShowcase",
|
|
126
|
+
blockName: "User Management",
|
|
127
|
+
label: "User Administration",
|
|
128
|
+
headline: "Manage users and permissions with ease",
|
|
129
|
+
description: createParagraph(
|
|
130
|
+
"Control who can do what in your directory. Set up team members with different roles, manage listing owners, and handle user support all from the dashboard.",
|
|
131
|
+
),
|
|
132
|
+
link: {
|
|
133
|
+
type: "custom",
|
|
134
|
+
label: "Learn about permissions",
|
|
135
|
+
url: "/features",
|
|
136
|
+
appearance: "default",
|
|
137
|
+
},
|
|
138
|
+
imagePosition: "right",
|
|
139
|
+
features: [
|
|
140
|
+
{ text: "Role-based access control" },
|
|
141
|
+
{ text: "Team member management" },
|
|
142
|
+
{ text: "User activity logs" },
|
|
143
|
+
{ text: "Account suspension tools" },
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
blockType: "bentoFeatures",
|
|
148
|
+
blockName: "Dashboard Features",
|
|
149
|
+
heading: "Everything you need to run your directory",
|
|
150
|
+
subheading: "A complete admin experience without the complexity",
|
|
151
|
+
features: [
|
|
152
|
+
{
|
|
153
|
+
size: "small",
|
|
154
|
+
style: "gradient",
|
|
155
|
+
icon: "layout",
|
|
156
|
+
title: "Intuitive Interface",
|
|
157
|
+
description: createParagraph("Clean, modern design that's easy to navigate."),
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
size: "small",
|
|
161
|
+
style: "accent",
|
|
162
|
+
icon: "zap",
|
|
163
|
+
title: "Quick Actions",
|
|
164
|
+
description: createParagraph("Common tasks accessible in one click."),
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
size: "small",
|
|
168
|
+
style: "default",
|
|
169
|
+
icon: "search",
|
|
170
|
+
title: "Global Search",
|
|
171
|
+
description: createParagraph("Find any listing, user, or setting instantly."),
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
size: "small",
|
|
175
|
+
style: "primary",
|
|
176
|
+
icon: "shield",
|
|
177
|
+
title: "Activity Logs",
|
|
178
|
+
description: createParagraph("Full audit trail of all admin actions."),
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
size: "small",
|
|
182
|
+
style: "default",
|
|
183
|
+
icon: "settings",
|
|
184
|
+
title: "Settings Hub",
|
|
185
|
+
description: createParagraph("Configure every aspect of your directory."),
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
size: "small",
|
|
189
|
+
style: "default",
|
|
190
|
+
icon: "barChart",
|
|
191
|
+
title: "Dashboard Widgets",
|
|
192
|
+
description: createParagraph("Customizable overview of key metrics."),
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
blockType: "proofBanner",
|
|
198
|
+
blockName: "CTA Section",
|
|
199
|
+
style: "centered",
|
|
200
|
+
headline: "Take control of your directory",
|
|
201
|
+
subtext: "Powerful admin tools that scale with your business. Start managing today.",
|
|
202
|
+
links: [
|
|
203
|
+
{
|
|
204
|
+
link: {
|
|
205
|
+
type: "custom",
|
|
206
|
+
appearance: "default",
|
|
207
|
+
label: "Get started free",
|
|
208
|
+
url: "/sign-up",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
link: {
|
|
213
|
+
type: "custom",
|
|
214
|
+
appearance: "outline",
|
|
215
|
+
label: "Request a demo",
|
|
216
|
+
url: "/contact",
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
meta: {
|
|
223
|
+
description:
|
|
224
|
+
"Manage your directory with a powerful admin dashboard. Content moderation, analytics, user management, and more in one intuitive interface.",
|
|
225
|
+
title: "Admin Dashboard — DirectoryHub Management Tools",
|
|
226
|
+
},
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { templatesPage } from "./templates"
|
|
2
|
+
export { monetizationPage } from "./monetization"
|
|
3
|
+
export { seoPage } from "./seo"
|
|
4
|
+
export { dashboardPage } from "./dashboard"
|
|
5
|
+
export { automationPage } from "./automation"
|
|
6
|
+
export { customFieldsPage } from "./custom-fields"
|