This repository has been archived on 2026-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ui-essentials/projects/ui-landing-pages/src/lib/interfaces/templates.interfaces.ts
skyai_dev 246c62fd49 Add landing pages library with comprehensive components and demos
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 13:52:41 +10:00

63 lines
1.7 KiB
TypeScript

import { HeroConfig } from './hero.interfaces';
import { FeatureGridConfig } from './feature.interfaces';
import { TestimonialCarouselConfig, StatisticsConfig } from './social-proof.interfaces';
import { PricingTableConfig, CTASectionConfig } from './conversion.interfaces';
import { LandingHeaderConfig, FooterConfig } from './navigation.interfaces';
import { FAQConfig, TeamConfig, TimelineConfig } from './content.interfaces';
export interface LandingPageSection {
id: string;
component: string;
configuration: any;
visible?: boolean;
order?: number;
}
export interface LandingPageTemplate {
id: string;
name: string;
description: string;
type: 'saas' | 'product' | 'agency' | 'custom';
sections: LandingPageSection[];
theme?: 'light' | 'dark' | 'gradient';
metadata?: {
title?: string;
description?: string;
keywords?: string[];
author?: string;
};
}
// Pre-configured template interfaces
export interface SaaSTemplateConfig {
hero: HeroConfig;
features: FeatureGridConfig;
socialProof: StatisticsConfig;
pricing: PricingTableConfig;
testimonials: TestimonialCarouselConfig;
faq: FAQConfig;
cta: CTASectionConfig;
header?: LandingHeaderConfig;
footer?: FooterConfig;
}
export interface ProductTemplateConfig {
hero: HeroConfig;
features: FeatureGridConfig;
testimonials: TestimonialCarouselConfig;
pricing: PricingTableConfig;
cta: CTASectionConfig;
header?: LandingHeaderConfig;
footer?: FooterConfig;
}
export interface AgencyTemplateConfig {
hero: HeroConfig;
services: FeatureGridConfig;
team: TeamConfig;
timeline: TimelineConfig;
testimonials: TestimonialCarouselConfig;
cta: CTASectionConfig;
header?: LandingHeaderConfig;
footer?: FooterConfig;
}