Retro-stijl feedback: witte knoptekst, ruimere ster, stappen langer naast elkaar, overbodige teksten weg
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -838,3 +838,15 @@
|
|||||||
**Context**: U5 Code Generation Part 2 finished.
|
**Context**: U5 Code Generation Part 2 finished.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## U5 User Feedback Round 1 (retro style)
|
||||||
|
|
||||||
|
**Timestamp**: 2026-11-11T19:00:00Z
|
||||||
|
|
||||||
|
**User Input**: "1. red buttons black text -> white; 2. star text padding; 3. remove xx% van je project; 4. remove 800x600 line; 5. yellow contact button has yellow text when form not shown; 6. steps side by side longer (tablet landscape), stacked on portrait/mobile; 7. remove footer Einde van de reis and Scroll verder text"
|
||||||
|
|
||||||
|
**AI Response**: "Fixed: link colour specificity (:where) fixes 1 and 5; star bigger with padding; percent text, joke line, footer right text and scroll hint removed; steps list row from 920 px, stacked below. Lint/304 tests/build green."
|
||||||
|
|
||||||
|
**Context**: U5 review feedback.
|
||||||
|
|
||||||
|
---
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export function Era1998() {
|
|||||||
style={{ borderTop: '2px groove var(--e-w98-groove)' }}
|
style={{ borderTop: '2px groove var(--e-w98-groove)' }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ol className="m-0 flex list-none flex-wrap items-stretch p-0">
|
<ol className="e-w98-list m-0 list-none p-0">
|
||||||
{processSteps.map((step, index) => (
|
{processSteps.map((step, index) => (
|
||||||
<Fragment key={step.label}>
|
<Fragment key={step.label}>
|
||||||
<li className="e-w98-card" data-testid={`e-step-${index + 1}`}>
|
<li className="e-w98-card" data-testid={`e-step-${index + 1}`}>
|
||||||
@@ -96,12 +96,6 @@ export function Era1998() {
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<p
|
|
||||||
className="m-0 mt-1 text-xs"
|
|
||||||
style={{ fontFamily: SANS, color: 'var(--e-w98-sub)' }}
|
|
||||||
>
|
|
||||||
{Math.round(((index + 1) / total) * 100)}% van je project
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li className="e-w98-arrow" aria-hidden="true">
|
<li className="e-w98-arrow" aria-hidden="true">
|
||||||
@@ -155,13 +149,6 @@ export function Era1998() {
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p
|
|
||||||
className="m-0 mt-10 text-center text-[13px]"
|
|
||||||
style={{ fontFamily: SANS, color: 'var(--e-w98-sub)' }}
|
|
||||||
>
|
|
||||||
{processEra.joke}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { heroContent } from '../../features/landing/data/content';
|
import { heroContent } from '../../features/landing/data/content';
|
||||||
import { handleAnchorClick } from '../../utils/scrollToHash';
|
import { handleAnchorClick } from '../../utils/scrollToHash';
|
||||||
import { heroEra } from './eraContent';
|
|
||||||
|
|
||||||
/** 2026: modern hero with the live headline and the blinking code line. */
|
/** 2026: modern hero with the live headline and the blinking code line. */
|
||||||
export function Era2026() {
|
export function Era2026() {
|
||||||
@@ -53,22 +52,6 @@ export function Era2026() {
|
|||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p className="mt-16 flex items-center gap-2.5 border-t border-[color:var(--e-line)] pt-[22px] text-[15px] text-[color:var(--e-body)] md:mt-28">
|
|
||||||
{heroEra.scrollHint}
|
|
||||||
<svg
|
|
||||||
aria-hidden="true"
|
|
||||||
width="16"
|
|
||||||
height="16"
|
|
||||||
viewBox="0 0 16 16"
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
strokeWidth="1.6"
|
|
||||||
strokeLinecap="round"
|
|
||||||
strokeLinejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M8 2v12M3 9l5 5 5-5" />
|
|
||||||
</svg>
|
|
||||||
</p>
|
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import './fonts';
|
|||||||
import './era.css';
|
import './era.css';
|
||||||
import { SkipLink } from '../../components/layout/SkipLink';
|
import { SkipLink } from '../../components/layout/SkipLink';
|
||||||
import { useTheme } from '../../theme/ThemeProvider';
|
import { useTheme } from '../../theme/ThemeProvider';
|
||||||
import { handleAnchorClick } from '../../utils/scrollToHash';
|
|
||||||
import { ENav } from './ENav';
|
import { ENav } from './ENav';
|
||||||
import { Era1989 } from './Era1989';
|
import { Era1989 } from './Era1989';
|
||||||
import { Era1998 } from './Era1998';
|
import { Era1998 } from './Era1998';
|
||||||
@@ -37,16 +36,6 @@ export default function LandingE() {
|
|||||||
<footer className="e-sec-1989 border-t border-dashed border-[#7a5500]">
|
<footer className="e-sec-1989 border-t border-dashed border-[#7a5500]">
|
||||||
<div className="mx-auto flex max-w-[1000px] flex-wrap justify-between gap-x-6 gap-y-2 px-6 py-[22px] text-xl text-[#d99600]">
|
<div className="mx-auto flex max-w-[1000px] flex-wrap justify-between gap-x-6 gap-y-2 px-6 py-[22px] text-xl text-[#d99600]">
|
||||||
<span>{terminalText.footerLeft}</span>
|
<span>{terminalText.footerLeft}</span>
|
||||||
<span>
|
|
||||||
{terminalText.footerRight}{' '}
|
|
||||||
<a
|
|
||||||
href="#top"
|
|
||||||
onClick={(event) => handleAnchorClick(event, '#top')}
|
|
||||||
className="uppercase"
|
|
||||||
>
|
|
||||||
{terminalText.backTo2026}
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+30
-15
@@ -36,7 +36,7 @@
|
|||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.e-root a {
|
:where(.e-root) a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,8 +171,10 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -40px;
|
top: -40px;
|
||||||
right: -22px;
|
right: -22px;
|
||||||
width: 112px;
|
width: 124px;
|
||||||
height: 112px;
|
height: 124px;
|
||||||
|
padding: 24px;
|
||||||
|
box-sizing: border-box;
|
||||||
transform: rotate(-12deg);
|
transform: rotate(-12deg);
|
||||||
clip-path: polygon(
|
clip-path: polygon(
|
||||||
100% 50%,
|
100% 50%,
|
||||||
@@ -207,8 +209,8 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: 'Trebuchet MS', Verdana, sans-serif;
|
font-family: 'Trebuchet MS', Verdana, sans-serif;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 14px;
|
font-size: 13px;
|
||||||
line-height: 1.1;
|
line-height: 1.15;
|
||||||
color: #4a2200;
|
color: #4a2200;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,8 +223,13 @@
|
|||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
--e-focus: var(--e-w98-ink);
|
--e-focus: var(--e-w98-ink);
|
||||||
}
|
}
|
||||||
|
.e-w98-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
.e-w98-card {
|
.e-w98-card {
|
||||||
flex: 1 1 200px;
|
flex: none;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -232,22 +239,30 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.e-w98-arrow {
|
.e-w98-arrow {
|
||||||
flex: 0 0 40px;
|
flex: none;
|
||||||
|
height: 44px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
@media (max-width: 960px) {
|
|
||||||
.e-w98-card {
|
|
||||||
flex: 1 1 100%;
|
|
||||||
}
|
|
||||||
.e-w98-arrow {
|
|
||||||
flex: 0 0 100%;
|
|
||||||
height: 44px;
|
|
||||||
}
|
|
||||||
.e-w98-arrow svg {
|
.e-w98-arrow svg {
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
|
/* Side by side from tablet landscape up; stacked on portrait tablets and phones */
|
||||||
|
@media (min-width: 920px) {
|
||||||
|
.e-w98-list {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.e-w98-card {
|
||||||
|
flex: 1 1 0;
|
||||||
|
}
|
||||||
|
.e-w98-arrow {
|
||||||
|
flex: 0 0 40px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.e-w98-arrow svg {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- dither strips between the eras ---------- */
|
/* ---------- dither strips between the eras ---------- */
|
||||||
|
|||||||
@@ -16,11 +16,6 @@ export const processEra = {
|
|||||||
doneHeading: 'Je site is live!',
|
doneHeading: 'Je site is live!',
|
||||||
doneText: 'Online, met uitleg erbij. Uitbreiden kan altijd.',
|
doneText: 'Online, met uitleg erbij. Uitbreiden kan altijd.',
|
||||||
doneLink: '» Begin met stap 1',
|
doneLink: '» Begin met stap 1',
|
||||||
joke: 'Deze pagina is het best te bekijken met een resolutie van 800 × 600.',
|
|
||||||
};
|
|
||||||
|
|
||||||
export const heroEra = {
|
|
||||||
scrollHint: 'Scroll verder — en zie waar het allemaal begon.',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const terminalText = {
|
export const terminalText = {
|
||||||
@@ -35,8 +30,6 @@ export const terminalText = {
|
|||||||
retry: 'Opnieuw proberen',
|
retry: 'Opnieuw proberen',
|
||||||
mailDirect: 'Of mail direct:',
|
mailDirect: 'Of mail direct:',
|
||||||
footerLeft: '(C) 2026 SLP SOFTWARE',
|
footerLeft: '(C) 2026 SLP SOFTWARE',
|
||||||
footerRight: 'EINDE VAN DE REIS —',
|
|
||||||
backTo2026: 'Terug naar 2026',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export function packagesHeading(count: number): string {
|
export function packagesHeading(count: number): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user