Loads the light logo after the page load
Lazy loading saved its bytes during page load, but left the logo empty for a moment when navigating to the homepage on a wide screen. Also adds the second unit's code summary and the shared docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ Candidates for modification are marked with ★ for the over-mij-page feature.
|
||||
- `web/src/routes/portfolio.tsx` — the portfolio (indexed; `?shoot=` filter; `ImageGallery` JSON-LD); `web/src/components/portfolio/PortfolioGallery/`, `web/src/content/portfolioContent.ts`, `web/src/lib/portfolioFilters.ts`, `web/src/assets/portfolio/*` (10 photos × 2 sizes), `web/public/og-portfolio.jpg`
|
||||
- `web/src/routes/{contact,privacyverklaring}.tsx` — placeholders with `PageIntro`
|
||||
- `web/src/components/AppShell.tsx` — shell
|
||||
- `web/src/components/NavigationBar/*` — header, NavLink (`sectionCurrent` underline for the parent of an open section), MobileNav (scrolls; Escape returns focus to the hamburger), NavSubmenu (desktop disclosure panel), MobileNavGroup (expandable shoot list on mobile), ChevronIcon
|
||||
- `web/src/components/NavigationBar/*` — header, NavLink (`sectionCurrent` underline for the parent of an open section), MobileNav (scrolls; Escape returns focus to the hamburger), NavSubmenu (desktop disclosure panel), MobileNavGroup (expandable shoot list on mobile), ChevronIcon, NoScriptNav (two `<noscript>` menu links, display fallbacks)
|
||||
- `web/src/components/Footer/*` — footer, FooterColumn, FooterLink
|
||||
- `web/src/components/Hero/*` — hero slider, arrows, pause button, socials, slider hook
|
||||
- `web/src/components/home/*` — five homepage sections (AboutBlock is the closest relative of the Over mij page's first block)
|
||||
@@ -89,7 +89,7 @@ Candidates for modification are marked with ★ for the over-mij-page feature.
|
||||
- ★ `web/src/components/PageSection/PageSection.tsx` — section frame for any page (was `HomeSection`)
|
||||
- ★ `web/src/components/MediaText/MediaText.tsx`, `Eyebrow/Eyebrow.tsx` — framed photo next to text; accent label (unit 2 adds `mediaSize` `'medium'`)
|
||||
- ★ `web/src/components/SectionHeading/SectionHeading.tsx` — eyebrow + h2 + lead
|
||||
- ★ `web/src/components/FramedImage/FramedImage.tsx`, `DeferredImage/DeferredImage.tsx`, `Reveal/Reveal.tsx` — photo blocks and fade-in
|
||||
- ★ `web/src/components/FramedImage/FramedImage.tsx`, `DeferredImage/DeferredImage.tsx`, `Reveal/Reveal.tsx` — photo blocks and fade-in (display fallbacks: `<noscript>` twin, visible-by-default `Reveal`); new `web/src/components/NoScript/` (`noScriptCss.ts`, `NoScriptStyles.tsx`: all no-JavaScript CSS in one head `<noscript><style>`); `data-requires-js` markers on controls that need JavaScript
|
||||
- `web/src/components/ContactForm/*` — contact form and gate
|
||||
- `web/src/components/BackToTop/BackToTop.tsx` — back-to-top button
|
||||
- `web/src/components/Analytics/UmamiAnalytics.tsx` — Umami script injection
|
||||
@@ -105,7 +105,7 @@ Candidates for modification are marked with ★ for the over-mij-page feature.
|
||||
- `web/src/lib/*.ts` — pure helpers with tests
|
||||
- `web/src/monitoring/*` — Sentry/Umami config and loader
|
||||
- `web/src/navigation.ts` — `RoutePath`, `NavItem` (with `children`, one level), `hasChildren`, `mainNav` (the shoot submenu comes from `shootTypes` via `shootNavItems`), `footerNav`
|
||||
- ★ `web/src/seo.ts`, `sitePages.ts`, `sitemap.ts` — SEO (`/over-mij` is `indexed: false` today)
|
||||
- ★ `web/src/seo.ts` (+ `preloadImage`), `web/src/lib/{revealPhase,firstRow}.ts`, `sitePages.ts`, `sitemap.ts` — SEO (`/over-mij` is `indexed: false` today)
|
||||
- ★ `web/lighthouserc.cjs` / `.desktop.cjs` — own list of indexed/noindex paths, guarded by a test
|
||||
- `web/src/theme.ts`, `web/src/recipes/*.ts` — design system
|
||||
- `web/src/test/*` — `renderWithProviders`, axe matcher, fast-check arbitraries, `fakeIntersectionObserver`, setup
|
||||
|
||||
Reference in New Issue
Block a user