Adds the inception docs and design for the homepage sections
Refreshes the shared reverse engineering docs, adds the requirements, application design and units for the homepage-sections feature, and updates the static design: live prices and form fields, the new Lieve woorden block and the coming-soon gate over the contact form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -851,6 +851,101 @@ p:last-child { margin-bottom: 0; }
|
||||
.pricing__deco--2 { bottom: 6%; right: 3%; }
|
||||
.pricing .container { position: relative; z-index: 1; }
|
||||
|
||||
/* ==========================================================================
|
||||
13b. Lieve woorden (testimonials)
|
||||
One review at a time: photo with the sand offset block (shared with the
|
||||
about block), a large quotation mark, shoot type, quote and names.
|
||||
========================================================================== */
|
||||
|
||||
.testimonials__track { display: grid; }
|
||||
|
||||
.testimonial {
|
||||
display: grid;
|
||||
grid-template-columns: 5fr 7fr;
|
||||
gap: clamp(2rem, 6vw, 5.5rem);
|
||||
align-items: center;
|
||||
animation: testimonial-in var(--dur) var(--ease);
|
||||
}
|
||||
.testimonial[hidden] { display: none; }
|
||||
|
||||
@keyframes testimonial-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.testimonial__media img { aspect-ratio: 4 / 5; }
|
||||
|
||||
.testimonial__body { position: relative; margin: 0; }
|
||||
|
||||
.testimonial__mark {
|
||||
display: block;
|
||||
height: .55em;
|
||||
color: var(--c-accent);
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(5rem, 9vw, 7.5rem);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.testimonial__quote {
|
||||
margin: 0 0 1.75rem;
|
||||
color: var(--c-ink);
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(1.35rem, 2.2vw, 1.75rem);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.testimonial__author {
|
||||
color: var(--c-ink-soft);
|
||||
font-size: var(--fs-eyebrow);
|
||||
letter-spacing: var(--ls-wide);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.testimonial__author::before { content: '— '; }
|
||||
|
||||
.testimonials__controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1.5rem;
|
||||
margin-top: clamp(2.5rem, 5vw, 4rem);
|
||||
}
|
||||
.testimonials__controls[hidden] { display: none; }
|
||||
|
||||
.testimonials__arrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 48px; height: 48px;
|
||||
border: 1px solid var(--c-line);
|
||||
background: transparent;
|
||||
color: var(--c-ink);
|
||||
font-size: 1.1rem;
|
||||
transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
|
||||
}
|
||||
.testimonials__arrow:hover,
|
||||
.testimonials__arrow:focus-visible { border-color: var(--c-ink); background: var(--c-paper); }
|
||||
|
||||
.testimonials__dots { display: flex; gap: .25rem; }
|
||||
|
||||
/* 44px hit area around a small visible dot */
|
||||
.testimonials__dot {
|
||||
position: relative;
|
||||
width: 44px; height: 44px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
.testimonials__dot::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 50% auto auto 50%;
|
||||
width: 8px; height: 8px;
|
||||
border: 1px solid var(--c-accent-deep);
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
transition: background var(--dur) var(--ease);
|
||||
}
|
||||
.testimonials__dot[aria-current='true']::after { background: var(--c-accent-deep); }
|
||||
|
||||
/* ==========================================================================
|
||||
14. Soorten fotoshoots
|
||||
========================================================================== */
|
||||
@@ -1051,6 +1146,59 @@ p:last-child { margin-bottom: 0; }
|
||||
|
||||
.form__textarea { min-height: 170px; resize: vertical; }
|
||||
|
||||
/* Native select in the input style, with a drawn chevron */
|
||||
.form__select {
|
||||
appearance: none;
|
||||
padding-right: 2.75rem;
|
||||
background-image: linear-gradient(45deg, transparent 50%, var(--c-ink-soft) 50%),
|
||||
linear-gradient(135deg, var(--c-ink-soft) 50%, transparent 50%);
|
||||
background-position: calc(100% - 1.4rem) 50%, calc(100% - 1.05rem) 50%;
|
||||
background-size: .35rem .35rem;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.form__select:focus {
|
||||
outline: none;
|
||||
border-color: var(--c-accent);
|
||||
box-shadow: 0 0 0 3px rgba(127, 139, 118, .18);
|
||||
}
|
||||
.form__select[aria-invalid='true'] { border-color: #a4443a; }
|
||||
|
||||
/* Honeypot: off-screen for people, still in the DOM for bots */
|
||||
.form__hp {
|
||||
position: absolute;
|
||||
left: -10000px;
|
||||
width: 1px; height: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* "Coming soon" gate: the form stays visible but dimmed and inert under a
|
||||
notice, until there is a back-end. */
|
||||
.form-gate { position: relative; }
|
||||
|
||||
.form-gate[data-form-disabled] .form {
|
||||
opacity: .35;
|
||||
filter: blur(1.5px);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.form-gate__notice {
|
||||
position: absolute;
|
||||
inset: 50% auto auto 50%;
|
||||
width: min(100%, 520px);
|
||||
padding: clamp(2rem, 4vw, 3rem);
|
||||
border: 1px solid var(--c-line);
|
||||
background: var(--c-white);
|
||||
box-shadow: var(--shadow-md);
|
||||
text-align: center;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.form-gate__notice[hidden] { display: none; }
|
||||
|
||||
.form-gate__text {
|
||||
margin-bottom: 1.75rem;
|
||||
color: var(--c-ink-soft);
|
||||
}
|
||||
|
||||
.form__error {
|
||||
color: #a4443a;
|
||||
font-size: var(--fs-small);
|
||||
@@ -1230,8 +1378,11 @@ p:last-child { margin-bottom: 0; }
|
||||
|
||||
.about,
|
||||
.shoot,
|
||||
.testimonial,
|
||||
.contact-layout { grid-template-columns: 1fr; }
|
||||
|
||||
.testimonial__media { max-width: 420px; }
|
||||
|
||||
.about--reverse .about__media,
|
||||
.shoot:nth-child(even) .shoot__media { order: 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user