BS-011 Reconcile accepted homepage composition to approved reference
@@ -1,24 +1,23 @@
|
||||
# BortStack current state
|
||||
|
||||
Updated 2026-11-10. BS-001 Complete and merged into codex at 5226596. Group BS-002–004 implemented on separate stacked local task branches/worktrees; no group merge/push/deployment.
|
||||
Updated 2026-11-10. BS-001 Complete/merged into codex at 5226596. BS-002–004 remain a local unmerged stack; Captain rejected BS-004 visual fidelity after functional testing. Current accepted correction: BS-011 at `/home/rob/projects/bortstack/.task-worktrees/bs-011`, branch bs-011, based on bs-004/4f3b75b. Changes uncommitted; no merge/deploy.
|
||||
|
||||
## Implemented candidate (bs-004 includes BS-002 and BS-003)
|
||||
## Homepage correction
|
||||
|
||||
- Public marketing router with four-link responsive navigation and no mounted AuthProvider or account pages. Services/Projects/case-study/About/Contact/Privacy are honest noindex placeholders pending their tasks. Contact has no form yet.
|
||||
- Exact approved palette tokens copied unchanged, dark default, persistent optional light before React load, keyboard theme toggle and safe behavior with denied storage. Plain text logo visibly labelled Logo pending.
|
||||
- Approved homepage section composition: one hero CTA, restrained decorative engineering illustration, four service summaries, exactly one marked featured-project/media slot, three grounded qualities and closing contact invitation. Genuine master logo and project imagery still missing; no fake screenshot or replacement B created.
|
||||
- Inherited backend/account source remains provisional/unchanged. API Admin independent. Static SEO/legal/contact/backend decoupling and production topology remain later tasks.
|
||||
Live before screenshot at reference viewport 1024×1536 measured 2133px full-page height, 99px header and 28px gutters. Corrected full page 1557px (includes required understated footer), 67px header, 56px gutters. Hero heading scale/wrap aligned, sections repositioned, service tiles/icons enlarged, extraneous service arrows/CTA eyebrow removed, featured slot matched to about 507×267, closing panel x35/y1288/w954/h205 (reference approximately35/1287/954/203). Theme control follows compact two-icon pill; persistent/storage-safe behavior retained. Poppins self-hosted with OFL as closest visual approximation; exact reference typeface unspecified.
|
||||
|
||||
The unrelated CSS code illustration is removed. Original authentic logo, standalone approved laptop/workspace hero art, and authorized featured-project screenshot/details are absent. Correct placement is reserved with explicit asset placeholders, not fabricated artwork or fake screenshots. Exact approved palette tokens unchanged; darker pixels in reference do not override written palette. Full fidelity remains asset-blocked and Captain accepted homepage composition/manual testing on 2026-11-10; missing assets remain an acknowledged finalization gate.
|
||||
|
||||
Evidence: docs/visual-qa/bs-011/ contains audit, before, after at exact viewport and full page, side-by-side comparison, tablet768/mobile390/narrow320/light1024 screenshots and measured geometry. Iterated and visually inspected; no runtime errors/HTTP failures/overflow in captured layouts. Minor icon/font/gradient differences remain documented; footer retained though reference does not show one.
|
||||
|
||||
## Verification
|
||||
|
||||
Group candidate: lint, 29 unit tests, Vite production build, all 38 desktop/mobile browser checks passed. Includes 320/768/1440 width checks, CTA navigation, no public session API requests, mobile nav, keyboard skip link, both-theme axe diagnostics, persistent theme, denied storage and stored preference before React. Desktop/mobile dark/light full-page screenshots inspected; light mobile-menu icon corrected. No formal WCAG certification claimed.
|
||||
Lint, 29 unit tests, final Vite build passed. 38 existing desktop/mobile Playwright checks and 2 new reference-coordinate checks passed. Final 8 affected viewport/reference checks passed again after 320px heading-wrap/tablet row-gap fixes. Both-theme axe, theme persistence/before React/denied storage, keyboard/mobile navigation and CTA links preserved. Backend unchanged, tests not rerun. No packages/lockfile changed; fonts added as licensed static assets. Inherited 10 npm audit alerts remain separate existing risk.
|
||||
|
||||
Actual project-root testtask TASK-004 reached ready: exact-state snapshot, Docker builds, disposable SQLite migrations, frontend/direct+proxied API readiness, real headless Firefox and exit 0. Owned task resources removed. Container images cached. Final review snapshots refreshed after context updates. Normal graphical command remains ./scripts/testtask.sh TASK-004, Ctrl-C to stop.
|
||||
Actual root `./scripts/testtask.sh TASK-011` smoke reached ready with exact snapshot, Docker builds, disposable migrations, direct/proxied HTTP and real headless Firefox; exit 0. Prior TASK-004 containers occupied ports; removed only that project following Captain’s test-complete confirmation. Final TASK-011 containers/network cleanup checked; images/snapshot retained.
|
||||
|
||||
No dependencies added or lockfile changed. Existing host Node located via explicit path; locked frontend dependencies installed locally for checks (ignored). npm audit reported 10 inherited alerts: 5 moderate/3 high/2 critical. Backend suites not rerun because no backend behavior changed.
|
||||
## Scope and gate
|
||||
|
||||
## Review location and assets
|
||||
No Services/Projects/About/Contact implementation proceeded; existing placeholders unchanged. API Admin independent; backend/production infrastructure untouched. Root codex still BS-001, with pre-existing untracked docs/references image copies preserved untouched (byte-identical to canonical assets). Stop at homepage composition screenshot review. BS-011 composition/manual testing accepted; commit/integration remains pending explicit authorization before final Complete. Final asset fidelity needs original approved artwork, then Captain approval before secondary-page reconciliation.
|
||||
|
||||
Integration codex is clean at BS-001. bs-002 ea28637, bs-003 2a4ffe1 and bs-004 local review commit form a dependency stack. Per-task worktrees under .task-worktrees/. Captain review/acceptance required before group merge; BS-005+ not started.
|
||||
|
||||
Authentic approved master logo/light board, authorized portfolio screenshot and featured-project choice remain outstanding. Domain/email/legal/provider/hosting decisions remain unverified. The code-native illustration is decorative; featured work explicitly pending.
|
||||
Captain confirmed task acceptance on 2026-11-10. Task-owned test containers/network cleaned after that confirmation. Existing branch/worktree and screenshot evidence retained; no next-page work or integration performed.
|
||||
|
||||
@@ -1,29 +1,32 @@
|
||||
# BortStack group handoff
|
||||
# BS-011 homepage fidelity handoff
|
||||
|
||||
Replaceable supplementary snapshot, 2026-11-10. Captain explicitly authorized BS-001 commit/merge and group BS-002–004 engagement. BS-001 merged into codex at 5226596; no group merge/push/deploy authorized.
|
||||
Replaceable supplementary snapshot, 2026-11-10. Captain ordered homepage-only fidelity correction after rejecting BS-004’s visual match. No secondary-page work, commit, merge, push or production authorization.
|
||||
|
||||
## Review candidate
|
||||
## Candidate and commands
|
||||
|
||||
Separate dependent worktrees/branches: bs-002 at .task-worktrees/bs-002 (ea28637), bs-003 at .task-worktrees/bs-003 (2a4ffe1), bs-004 at .task-worktrees/bs-004 (combined final review candidate). Local task commits isolate route/navigation, theme/system, homepage changes. Review each task against its preceding branch; final candidate includes all three. Integration root remains codex at BS-001, clean.
|
||||
Source branch bs-011; worktree `/home/rob/projects/bortstack/.task-worktrees/bs-011`; based on unmerged bs-004/4f3b75b. Existing task branches intact; integration codex remains BS-001/5226596. Changes uncommitted. Root pre-existing untracked docs/references copies left untouched.
|
||||
|
||||
## Captain manual test — run from project folder
|
||||
Run from project folder:
|
||||
|
||||
```bash
|
||||
./scripts/testtask.sh TASK-004
|
||||
./scripts/testtask.sh TASK-011
|
||||
```
|
||||
|
||||
Opens http://127.0.0.1:18081/ in default Firefox; keep terminal running, Ctrl-C stops owned containers/network/browser. Root dispatcher selects exact bs-004 worktree and refreshes snapshot automatically. TASK-002 and TASK-003 can inspect earlier task candidates individually. Fixed ports mean one test session at a time. No account/login required; test email disabled and disposable SQLite only.
|
||||
This selects corrected homepage candidate and rebuilds an exact test snapshot. Opens Firefox at http://127.0.0.1:18081/; Ctrl-C stops its owned runtime. Shared test ports 15001/18081 allow one session. TASK-004 prior test leftovers were cleaned after Captain confirmed its test complete. TASK-011 real snapshot/Docker/migrations/frontend/direct+proxied API/headless Firefox smoke passed with exit 0; resources cleaned after smoke. Testtask still prints inherited “starter” label; actual selected source is BS-011. No workflow interface changes.
|
||||
|
||||
Check: homepage section layout/spacing against approved reference; mobile nav; dark/light toggle and persistence after reload; hero/closing contact and Services/Projects links. Contact, Services, About, Projects/case studies and Privacy intentionally show honest placeholders pending later tasks. Logo pending and featured screenshot pending are intentional, not invented final assets. Confirm visual acceptance before requesting group merge.
|
||||
## Screenshot review
|
||||
|
||||
For a ChatGPT handoff ZIP of this unmerged candidate run `./scripts/create-chatgpt-snapshot.sh` from the bs-004 worktree; root exports only current codex checkout, per existing-project convention. Runtime snapshot creator is scripts/create-test-snapshot.py; distinct from ZIP export.
|
||||
- docs/visual-qa/bs-011/reference-comparison.png — approved left, live corrected right, 1024×1536 viewport each.
|
||||
- docs/visual-qa/bs-011/after-1024-viewport.png — exact reference dimensions.
|
||||
- docs/visual-qa/bs-011/after-1024-full.png — full 1557px page including footer.
|
||||
- before-1024.png, AUDIT.md, measurements.json and tablet/mobile/narrow/light captures provide evidence.
|
||||
|
||||
## Evidence
|
||||
Original candidate: 2133px height/header99/gutters28. Correction: 1557/header67/gutters56; featured slot about 507×267; closing panel 954×205 at x35/y1288. Heading wraps/scale and section rhythm now align much more closely. Generic invented code-panel hero removed; actual approved laptop artwork missing, explicit placeholder reserves location. Exact logo and genuine featured-project media also missing and labelled. Do not claim full visual completion until authentic assets and Captain acceptance. Poppins is self-hosted, licensed typographic approximation; reference has no specified typeface.
|
||||
|
||||
Final candidate lint, 29 unit tests, production build and all 38 desktop/mobile Playwright checks passed. Browser matrix includes narrow 320px/tablet768/desktop1440, route/CTA behavior, zero public account requests, mobile nav, skip link, both-theme automated contrast, keyboard toggling, storage denial, preference before React and reload/navigation persistence. Four full-page dark/light desktop/mobile screenshots inspected. Found/fixed light mobile menu icon and CTA role semantics during QA.
|
||||
## Verification and next gate
|
||||
|
||||
Actual root testtask TASK-004 smoke reached ready with exact source snapshot, Docker build/migrations, direct/proxied API and frontend HTTP readiness plus real headless Firefox. Exit 0 and owned-resource cleanup verified. Captain graphical manual acceptance pending. No backend suites rerun (unchanged). npm audit reports 10 inherited lockfile alerts (5 moderate/3 high/2 critical); no dependencies/lockfile changed.
|
||||
Lint, 29 unit tests, final Vite build passed. 38 existing browser checks plus 2 new reference-coordinate checks passed; 8 affected checks reran after final narrow/tablet corrections. Screenshot matrix 1024/768/390/320/light1024 has no overflow, page errors or HTTP 400+ responses. Screenshots inspected; desktop composition anchors checked against reference. Existing navigation/theme/keyboard/contrast checks passed. Backend unchanged; suites not rerun. Static fonts/license added, no packages/lockfile changed; inherited 10 npm alerts remain.
|
||||
|
||||
## Gates
|
||||
CURRENT_STATE/TASKS and visual audit updated. Final test snapshots refreshed after context changes. BS-004 visual acceptance reopened; Captain approved BS-011 homepage composition/manual testing on 2026-11-10 with "nice. task complete". Commit/integration remains pending explicit authorization; final Complete follows that gate. Missing authentic assets remain disclosed finalization work. Do not begin secondary pages or merge without further orders. Existing legal/contact/static SEO/portfolio permissions remain later scope.
|
||||
|
||||
BS-002–004 implementation-ready, not Complete or merged. Authentic logo/light board and genuine featured-project media/permission remain asset-finalization gates; text/media placeholders are explicit. BS-005+ remain Proposed and untouched. No production actions. Refresh context and exact snapshots after further edits; no development inside test snapshot copies.
|
||||
Acceptance/cleanup: Captain composition review passed. Removed only bortstack-testtask-011 containers/network after testing confirmation. Keep uncommitted candidate, branch/worktree, screenshots and snapshot for authorized integration. No commit/merge/push/deploy performed.
|
||||
|
||||
@@ -29,7 +29,7 @@ Branch/worktree: bs-003 / .task-worktrees/bs-003. Unmerged. Exact logo and compa
|
||||
|
||||
## BS-004 — Approved homepage composition
|
||||
|
||||
Status: Implementation-ready with approved asset placeholders; Captain manual acceptance/merge pending. Based on BS-003; branch bs-004 / .task-worktrees/bs-004 contains the combined candidate.
|
||||
Status: Reopened — technical checks passed, but Captain rejected visual fidelity. BS-011 corrects the homepage before any acceptance/merge. Based on BS-003; bs-004 remains the prior unmerged candidate.
|
||||
Objective: implement the spacious approved homepage layout and density.
|
||||
Scope: split hero and one primary Discuss a Project link; decorative code-native illustration; four service summaries; exactly one featured-work slot; three grounded approach points; closing contact invitation; responsive styling and tests. Includes narrowly scoped mobile-menu icon fix identified during combined visual QA.
|
||||
Non-goals: invented master logo/project screenshots/claims; BS-005+ page content and contact functionality; production launch.
|
||||
@@ -50,6 +50,23 @@ Deviation/asset gate: reference photograph replaced by restrained decorative CSS
|
||||
|
||||
## Lifecycle and constraints
|
||||
|
||||
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. Green checks/local commits do not authorize merge or deployment. No automatic continuation beyond BS-004. Missing brand masters/portfolio permissions and unverified legal/domain/email/hosting remain launch gates.
|
||||
Proposed → Accepted/scoped → In progress → Implementation-ready → Captain/manual acceptance and authorized integration → Complete. Green checks/local commits do not authorize merge or deployment. The latest mission authorizes BS-011 homepage correction only; no secondary-page continuation before Captain approval. Missing brand masters/portfolio permissions and unverified legal/domain/email/hosting remain launch gates.
|
||||
|
||||
Inherited npm lockfile reports 10 audit alerts (5 moderate, 3 high, 2 critical). No dependencies added or lockfile changed; follow-up requires separate scope. No claim of full WCAG compliance or production readiness.
|
||||
|
||||
|
||||
## BS-011 — Homepage visual fidelity reconciliation
|
||||
|
||||
Status: Captain accepted homepage composition/manual testing on 2026-11-10 ("nice. task complete"). Commit/integration pending explicit authorization; final Complete status follows integration. Missing approved artwork remains an acknowledged finalization gate. Accepted/engaged by Captain’s visual-fidelity mission, 2026-11-10. Branch bs-011, worktree .task-worktrees/bs-011, based on bs-004/4f3b75b. No commit/merge authorized.
|
||||
Objective: correct the existing homepage against the approved reference as composition, not inspiration.
|
||||
Scope: pre-edit live screenshot/audit at 1024×1536; homepage proportions/type/spacing/illustration placement; homepage header/theme control/footer styling as needed; repeated same-viewport screenshots and tablet/mobile verification; preserve working navigation/theme.
|
||||
Non-goals: redesign, invented logo or fake project screenshot, other page implementation, production, merge. Do not proceed to Services/Projects/About/Contact until corrected homepage approval.
|
||||
Acceptance: measured comparison shows closely aligned header/gutters/hero/section positions/type scale/cards/buttons/closing panel; explicit missing-asset differences; working theme/navigation and no responsive overflow/runtime regressions; updated screenshot supplied for Captain review. Full visual completion requires missing essential assets and Captain acceptance.
|
||||
Dependencies: original approved logo/light board, standalone approved laptop hero art, genuine approved featured screenshot/details are absent. services-concept.png.png is absent (probable duplicate-name typo); five distinct canonical references inspected. Root docs/references copies match canonical images and remain untouched.
|
||||
Validation: live Chromium before/after 1024px captures; measured landmarks and visual comparison; 320px/768px/mobile/tablet screenshots; both themes, existing lint/unit/build/browser regression, real testtask snapshot/runtime.
|
||||
BS-004 visual acceptance is reopened: prior technical checks passed but Captain rejected fidelity. BS-002/003 remain unmerged; no other page work authorized.
|
||||
|
||||
BS-011 result: before 2133px full height at 1024×1536; after 1557px including understated footer (reference 1536). Header 67px, main gutters 56px, featured slot about 507×267, closing panel x35/y1288/w954/h205 versus reference around x35/y1287/w954/h203. Heading line-break/scale, service tiles/type, section alignment and CTA geometry corrected over screenshot iterations; generic CSS code-panel replacement removed. Poppins self-hosted under included OFL to approximate unspecified reference typeface, no runtime font vendor/dependency.
|
||||
Validation: lint, 29 unit tests, final Vite build; 38 existing desktop/mobile browser checks plus 2 new reference-coordinate checks passed. After final narrow/tablet fixes, 8 affected viewport/reference checks passed again. Screenshot captures at 1024/768/390/320 and light 1024: no overflow, page errors or HTTP 400+ responses. Desktop/tablet/mobile/light screenshots and reference comparison inspected. Actual project-root TASK-011 snapshot/Docker/HTTP/real-headless-Firefox smoke reached ready / exit 0; TASK-004 leftovers cleaned only after Captain’s prior test-complete confirmation. Final snapshot refreshed after context updates. No backend behavior/tests changed. No commit/merge/deploy.
|
||||
|
||||
Captain acceptance update (2026-11-10): homepage composition approved with the disclosed asset placeholders. This supersedes the pending composition-review gate, not the requirement to supply authentic assets before final publication. No commit/merge or secondary-page implementation inferred.
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# BS-011 homepage visual audit
|
||||
|
||||
Before code changes: launched existing bs-004 with Vite and captured before-1024.png at Chromium viewport 1024×1536, DPR 1, dark default. No page errors. Approved reference assets/references/home-approved-direction.png is 1024×1536.
|
||||
|
||||
| Area | Current live page | Approved reference / correction |
|
||||
| --- | --- | --- |
|
||||
| Overall height | 2133px | Reference 1536px; excessive accumulated vertical space |
|
||||
| Header | 99px; full-width bottom rule; text logo small; round single-icon toggle | Approximately 67px, inset rule, larger lockup space, compact two-icon pill and divider |
|
||||
| Gutters | 28px at 1024 | About 56px main content; about 35px outer rule/closing panel |
|
||||
| Hero | From y99 to609; 47px condensed fallback heading; top-heavy gap | Eyebrow y118; heading y160 around54px; supporting text y280; action y374; services heading y502 |
|
||||
| Hero media | Generic CSS code panel and floating badge | Laptop/workspace image on right, blended into background. Standalone approved art missing; remove invented code panel, reserve correct footprint with explicit asset placeholder |
|
||||
| Services | Heading y640; smaller icons/type, arrows added | Heading y502; roughly75px icon tiles/40px icons; larger20px headings/16px body; no extra row arrows |
|
||||
| Featured work | Heading around1023, media ~313px tall; big provisional title | Heading y787; media x56 y814 ~507×267; right text x610. Keep honest missing-media placeholder, align its footprint |
|
||||
| Why section | Around y1440, undersized headings/icons | Label y1127, content y1165; three compact columns and dividers |
|
||||
| Closing CTA | y1651 height315; extra eyebrow and oversized gap | x35 y1287 width954 height203; no extra eyebrow; restrained two-plane geometry |
|
||||
| Footer | y2038 height95, large separation | Reference ends after closing panel; required understated footer retained, shortened below composition |
|
||||
| Background | Flat charcoal | Preserve exact approved charcoal/midnight bases; add restrained localized surface gradients rather than unrelated palette |
|
||||
|
||||
Written decisions override illustrative details: single primary hero CTA (do not add View Projects), no generated logo tracing, no mock project screenshot as real work, truthful copy. Exact screenshot pixels/palette sampling cannot override approved tokens.
|
||||
|
||||
Missing assets: authentic Concept 2 symbol/lockup/light companion, standalone approved laptop/workspace hero art, approved genuine featured screenshot and selected project permission. Page preview is not licensed/approved production artwork under DESIGN_SPEC asset policy. Do not crop reference into a production asset or invent replacements. Typography source is unspecified; record chosen closest typographic match as implementation approximation, not fresh brand approval.
|
||||
|
||||
|
||||
## Correction iterations and result
|
||||
|
||||
Iteration 1: height 1591px, header 67, gutters 56; matched primary structure. Comparison exposed an extra service-description line, three-line quality copy, clipped hero glow and oversized spacing. Iteration 2: height 1557px; featured media aligns around x56/y815/w506/h266; closing panel x35/y1288/w954/h205. Final pass corrected eyebrow/heading offset, hero action size, 320px heading wrapping and tablet row-gap. Final desktop composition anchors passed automated reference-coordinate tolerances; exact viewport and full-page screenshots retained separately.
|
||||
|
||||
Resolved: header height/inset rule/nav proportions, pill theme control, main gutters, heading line-break/scale, services section positioning/tile/icon/type scale, unnecessary service arrows, featured media footprint/right-copy alignment, Why section alignment, closing CTA size and two-plane detail, footer excess spacing. Working routes/theme/storage behavior preserved.
|
||||
|
||||
Remaining: authentic Concept 2 logo and light artwork absent; approved standalone laptop/workspace hero art absent; genuine featured screenshot/project approval absent. Explicit placeholders remain; full asset fidelity is blocked. Poppins geometric font is a licensed approximation, not verified original typeface. Icon silhouettes/gradients remain approximate; exact approved palette wins over sampled concept pixels. Written single-hero-CTA constraint overrides reference’s secondary View Projects button. Required understated footer retained; final full height 1557 vs reference 1536.
|
||||
|
||||
Validation: lint, 29 unit tests, production build; 38 existing desktop/mobile browser checks plus 2 reference checks passed. After final 320/tablet corrections, 8 affected viewport/reference checks passed again. Captured at 1024/768/390/320 and light 1024, with no overflow, page errors or HTTP 400+ responses. All screenshot variants visually inspected. TASK-011 actual runtime/snapshot smoke passed through Docker/HTTP/real headless Firefox with exit 0. No commit/merge/production or secondary-page implementation.
|
||||
|
After Width: | Height: | Size: 348 KiB |
|
After Width: | Height: | Size: 348 KiB |
|
After Width: | Height: | Size: 352 KiB |
|
After Width: | Height: | Size: 329 KiB |
@@ -0,0 +1,312 @@
|
||||
[
|
||||
{
|
||||
"name": "after-1024",
|
||||
"width": 1024,
|
||||
"height": 1536,
|
||||
"theme": "dark",
|
||||
"errors": [],
|
||||
"badResponses": [],
|
||||
"fullHeight": 1557,
|
||||
"overflow": false,
|
||||
"sections": [
|
||||
{
|
||||
"name": "NAV",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1024,
|
||||
"height": 67
|
||||
},
|
||||
{
|
||||
"name": "hero-title",
|
||||
"x": 56,
|
||||
"y": 67,
|
||||
"width": 912,
|
||||
"height": 414
|
||||
},
|
||||
{
|
||||
"name": "services-title",
|
||||
"x": 56,
|
||||
"y": 481,
|
||||
"width": 912,
|
||||
"height": 278
|
||||
},
|
||||
{
|
||||
"name": "work-title",
|
||||
"x": 56,
|
||||
"y": 759,
|
||||
"width": 912,
|
||||
"height": 354
|
||||
},
|
||||
{
|
||||
"name": "why-title",
|
||||
"x": 56,
|
||||
"y": 1113,
|
||||
"width": 912,
|
||||
"height": 168
|
||||
},
|
||||
{
|
||||
"name": "contact-title",
|
||||
"x": 35,
|
||||
"y": 1288,
|
||||
"width": 954,
|
||||
"height": 205
|
||||
},
|
||||
{
|
||||
"name": "FOOTER",
|
||||
"x": 0,
|
||||
"y": 1509,
|
||||
"width": 1024,
|
||||
"height": 48
|
||||
}
|
||||
],
|
||||
"h1Font": "49.9712px"
|
||||
},
|
||||
{
|
||||
"name": "tablet-768",
|
||||
"width": 768,
|
||||
"height": 1024,
|
||||
"theme": "dark",
|
||||
"errors": [],
|
||||
"badResponses": [],
|
||||
"fullHeight": 1566,
|
||||
"overflow": false,
|
||||
"sections": [
|
||||
{
|
||||
"name": "NAV",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 768,
|
||||
"height": 67
|
||||
},
|
||||
{
|
||||
"name": "hero-title",
|
||||
"x": 32,
|
||||
"y": 67,
|
||||
"width": 704,
|
||||
"height": 414
|
||||
},
|
||||
{
|
||||
"name": "services-title",
|
||||
"x": 32,
|
||||
"y": 481,
|
||||
"width": 704,
|
||||
"height": 324
|
||||
},
|
||||
{
|
||||
"name": "work-title",
|
||||
"x": 32,
|
||||
"y": 805,
|
||||
"width": 704,
|
||||
"height": 296
|
||||
},
|
||||
{
|
||||
"name": "why-title",
|
||||
"x": 32,
|
||||
"y": 1101,
|
||||
"width": 704,
|
||||
"height": 190
|
||||
},
|
||||
{
|
||||
"name": "contact-title",
|
||||
"x": 11,
|
||||
"y": 1298,
|
||||
"width": 746,
|
||||
"height": 205
|
||||
},
|
||||
{
|
||||
"name": "FOOTER",
|
||||
"x": 0,
|
||||
"y": 1519,
|
||||
"width": 768,
|
||||
"height": 48
|
||||
}
|
||||
],
|
||||
"h1Font": "43px"
|
||||
},
|
||||
{
|
||||
"name": "mobile-390",
|
||||
"width": 390,
|
||||
"height": 844,
|
||||
"theme": "dark",
|
||||
"errors": [],
|
||||
"badResponses": [],
|
||||
"fullHeight": 2257,
|
||||
"overflow": false,
|
||||
"sections": [
|
||||
{
|
||||
"name": "NAV",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 390,
|
||||
"height": 67
|
||||
},
|
||||
{
|
||||
"name": "hero-title",
|
||||
"x": 20,
|
||||
"y": 67,
|
||||
"width": 350,
|
||||
"height": 572
|
||||
},
|
||||
{
|
||||
"name": "services-title",
|
||||
"x": 20,
|
||||
"y": 639,
|
||||
"width": 350,
|
||||
"height": 492
|
||||
},
|
||||
{
|
||||
"name": "work-title",
|
||||
"x": 20,
|
||||
"y": 1131,
|
||||
"width": 350,
|
||||
"height": 451
|
||||
},
|
||||
{
|
||||
"name": "why-title",
|
||||
"x": 20,
|
||||
"y": 1582,
|
||||
"width": 350,
|
||||
"height": 367
|
||||
},
|
||||
{
|
||||
"name": "contact-title",
|
||||
"x": 15,
|
||||
"y": 1954,
|
||||
"width": 360,
|
||||
"height": 209
|
||||
},
|
||||
{
|
||||
"name": "FOOTER",
|
||||
"x": 0,
|
||||
"y": 2179,
|
||||
"width": 390,
|
||||
"height": 78
|
||||
}
|
||||
],
|
||||
"h1Font": "32px"
|
||||
},
|
||||
{
|
||||
"name": "narrow-320",
|
||||
"width": 320,
|
||||
"height": 900,
|
||||
"theme": "dark",
|
||||
"errors": [],
|
||||
"badResponses": [],
|
||||
"fullHeight": 2385,
|
||||
"overflow": false,
|
||||
"sections": [
|
||||
{
|
||||
"name": "NAV",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 320,
|
||||
"height": 67
|
||||
},
|
||||
{
|
||||
"name": "hero-title",
|
||||
"x": 20,
|
||||
"y": 67,
|
||||
"width": 280,
|
||||
"height": 592
|
||||
},
|
||||
{
|
||||
"name": "services-title",
|
||||
"x": 20,
|
||||
"y": 659,
|
||||
"width": 280,
|
||||
"height": 602
|
||||
},
|
||||
{
|
||||
"name": "work-title",
|
||||
"x": 20,
|
||||
"y": 1261,
|
||||
"width": 280,
|
||||
"height": 414
|
||||
},
|
||||
{
|
||||
"name": "why-title",
|
||||
"x": 20,
|
||||
"y": 1675,
|
||||
"width": 280,
|
||||
"height": 367
|
||||
},
|
||||
{
|
||||
"name": "contact-title",
|
||||
"x": 15,
|
||||
"y": 2047,
|
||||
"width": 290,
|
||||
"height": 244
|
||||
},
|
||||
{
|
||||
"name": "FOOTER",
|
||||
"x": 0,
|
||||
"y": 2307,
|
||||
"width": 320,
|
||||
"height": 78
|
||||
}
|
||||
],
|
||||
"h1Font": "30px"
|
||||
},
|
||||
{
|
||||
"name": "light-1024",
|
||||
"width": 1024,
|
||||
"height": 1536,
|
||||
"theme": "light",
|
||||
"errors": [],
|
||||
"badResponses": [],
|
||||
"fullHeight": 1557,
|
||||
"overflow": false,
|
||||
"sections": [
|
||||
{
|
||||
"name": "NAV",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1024,
|
||||
"height": 67
|
||||
},
|
||||
{
|
||||
"name": "hero-title",
|
||||
"x": 56,
|
||||
"y": 67,
|
||||
"width": 912,
|
||||
"height": 414
|
||||
},
|
||||
{
|
||||
"name": "services-title",
|
||||
"x": 56,
|
||||
"y": 481,
|
||||
"width": 912,
|
||||
"height": 278
|
||||
},
|
||||
{
|
||||
"name": "work-title",
|
||||
"x": 56,
|
||||
"y": 759,
|
||||
"width": 912,
|
||||
"height": 354
|
||||
},
|
||||
{
|
||||
"name": "why-title",
|
||||
"x": 56,
|
||||
"y": 1113,
|
||||
"width": 912,
|
||||
"height": 168
|
||||
},
|
||||
{
|
||||
"name": "contact-title",
|
||||
"x": 35,
|
||||
"y": 1288,
|
||||
"width": 954,
|
||||
"height": 205
|
||||
},
|
||||
{
|
||||
"name": "FOOTER",
|
||||
"x": 0,
|
||||
"y": 1509,
|
||||
"width": 1024,
|
||||
"height": 48
|
||||
}
|
||||
],
|
||||
"h1Font": "49.9712px"
|
||||
}
|
||||
]
|
||||
|
After Width: | Height: | Size: 242 KiB |
|
After Width: | Height: | Size: 222 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 288 KiB |
@@ -0,0 +1,22 @@
|
||||
import { expect, test } from '@playwright/test'
|
||||
|
||||
// Measured from assets/references/home-approved-direction.png (1024×1536).
|
||||
// These are composition anchors, not acceptance of missing brand/media assets.
|
||||
test('homepage composition stays aligned with approved desktop reference', async ({ page }, testInfo) => {
|
||||
await page.setViewportSize({ width: 1024, height: 1536 })
|
||||
await page.goto('/')
|
||||
await page.evaluate(() => globalThis.document.fonts.ready)
|
||||
const header = await page.getByRole('navigation', { name: 'Main navigation' }).boundingBox()
|
||||
expect(Math.abs(header.height - 67)).toBeLessThanOrEqual(3)
|
||||
const media = await page.getByRole('region', { name: 'Featured project' }).getByRole('img').boundingBox()
|
||||
for (const [actual, reference] of [[media.x, 56], [media.y, 814], [media.width, 507], [media.height, 267]]) {
|
||||
expect(Math.abs(actual - reference)).toBeLessThanOrEqual(8)
|
||||
}
|
||||
const closing = await page.getByRole('region', { name: 'Have a project in mind?' }).boundingBox()
|
||||
expect(Math.abs(closing.x - 35)).toBeLessThanOrEqual(2)
|
||||
expect(Math.abs(closing.y - 1287)).toBeLessThanOrEqual(15)
|
||||
expect(Math.abs(closing.width - 954)).toBeLessThanOrEqual(3)
|
||||
expect(Math.abs(closing.height - 203)).toBeLessThanOrEqual(6)
|
||||
await page.screenshot({ path: testInfo.outputPath('homepage-reference-viewport.png') })
|
||||
await page.screenshot({ path: testInfo.outputPath('homepage-reference-full.png'), fullPage: true })
|
||||
})
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,4 @@
|
||||
Poppins fonts, self-hosted under SIL Open Font License 1.1; see OFL-Poppins.txt.
|
||||
Source: https://github.com/google/fonts/tree/main/ofl/poppins
|
||||
Files: Poppins-Regular.ttf, Poppins-SemiBold.ttf, Poppins-Bold.ttf.
|
||||
Typography is a visual approximation to the supplied concept, not a new approved brand decision. No external font requests at runtime.
|
||||
@@ -1,7 +1,8 @@
|
||||
.footer { border-top: 1px solid var(--site-line); padding-block: 1.75rem; color: var(--site-muted); font-size: .8rem; }
|
||||
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.4rem; }
|
||||
.links { display: flex; gap: 1.5rem; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
|
||||
.developerSlot { display: inline-flex; border-radius: .2rem; padding: .35rem .6rem; background: #F5F7FA; }
|
||||
.developerLogo { display: block; width: 95px; height: auto; }
|
||||
.footer { padding-block: 10px; color: var(--site-muted); font-size: 10px; background: var(--site-bg); }
|
||||
.footer :global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
|
||||
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
|
||||
.links { display: flex; gap: 18px; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
|
||||
.developerSlot { display: inline-flex; border-radius: 2px; padding: 3px 5px; background: #F5F7FA; }
|
||||
.developerLogo { display: block; width: 76px; height: auto; }
|
||||
.copyright { margin: 0; }
|
||||
@media (max-width: 575.98px) { .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
|
||||
@media (max-width: 767.98px) { .footer :global(.container) { width: calc(100% - 40px); } .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
|
||||
|
||||
@@ -1,14 +1,30 @@
|
||||
.header {
|
||||
padding-block: 1.3rem;
|
||||
position: relative;
|
||||
min-height: 67px;
|
||||
padding: 0;
|
||||
background: var(--site-bg);
|
||||
border-bottom: 1px solid var(--site-line);
|
||||
:global(.navbar-brand) { margin: 0; }
|
||||
:global(.nav-link) { color: var(--site-text); font-size: .9rem; padding: .75rem 1rem !important; }
|
||||
border-bottom: 0;
|
||||
&::after { content: ''; position: absolute; height: 1px; bottom: 0; left: 35px; right: 35px; background: var(--site-line); }
|
||||
:global(.container) { width: calc(100% - 112px); max-width: 1280px; min-height: 66px; padding-inline: 0; }
|
||||
:global(.navbar-brand) { margin: 0; padding: 0; }
|
||||
:global(.nav-link) { color: var(--site-text); font-size: 14px; line-height: 22px; padding: 10px 16px !important; }
|
||||
:global(.nav-link:hover), :global(.nav-link.active) { color: var(--site-link); }
|
||||
:global(.navbar-toggler) { border-color: var(--site-line); padding: .65rem; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: .8rem; }
|
||||
:global(.navbar-toggler) { border-color: var(--site-line); padding: 9px; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: 12px; }
|
||||
}
|
||||
.navbarCollapse { justify-content: flex-end; margin-right: 24px; }
|
||||
@media (min-width: 768px) and (max-width: 991.98px) {
|
||||
.header :global(.container) { width: calc(100% - 64px); }
|
||||
.header :global(.nav-link) { padding-inline: 9px !important; font-size: 12px; }
|
||||
.navbarCollapse { margin-right: 12px; }
|
||||
}
|
||||
.navbarCollapse { justify-content: flex-end; margin-right: 1.25rem; }
|
||||
@media (max-width: 767.98px) {
|
||||
.header { padding-block: 1rem; :global(.navbar-collapse) { order: 5; flex-basis: 100%; } }
|
||||
.navbarCollapse { margin: .8rem 0 0; }
|
||||
.header {
|
||||
padding-block: 10px;
|
||||
&::after { left: 20px; right: 20px; }
|
||||
:global(.container) { width: calc(100% - 40px); min-height: 43px; }
|
||||
:global(.navbar-collapse) { order: 5; flex-basis: 100%; }
|
||||
:global(.nav-link) { font-size: 15px; }
|
||||
:global(.navbar-toggler) { padding: 8px; margin-right: 10px; }
|
||||
}
|
||||
.navbarCollapse { margin: 12px 0 0; }
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Link } from "react-router-dom";
|
||||
import styles from "./Logo.module.scss";
|
||||
export default function Logo() {
|
||||
return <Link to="/" className={styles.link} aria-label="BortStack home — temporary text, approved logo pending">
|
||||
<span className={styles.markPlaceholder} aria-hidden="true">Logo<br />pending</span>
|
||||
<span className={styles.logo}>Bort<span>Stack</span></span>
|
||||
<span className={styles.pending}>Logo pending</span>
|
||||
</Link>;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
.link { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--site-text); line-height: 1.15; }
|
||||
.logo { font-size: 1.7rem; font-weight: 750; letter-spacing: -.055em; span { color: var(--site-link); } }
|
||||
.pending { margin-top: .3rem; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--site-muted); }
|
||||
.link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--site-text); line-height: 1; }
|
||||
.logo { font-size: 29px; font-weight: 600; letter-spacing: -.045em; span { color: var(--site-link); } }
|
||||
.markPlaceholder { display: grid; align-content: center; width: 43px; height: 39px; flex-shrink: 0; border: 1px dashed var(--bs-steel-blue); border-radius: 3px; text-align: center; font-size: 8px; line-height: 11px; color: var(--site-muted); letter-spacing: .025em; }
|
||||
@media (max-width: 767.98px) { .link { gap: 8px; } .logo { font-size: 21px; } .markPlaceholder { width: 29px; height: 32px; font-size: 6px; line-height: 9px; } }
|
||||
|
||||
@@ -12,6 +12,7 @@ export default function ThemeToggle() {
|
||||
setTheme(next);
|
||||
}
|
||||
return <button type="button" className="themeToggle" onClick={toggle} aria-label={`Switch to ${theme === "dark" ? "light" : "dark"} mode`}>
|
||||
{theme === "dark" ? <FiSun aria-hidden="true" /> : <FiMoon aria-hidden="true" />}
|
||||
<span className={theme === "dark" ? "themeChoice selected" : "themeChoice"}><FiMoon aria-hidden="true" /></span>
|
||||
<span className={theme === "light" ? "themeChoice selected" : "themeChoice"}><FiSun aria-hidden="true" /></span>
|
||||
</button>;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); }
|
||||
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); }
|
||||
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); }
|
||||
:root,
|
||||
[data-bs-theme="dark"] {
|
||||
--site-bg: var(--bs-charcoal);
|
||||
@@ -35,7 +38,7 @@ body {
|
||||
margin: 0;
|
||||
background: var(--site-bg);
|
||||
color: var(--site-text);
|
||||
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
line-height: 1.65;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
@@ -50,12 +53,15 @@ h1, h2, h3 { color: var(--site-text); font-weight: 650; line-height: 1.15; lette
|
||||
.routePlaceholder h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
|
||||
.routePlaceholder > p:not(.eyebrow) { color: var(--site-muted); max-width: 60ch; margin-block: 1.5rem; }
|
||||
.themeToggle {
|
||||
display: inline-grid; place-items: center; flex-shrink: 0;
|
||||
width: 44px; height: 44px; padding: 0;
|
||||
border: 1px solid var(--site-line); border-radius: 50%;
|
||||
background: var(--site-surface); color: var(--site-text); font-size: 1.15rem;
|
||||
position: relative; display: inline-flex; flex-shrink: 0; align-items: center;
|
||||
width: 70px; height: 30px; padding: 1px; border-radius: 18px;
|
||||
border: 1px solid var(--site-muted); background: transparent; color: var(--site-text);
|
||||
&::before { content: ''; position: absolute; width: 1px; height: 28px; left: -28px; top: 0; background: var(--site-line); }
|
||||
}
|
||||
.themeToggle:hover { border-color: var(--site-link); color: var(--site-link); }
|
||||
.themeChoice { display: grid; place-items: center; width: 33px; height: 26px; border-radius: 16px; svg { width: 16px; height: 16px; } }
|
||||
.themeChoice.selected { background: var(--bs-steel-blue); color: #F5F7FA; }
|
||||
.themeToggle:hover { border-color: var(--site-link); }
|
||||
@media (max-width: 767.98px) { .themeToggle { width: 58px; height: 30px; &::before { display: none; } } .themeChoice { width: 27px; } }
|
||||
.skipLink { position: fixed; z-index: 2000; top: .5rem; left: .5rem; padding: .75rem 1rem; color: #07151C; background: #26C6DA; transform: translateY(-200%); }
|
||||
.skipLink:focus { transform: translateY(0); }
|
||||
:focus-visible { outline: 3px solid var(--site-link); outline-offset: 4px; }
|
||||
|
||||
@@ -4,15 +4,15 @@ import { FiArrowRight, FiCode, FiLayers, FiMail, FiMonitor, FiServer, FiTarget,
|
||||
import styles from "./Homepage.module.scss";
|
||||
|
||||
const services = [
|
||||
{ title: "Website Development", description: "Clear, responsive websites for businesses, research projects and online services.", icon: <FiMonitor aria-hidden="true" /> },
|
||||
{ title: "Custom Software", description: "Web applications and specialised tools shaped around the way you work.", icon: <FiLayers aria-hidden="true" /> },
|
||||
{ title: "APIs & Integration", description: "Backend services and integrations that connect your data, systems and workflows.", icon: <FiCode aria-hidden="true" /> },
|
||||
{ title: "Managed Hosting", description: "Hosting, maintenance and updates, with a level of support agreed for your project.", icon: <FiServer aria-hidden="true" /> },
|
||||
{ title: "Website Development", description: "Modern, responsive websites and web applications tailored to your needs.", icon: <FiMonitor aria-hidden="true" /> },
|
||||
{ title: "Custom Software", description: "Bespoke applications that solve real problems and fit your workflow.", icon: <FiLayers aria-hidden="true" /> },
|
||||
{ title: "APIs & Integration", description: "APIs and system integration to connect your data and services.", icon: <FiCode aria-hidden="true" /> },
|
||||
{ title: "Managed Hosting", description: "Hosting, maintenance and technical support agreed for your project.", icon: <FiServer aria-hidden="true" /> },
|
||||
];
|
||||
const qualities = [
|
||||
{ title: "End-to-end delivery", description: "A considered path from the first conversation to development and deployment.", icon: <FiZap aria-hidden="true" /> },
|
||||
{ title: "Practical engineering", description: "Clear choices and maintainable software, focused on what your project needs.", icon: <FiTarget aria-hidden="true" /> },
|
||||
{ title: "Ongoing support", description: "Hosting, maintenance and further development as your needs evolve.", icon: <FiUsers aria-hidden="true" /> },
|
||||
{ title: "End-to-end delivery", description: "From initial idea to a fully deployed solution.", icon: <FiZap aria-hidden="true" /> },
|
||||
{ title: "Practical engineering", description: "Focused, practical and maintainable software.", icon: <FiTarget aria-hidden="true" /> },
|
||||
{ title: "Ongoing support", description: "Hosting, updates and technical assistance when you need it.", icon: <FiUsers aria-hidden="true" /> },
|
||||
];
|
||||
|
||||
export default function Homepage() {
|
||||
@@ -25,21 +25,13 @@ export default function Homepage() {
|
||||
<p className={styles.intro}>Custom development, APIs, hosting and ongoing maintenance for businesses, research projects and online services.</p>
|
||||
<Link to="/contact" className={`btn btn-primary btn-lg ${styles.primaryCta}`}>Discuss a Project <FiArrowRight aria-hidden="true" /></Link>
|
||||
</div>
|
||||
<div className={styles.illustration} aria-hidden="true">
|
||||
<div className={styles.orbit} />
|
||||
<div className={styles.diagram}>
|
||||
<div className={styles.diagramTop}><i /><i /><i /><span /></div>
|
||||
<div className={styles.diagramBody}>
|
||||
<div className={styles.diagramSidebar}><span /><span /><span /><span /><span /></div>
|
||||
<div className={styles.codeLines}>
|
||||
{[72, 48, 85, 60, 36, 77, 54, 88, 46].map((width, i) => <span key={i} style={{ width: `${width}%` }} />)}
|
||||
<div className={styles.heroArtwork} role="img" aria-label="Approved laptop and workspace hero artwork is missing">
|
||||
<div className={styles.assetNotice}>
|
||||
<FiImage aria-hidden="true" />
|
||||
<span>Approved hero artwork pending</span>
|
||||
<small>Laptop / workspace visual from the approved reference</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.diagramBase} />
|
||||
<div className={styles.integration}><FiLayers /><span>Build. Connect. Maintain.</span></div>
|
||||
<span className={styles.artCaption}>Decorative engineering illustration</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className={styles.services} aria-labelledby="services-title">
|
||||
@@ -48,7 +40,7 @@ export default function Homepage() {
|
||||
{services.map(({ title, description, icon }) => <Link className={styles.service} to="/services" key={title}>
|
||||
<div className={styles.serviceIcon}>{icon}</div>
|
||||
<div><h3>{title}</h3><p>{description}</p></div>
|
||||
<FiArrowRight className={styles.serviceArrow} aria-hidden="true" />
|
||||
|
||||
</Link>)}
|
||||
</div>
|
||||
</section>
|
||||
@@ -59,12 +51,11 @@ export default function Homepage() {
|
||||
<div className={styles.projectPlaceholder} role="img" aria-label="Placeholder: genuine featured-project screenshot awaiting approval">
|
||||
<FiImage aria-hidden="true" />
|
||||
<span>Genuine project screenshot</span>
|
||||
<small>Awaiting approved imagery</small>
|
||||
<small>Featured project pending</small>
|
||||
</div>
|
||||
<div className={styles.workCopy}>
|
||||
<p className={styles.pending}>Featured project pending</p>
|
||||
<h3>A closer look<br />at the work.</h3>
|
||||
<p>A selected project will be featured here once its details and genuine imagery are approved for publication.</p>
|
||||
<h3>Featured work</h3>
|
||||
<p>A selected project will appear here once its details and genuine imagery are approved for publication.</p>
|
||||
<Link to="/projects" className={styles.textLink}>Visit Projects <FiArrowRight aria-hidden="true" /></Link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -80,9 +71,8 @@ export default function Homepage() {
|
||||
</section>
|
||||
|
||||
<section className={styles.contact} aria-labelledby="contact-title">
|
||||
<p className="eyebrow">Let’s build something useful</p>
|
||||
<h2 id="contact-title">Have a project in mind?</h2>
|
||||
<p>Start with the idea. We’ll work through the possibilities.</p>
|
||||
<p>Let’s discuss your ideas and find the right solution.</p>
|
||||
<Link to="/contact" className={`btn btn-primary btn-lg ${styles.primaryCta}`}><FiMail aria-hidden="true" /> Get in Touch</Link>
|
||||
</section>
|
||||
</Container>
|
||||
|
||||
@@ -1,62 +1,206 @@
|
||||
.homepage { overflow: clip; }
|
||||
.homepage {
|
||||
overflow: clip;
|
||||
background: radial-gradient(ellipse at 80% 12%, var(--site-glow), transparent 29%);
|
||||
:global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
|
||||
}
|
||||
.hero {
|
||||
display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 2rem;
|
||||
padding-block: clamp(4rem, 7vw, 7rem) 5.5rem;
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
min-height: 414px;
|
||||
padding-block: 44px 60px;
|
||||
}
|
||||
.heroCopy {
|
||||
position: relative; z-index: 1;
|
||||
:global(.eyebrow) { margin-bottom: 1.5rem; span { margin-left: .7rem; color: var(--site-line); } }
|
||||
h1 { font-size: clamp(2.7rem, 4.6vw, 4.15rem); letter-spacing: -.05em; line-height: 1.08; margin-bottom: 1.65rem; span { color: var(--site-link); } }
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 485px;
|
||||
max-width: 110%;
|
||||
:global(.eyebrow) {
|
||||
margin: 0 0 19px;
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
letter-spacing: .15em;
|
||||
span { margin-left: 7px; color: var(--bs-steel-blue); }
|
||||
}
|
||||
h1 {
|
||||
font-size: clamp(48px, 4.88vw, 66px);
|
||||
line-height: 1.08;
|
||||
letter-spacing: -.035em;
|
||||
font-weight: 700;
|
||||
margin: 0 0 15px;
|
||||
span { color: var(--site-link); white-space: nowrap; }
|
||||
}
|
||||
}
|
||||
.intro { font-size: 1.13rem; line-height: 1.65; color: var(--site-muted); max-width: 44ch; margin-bottom: 2rem; }
|
||||
.primaryCta { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border-radius: .4rem; padding: .85rem 1.3rem; font-size: 1rem; svg { font-size: 1.15rem; } }
|
||||
.illustration { position: relative; min-height: 350px; perspective: 1000px; display: grid; align-items: center; isolation: isolate; }
|
||||
.orbit { position: absolute; inset: -8% -12%; z-index: -1; background: radial-gradient(ellipse at 55% 55%, var(--site-glow), transparent 67%); }
|
||||
.diagram { width: 94%; height: 254px; background: var(--site-surface); border: 1px solid var(--bs-steel-blue); border-radius: 13px; transform: rotateY(-16deg) rotateX(9deg) rotateZ(-6deg); box-shadow: 12px 28px 60px #00000030, inset 0 0 40px var(--site-glow); overflow: hidden; }
|
||||
.diagramTop { display: flex; align-items: center; gap: 7px; height: 35px; border-bottom: 1px solid var(--site-line); padding-inline: 14px; i { width: 5px; height: 5px; border-radius: 50%; background: var(--bs-steel-blue); } span { width: 22%; height: 4px; border-radius: 2px; background: var(--site-line); margin-left: auto; } }
|
||||
.diagramBody { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 35px); }
|
||||
.diagramSidebar { padding: 20px 12px; border-right: 1px solid var(--site-line); display: flex; flex-direction: column; gap: 13px; span { height: 3px; border-radius: 2px; background: var(--site-line); } span:nth-child(2) { background: var(--site-link); width: 70%; } }
|
||||
.codeLines { padding: 24px; display: flex; flex-direction: column; gap: 13px; span { height: 4px; border-radius: 3px; background: var(--site-line); } span:nth-child(3n) { background: var(--bs-steel-blue); margin-left: 13px; } span:nth-child(4n) { background: var(--site-link); } }
|
||||
.diagramBase { width: 95%; height: 10px; background: var(--site-line); border: 1px solid var(--bs-steel-blue); transform: rotateZ(-6deg) skewX(-35deg); position: absolute; top: 85%; left: -1%; border-radius: 0 0 8px 8px; }
|
||||
.integration { display: flex; align-items: center; gap: .75rem; position: absolute; right: -1%; bottom: 0; border: 1px solid var(--site-line); background: var(--site-surface); padding: .9rem 1.1rem; border-radius: .45rem; color: var(--site-muted); font-size: .75rem; svg { font-size: 1.5rem; color: var(--site-link); } }
|
||||
.artCaption { position: absolute; bottom: -1.8rem; right: 0; color: var(--site-muted); font-size: .6rem; letter-spacing: .025em; }
|
||||
.sectionLabel { display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; font-weight: 700; color: var(--site-link); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 2rem; span { flex: 1; height: 1px; background: linear-gradient(90deg, var(--bs-steel-blue), var(--site-line)); } }
|
||||
.services, .work, .why { padding-block: 1.5rem 3.5rem; }
|
||||
.serviceGrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
|
||||
.service { display: grid; grid-template-columns: 70px 1fr 16px; gap: 1.4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--site-line); color: var(--site-text); text-decoration: none;
|
||||
h3 { font-size: 1.2rem; letter-spacing: -.025em; margin-bottom: .5rem; }
|
||||
p { color: var(--site-muted); font-size: .95rem; line-height: 1.6; margin: 0; }
|
||||
&:nth-last-child(-n+2) { border-bottom: 0; }
|
||||
.intro {
|
||||
font-size: 17px;
|
||||
line-height: 25px;
|
||||
color: var(--site-text);
|
||||
max-width: 440px;
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
.primaryCta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 10px 22px;
|
||||
min-height: 43px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 21px;
|
||||
border-radius: 7px;
|
||||
svg { width: 19px; height: 19px; }
|
||||
}
|
||||
.heroArtwork {
|
||||
position: absolute;
|
||||
top: 23px;
|
||||
right: -56px;
|
||||
width: 53%;
|
||||
height: 365px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
}
|
||||
.assetNotice {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
max-width: 310px;
|
||||
text-align: center;
|
||||
padding: 25px;
|
||||
border: 1px dashed var(--site-line);
|
||||
border-radius: 8px;
|
||||
color: var(--site-muted);
|
||||
background: var(--site-surface);
|
||||
svg { width: 30px; height: 30px; color: var(--site-link); }
|
||||
span { font-size: 13px; }
|
||||
small { font-size: 11px; line-height: 1.6; }
|
||||
}
|
||||
.sectionLabel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 25px;
|
||||
color: var(--site-link);
|
||||
font-size: 17px;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .14em;
|
||||
text-transform: uppercase;
|
||||
margin: 0 0 18px;
|
||||
span { flex: 1; height: 1px; background: var(--bs-steel-blue); opacity: .8; }
|
||||
}
|
||||
.services { padding-block: 8px 36px; }
|
||||
.serviceGrid { display: grid; grid-template-columns: 1.025fr .975fr; column-gap: 48px; }
|
||||
.service {
|
||||
display: grid;
|
||||
grid-template-columns: 75px 1fr;
|
||||
gap: 36px;
|
||||
padding: 0 0 21px;
|
||||
border-bottom: 1px solid var(--site-line);
|
||||
text-decoration: none;
|
||||
color: var(--site-text);
|
||||
&:nth-child(odd) { padding-left: 24px; }
|
||||
&:nth-last-child(-n+2) { padding-top: 20px; padding-bottom: 0; border-bottom: 0; }
|
||||
h3 { font-size: 20px; line-height: 26px; letter-spacing: -.035em; font-weight: 600; margin: 0 0 3px; }
|
||||
p { color: var(--site-text); font-size: 15px; line-height: 23px; margin: 0; }
|
||||
&:hover h3 { color: var(--site-link); }
|
||||
}
|
||||
.serviceIcon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 15px; background: var(--site-surface); color: var(--site-link); svg { width: 32px; height: 32px; stroke-width: 1.4; } }
|
||||
.serviceArrow { align-self: start; margin-top: .3rem; color: var(--site-muted); }
|
||||
.workGrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
|
||||
.projectPlaceholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; aspect-ratio: 1.65; border: 1px dashed var(--bs-steel-blue); border-radius: .75rem; background: radial-gradient(ellipse at bottom left, var(--site-glow), transparent 70%), var(--site-surface); color: var(--site-muted); svg { font-size: 2rem; color: var(--site-link); margin-bottom: .5rem; } span { font-size: .9rem; } small { font-size: .75rem; } }
|
||||
.workCopy { h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.2rem; } > p:not(.pending) { color: var(--site-muted); margin-bottom: 1.5rem; } }
|
||||
.pending { display: inline-block; border: 1px solid var(--site-line); border-radius: 4px; padding: .25rem .55rem; color: var(--site-muted); font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
|
||||
.textLink { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: .95rem; font-weight: 650; }
|
||||
.qualityGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
|
||||
.quality { display: flex; align-items: start; gap: 1rem; padding-inline: 1.75rem; border-left: 1px solid var(--site-line); &:first-child { padding-left: 0; border: 0; } &:last-child { padding-right: 0; } > svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--site-link); margin-top: .15rem; stroke-width: 1.5; } h3 { font-size: 1rem; margin-bottom: .5rem; } p { font-size: .87rem; color: var(--site-muted); line-height: 1.6; margin: 0; } }
|
||||
.contact { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 3.5rem 2rem; margin-block: 1rem 4.5rem; border: 1px solid var(--site-line); border-radius: 1rem; background: radial-gradient(ellipse at top right, var(--site-glow), transparent 65%), var(--site-surface);
|
||||
&::after { content: ''; position: absolute; z-index: -1; inset: 60% -15% -80%; background: var(--site-glow); border-top: 1px solid var(--site-line); transform: rotate(-18deg); }
|
||||
h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); margin-bottom: .8rem; }
|
||||
> p:not(:global(.eyebrow)) { color: var(--site-muted); margin-bottom: 1.8rem; }
|
||||
.serviceIcon {
|
||||
display: grid; place-items: center;
|
||||
width: 75px; height: 75px;
|
||||
border-radius: 17px;
|
||||
background: var(--site-surface);
|
||||
color: var(--site-link);
|
||||
svg { width: 40px; height: 40px; stroke-width: 1.4; }
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.hero { gap: 1rem; } .illustration { min-height: 300px; } .diagram { height: 220px; }
|
||||
.serviceGrid { column-gap: 2rem; } .service { grid-template-columns: 55px 1fr; gap: 1rem; } .serviceIcon { width: 55px; height: 55px; } .serviceArrow { display: none; }
|
||||
.workGrid { gap: 2rem; } .quality { padding-inline: 1rem; gap: .7rem; }
|
||||
.work { padding-block: 14px 32px; }
|
||||
.workGrid { display: grid; grid-template-columns: 1.414fr 1fr; gap: 48px; align-items: start; }
|
||||
.projectPlaceholder {
|
||||
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
||||
gap: 9px;
|
||||
aspect-ratio: 1.9;
|
||||
border: 1px solid var(--site-line);
|
||||
border-radius: 12px;
|
||||
color: var(--site-muted);
|
||||
background: radial-gradient(ellipse at 45% 85%, var(--site-glow), transparent 65%), var(--site-surface);
|
||||
svg { width: 36px; height: 36px; color: var(--site-link); margin-bottom: 6px; }
|
||||
span { font-size: 15px; }
|
||||
small { font-size: 12px; }
|
||||
}
|
||||
.workCopy {
|
||||
padding-top: 23px;
|
||||
h3 { font-size: 27px; line-height: 35px; font-weight: 600; margin: 0 0 10px; }
|
||||
p { font-size: 15px; line-height: 24px; color: var(--site-text); margin: 0 0 18px; }
|
||||
}
|
||||
.textLink { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; line-height: 24px; font-weight: 600; text-decoration: none; }
|
||||
.why { padding-block: 8px 46px; }
|
||||
.qualityGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
|
||||
.quality {
|
||||
display: flex; align-items: start; gap: 15px;
|
||||
padding-inline: 32px;
|
||||
border-left: 1px solid var(--site-line);
|
||||
&:first-child { padding-left: 20px; border: 0; }
|
||||
&:last-child { padding-right: 0; }
|
||||
> svg { flex-shrink: 0; width: 34px; height: 34px; color: var(--site-link); margin-top: 4px; stroke-width: 1.5; }
|
||||
h3 { font-size: 18px; line-height: 24px; letter-spacing: -.04em; font-weight: 600; margin: 0 0 4px; }
|
||||
p { font-size: 14px; line-height: 22px; color: var(--site-text); margin: 0; }
|
||||
}
|
||||
.contact {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
padding: 25px 24px;
|
||||
margin: 7px -21px 16px;
|
||||
border: 1px solid var(--site-line);
|
||||
border-radius: 16px;
|
||||
background: radial-gradient(ellipse at 100% 0, var(--site-glow), transparent 62%), var(--site-surface);
|
||||
&::before, &::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border-top: 1px solid var(--site-line); background: var(--site-glow); }
|
||||
&::before { width: 74%; height: 130%; left: -20%; top: 78%; transform: rotate(17deg); }
|
||||
&::after { width: 90%; height: 190%; right: -31%; top: 70%; transform: rotate(-29deg); }
|
||||
h2 { font-size: 40px; line-height: 48px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.035em; }
|
||||
> p { font-size: 18px; line-height: 27px; color: var(--site-text); margin: 0 0 24px; }
|
||||
.primaryCta { min-height: 46px; font-size: 18px; padding-inline: 25px; gap: 10px; svg { width: 23px; height: 23px; } }
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.hero { min-height: 465px; padding-top: 65px; }
|
||||
.heroCopy { width: 620px; }
|
||||
.intro { font-size: 19px; line-height: 29px; max-width: 510px; }
|
||||
.heroArtwork { height: 410px; }
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 991.98px) {
|
||||
.homepage :global(.container) { width: calc(100% - 64px); }
|
||||
.heroCopy { width: 440px; max-width: 120%; h1 { font-size: 43px; } }
|
||||
.heroArtwork { right: -32px; width: 45%; }
|
||||
.assetNotice { padding: 20px; max-width: 235px; }
|
||||
.intro { max-width: 365px; font-size: 16px; line-height: 25px; }
|
||||
.serviceGrid { column-gap: 30px; row-gap: 0; }
|
||||
.service { grid-template-columns: 62px 1fr; gap: 18px; &:nth-child(odd) { padding-left: 0; } h3 { font-size: 17px; } p { font-size: 14px; } }
|
||||
.serviceIcon { width: 62px; height: 62px; svg { width: 35px; height: 35px; } }
|
||||
.workGrid { gap: 30px; }
|
||||
.workCopy { padding-top: 6px; h3 { font-size: 24px; } }
|
||||
.quality { padding-inline: 14px; gap: 10px; &:first-child { padding-left: 0; } h3 { font-size: 15px; } p { font-size: 13px; } > svg { width: 27px; height: 27px; } }
|
||||
}
|
||||
@media (max-width: 767.98px) {
|
||||
.hero { grid-template-columns: 1fr; padding-block: 3.5rem 3rem; gap: 3rem; }
|
||||
.heroCopy h1 { font-size: clamp(2.5rem, 8vw, 3.7rem); } .intro { max-width: 48ch; font-size: 1rem; }
|
||||
.illustration { min-height: 280px; width: min(440px, 92%); margin: 0 auto 1rem; } .diagram { height: 220px; } .integration { bottom: 0; }
|
||||
.homepage :global(.container) { width: calc(100% - 40px); }
|
||||
.hero { grid-template-columns: 1fr; min-height: auto; padding-block: 38px 28px; }
|
||||
.heroCopy { width: auto; max-width: 100%; h1 { font-size: clamp(32px, 7.4vw, 48px); } :global(.eyebrow) { font-size: 11px; margin-bottom: 14px; } }
|
||||
.intro { font-size: 15px; line-height: 24px; margin-top: 18px; max-width: 42ch; }
|
||||
.heroArtwork { position: relative; inset: auto; width: 100%; height: 220px; margin-top: 24px; }
|
||||
.assetNotice { max-width: 290px; padding: 18px; }
|
||||
.sectionLabel { font-size: 13px; line-height: 22px; gap: 15px; margin-bottom: 20px; }
|
||||
.services, .work, .why { padding-block: 15px 28px; }
|
||||
.serviceGrid, .workGrid, .qualityGrid { grid-template-columns: 1fr; }
|
||||
.service { padding-block: 1.25rem; h3 { font-size: 1.1rem; } &:nth-last-child(2) { border-bottom: 1px solid var(--site-line); } }
|
||||
.services, .work, .why { padding-block: 1.5rem 2rem; }
|
||||
.sectionLabel { font-size: .75rem; gap: 1rem; margin-bottom: 1rem; }
|
||||
.workGrid { gap: 1.5rem; } .workCopy h3 br { display: none; }
|
||||
.quality { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--site-line); &:first-child { border-bottom: 1px solid var(--site-line); } &:last-child { border-bottom: 0; } h3 { font-size: 1.05rem; } p { font-size: .95rem; } }
|
||||
.contact { padding: 2.5rem 1.25rem; margin-block: .5rem 3rem; }
|
||||
.service { grid-template-columns: 62px 1fr; gap: 20px; padding: 0 0 20px; &:nth-child(odd) { padding-left: 0; } &:nth-child(n+2) { padding-top: 20px; } &:nth-last-child(2) { border-bottom: 1px solid var(--site-line); padding-bottom: 20px; } h3 { font-size: 18px; line-height: 24px; } p { font-size: 14px; line-height: 22px; } }
|
||||
.serviceIcon { width: 62px; height: 62px; border-radius: 14px; svg { width: 35px; height: 35px; } }
|
||||
.workGrid { gap: 0; }
|
||||
.workCopy { padding-top: 20px; h3 { font-size: 24px; } }
|
||||
.projectPlaceholder { span { font-size: 13px; } }
|
||||
.quality { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--site-line); gap: 15px; &:first-child { padding-left: 0; border-bottom: 1px solid var(--site-line); padding-top: 0; } &:last-child { border-bottom: 0; padding-bottom: 0; } h3 { font-size: 18px; } p { font-size: 14px; } }
|
||||
.contact { margin: 5px -5px 16px; padding: 25px 17px; h2 { font-size: 28px; line-height: 35px; } > p { font-size: 15px; line-height: 24px; margin-bottom: 20px; } .primaryCta { font-size: 16px; } }
|
||||
}
|
||||
@media (max-width: 359.98px) {
|
||||
.heroCopy h1 { font-size: 30px; }
|
||||
}
|
||||
|
||||