Template
38 lines
1.4 KiB
TypeScript
38 lines
1.4 KiB
TypeScript
import type { Config, Data } from '@reacteditor/core';
|
|
import type { HeaderProps } from '@/components/website/header';
|
|
import type { FooterProps } from '@/components/website/footer';
|
|
import type { HeroProps } from '@/components/website/hero';
|
|
import type { LogoMarqueeProps } from '@/components/website/logo-marquee';
|
|
import type { FeaturesProps } from '@/components/website/features';
|
|
import type { TestimonialsProps } from '@/components/website/testimonials';
|
|
import type { PricingProps } from '@/components/website/pricing';
|
|
import type { CtaProps } from '@/components/website/cta';
|
|
import type { ContactFormProps } from '@/components/website/contact-form';
|
|
import type { StatsProps } from '@/components/website/stats';
|
|
import type { FaqProps } from '@/components/website/faq';
|
|
import type { PostsCarouselProps } from '@/components/website/posts-carousel';
|
|
import type { RootProps } from './root';
|
|
|
|
export type Components = {
|
|
header: HeaderProps;
|
|
footer: FooterProps;
|
|
hero: HeroProps;
|
|
'logo-marquee': LogoMarqueeProps;
|
|
features: FeaturesProps;
|
|
testimonials: TestimonialsProps;
|
|
pricing: PricingProps;
|
|
cta: CtaProps;
|
|
'contact-form': ContactFormProps;
|
|
stats: StatsProps;
|
|
faq: FaqProps;
|
|
'posts-carousel': PostsCarouselProps;
|
|
};
|
|
|
|
export type UserConfig = Config<{
|
|
components: Components;
|
|
root: RootProps;
|
|
categories: ['navigation', 'marketing', 'social-proof', 'content', 'conversion'];
|
|
}>;
|
|
|
|
export type UserData = Data<Components, RootProps>;
|