Aimpress_site/src/components/blocks/BlockCTABanner.css
Vadym Samoilenko 6cd63f1bdf Add Page Builder: 15 block types + publish/unpublish via TinaCMS
- New TinaCMS collection 'pages' with 15 block templates:
  Hero, TextBlock, TwoColumn, Features, Stats, Testimonials,
  Team, FAQ, CTABanner, Video, Gallery, Pricing, Timeline,
  Divider, ContactForm
- Each page has published toggle (unpublished → 404)
- Route /p/:slug renders dynamic pages from content/pages/*.json
- scripts/copy-pages.mjs copies content/pages → public/pages at build
- prerender.mjs extended to prerender published pages
- All blocks styled with design tokens + Framer Motion animations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 22:29:51 +00:00

78 lines
1.5 KiB
CSS

.block-cta-banner {
padding: 80px 24px;
}
.block-cta-banner-inner {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.block-cta-banner-headline {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.3;
}
.block-cta-banner-subtext {
font-size: 1.05rem;
line-height: 1.6;
margin-bottom: 32px;
opacity: 0.9;
}
.block-cta-banner-btn {
display: inline-block;
padding: 14px 32px;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
}
.block-cta-banner--orange {
background-color: var(--orange-100);
}
.block-cta-banner--orange .block-cta-banner-headline {
color: white;
}
.block-cta-banner--orange .block-cta-banner-subtext {
color: white;
}
.block-cta-banner--orange .block-cta-banner-btn {
background-color: white;
color: var(--orange-100);
}
.block-cta-banner--orange .block-cta-banner-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.block-cta-banner--teal {
background-color: var(--dark-teal-100);
}
.block-cta-banner--teal .block-cta-banner-headline {
color: var(--light-grey-100);
}
.block-cta-banner--teal .block-cta-banner-subtext {
color: var(--light-grey-100);
}
.block-cta-banner--teal .block-cta-banner-btn {
background-color: var(--orange-100);
color: white;
}
.block-cta-banner--teal .block-cta-banner-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(255, 91, 4, 0.3);
}