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.
|
||||
|
||||
---
|
||||
|
||||
## 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)' }}
|
||||
/>
|
||||
|
||||
<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) => (
|
||||
<Fragment key={step.label}>
|
||||
<li className="e-w98-card" data-testid={`e-step-${index + 1}`}>
|
||||
@@ -96,12 +96,6 @@ export function Era1998() {
|
||||
/>
|
||||
))}
|
||||
</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>
|
||||
</li>
|
||||
<li className="e-w98-arrow" aria-hidden="true">
|
||||
@@ -155,13 +149,6 @@ export function Era1998() {
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p
|
||||
className="m-0 mt-10 text-center text-[13px]"
|
||||
style={{ fontFamily: SANS, color: 'var(--e-w98-sub)' }}
|
||||
>
|
||||
{processEra.joke}
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { heroContent } from '../../features/landing/data/content';
|
||||
import { handleAnchorClick } from '../../utils/scrollToHash';
|
||||
import { heroEra } from './eraContent';
|
||||
|
||||
/** 2026: modern hero with the live headline and the blinking code line. */
|
||||
export function Era2026() {
|
||||
@@ -53,22 +52,6 @@ export function Era2026() {
|
||||
/>
|
||||
</p>
|
||||
</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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ import './fonts';
|
||||
import './era.css';
|
||||
import { SkipLink } from '../../components/layout/SkipLink';
|
||||
import { useTheme } from '../../theme/ThemeProvider';
|
||||
import { handleAnchorClick } from '../../utils/scrollToHash';
|
||||
import { ENav } from './ENav';
|
||||
import { Era1989 } from './Era1989';
|
||||
import { Era1998 } from './Era1998';
|
||||
@@ -37,16 +36,6 @@ export default function LandingE() {
|
||||
<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]">
|
||||
<span>{terminalText.footerLeft}</span>
|
||||
<span>
|
||||
{terminalText.footerRight}{' '}
|
||||
<a
|
||||
href="#top"
|
||||
onClick={(event) => handleAnchorClick(event, '#top')}
|
||||
className="uppercase"
|
||||
>
|
||||
{terminalText.backTo2026}
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
+27
-12
@@ -36,7 +36,7 @@
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.e-root a {
|
||||
:where(.e-root) a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -171,8 +171,10 @@
|
||||
position: absolute;
|
||||
top: -40px;
|
||||
right: -22px;
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
width: 124px;
|
||||
height: 124px;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
transform: rotate(-12deg);
|
||||
clip-path: polygon(
|
||||
100% 50%,
|
||||
@@ -207,8 +209,8 @@
|
||||
text-align: center;
|
||||
font-family: 'Trebuchet MS', Verdana, sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 1.1;
|
||||
font-size: 13px;
|
||||
line-height: 1.15;
|
||||
color: #4a2200;
|
||||
}
|
||||
|
||||
@@ -221,8 +223,13 @@
|
||||
line-height: 1.45;
|
||||
--e-focus: var(--e-w98-ink);
|
||||
}
|
||||
.e-w98-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
.e-w98-card {
|
||||
flex: 1 1 200px;
|
||||
flex: none;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -232,21 +239,29 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.e-w98-arrow {
|
||||
flex: 0 0 40px;
|
||||
flex: none;
|
||||
height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
.e-w98-arrow svg {
|
||||
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 100%;
|
||||
flex: 1 1 0;
|
||||
}
|
||||
.e-w98-arrow {
|
||||
flex: 0 0 100%;
|
||||
height: 44px;
|
||||
flex: 0 0 40px;
|
||||
height: auto;
|
||||
}
|
||||
.e-w98-arrow svg {
|
||||
transform: rotate(90deg);
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,6 @@ export const processEra = {
|
||||
doneHeading: 'Je site is live!',
|
||||
doneText: 'Online, met uitleg erbij. Uitbreiden kan altijd.',
|
||||
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 = {
|
||||
@@ -35,8 +30,6 @@ export const terminalText = {
|
||||
retry: 'Opnieuw proberen',
|
||||
mailDirect: 'Of mail direct:',
|
||||
footerLeft: '(C) 2026 SLP SOFTWARE',
|
||||
footerRight: 'EINDE VAN DE REIS —',
|
||||
backTo2026: 'Terug naar 2026',
|
||||
};
|
||||
|
||||
export function packagesHeading(count: number): string {
|
||||
|
||||
Reference in New Issue
Block a user