Hero uit het CMS met ingebakken terugval: markers CMS:HERO-HTML, CMS:HERO-PRELOAD en CMS:DATA, hero-teksten naar nl.json, lint ook op Hero, tests en docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -213,3 +213,25 @@ html {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Neutral hero HTML that the CMS host may write into the <!--CMS:HERO-HTML--> region of the first response
|
||||
* (class names are the host's: cms-hero-*). Same look as the hero in Hero.tsx; React replaces it after loading.
|
||||
*/
|
||||
@layer components {
|
||||
.cms-hero-title {
|
||||
@apply text-[clamp(56px,10.5vw,168px)] font-extrabold leading-[0.88] tracking-[-0.03em] [font-stretch:125%];
|
||||
}
|
||||
.cms-hero-name {
|
||||
@apply block;
|
||||
}
|
||||
.cms-hero-buttons {
|
||||
@apply mt-12 flex flex-wrap gap-3 sm:mt-[72px];
|
||||
}
|
||||
.cms-hero-button {
|
||||
@apply border-2 border-white px-6 py-[15px] text-base font-bold text-white no-underline transition-colors hover:bg-white hover:text-brand;
|
||||
}
|
||||
.cms-hero-button:first-child {
|
||||
@apply bg-white px-[26px] py-[17px] text-[#0e0d0d] hover:bg-inv hover:text-white;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user