Everything seems to be working with better UI for page editting
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import type { LandingPageBlock } from './content';
|
||||
import { CTA } from './cta';
|
||||
import { FAQ } from './faq';
|
||||
import { Features } from './features';
|
||||
import { Hero } from './hero';
|
||||
import { LogoCloud } from './logo-cloud';
|
||||
import { Pricing } from './pricing';
|
||||
import { Stats } from './stats';
|
||||
import { TechStack } from './tech-stack';
|
||||
import { Testimonials } from './testimonials';
|
||||
|
||||
interface LandingPageBuilderProps {
|
||||
blocks: LandingPageBlock[];
|
||||
@@ -22,6 +27,21 @@ export const LandingPageBuilder = ({ blocks }: LandingPageBuilderProps) => {
|
||||
case 'techStack': {
|
||||
return <TechStack key={key} content={block} />;
|
||||
}
|
||||
case 'testimonials': {
|
||||
return <Testimonials key={key} content={block} />;
|
||||
}
|
||||
case 'logoCloud': {
|
||||
return <LogoCloud key={key} content={block} />;
|
||||
}
|
||||
case 'stats': {
|
||||
return <Stats key={key} content={block} />;
|
||||
}
|
||||
case 'pricing': {
|
||||
return <Pricing key={key} content={block} />;
|
||||
}
|
||||
case 'faq': {
|
||||
return <FAQ key={key} content={block} />;
|
||||
}
|
||||
case 'cta': {
|
||||
return <CTA key={key} content={block} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user