feat(cowork): add cowork page and extract shared layout primitives#77
Merged
Conversation
Add a standalone /cowork page (hero, stats, equipements, justified photo gallery with lightbox, localisation with embedded map, CTA), wired into the menu, sitemap and LocalBusiness JSON-LD. Extract the duplicated text-only page hero into a PageHero component (used by blog and cowork), promote the site content-width invariant to a SITE_CONTAINER constant, and parameterize CallToAction with title/subtitle.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Recompress cowork_*.jpg to 2000px/q72 (~18MB -> ~2MB total) - Share sizes between thumbnail and modal so the modal reuses the already-loaded thumbnail variant (cache hit = instant open) - Drop now-redundant blur placeholder on the modal image
- Replace justified flex-wrap with explicit rows of 3 (justified per row) so the layout is stable: 3 across on desktop/tablet, 1 on mobile, with natural aspect ratios and equal row heights (no more 5-wide blowups) - Swap gallery photos: remove callbox/lunch, add compressed lunch2 (2000x1500), arranged landscape/portrait/portrait + portrait/portrait/landscape - Fix mislabeled meeting2 alt (it's the lounge) and add lunch2 alt
- 25 -> 22 postes (description + stats) - mention café et thé alongside fruits frais - remove redundant "Nous situer sur la carte" button (map already shown)
SITE_CONTAINER (max-w-screen-2xl, lg:px-24, xl:px-32) lives in lib/site.ts, which was outside the content glob. Tailwind never emitted those classes, collapsing horizontal padding and max-width site-wide.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a standalone /cowork page (hero, stats, equipements, justified photo gallery with lightbox, localisation with embedded map, CTA), wired into the menu, sitemap and LocalBusiness JSON-LD.
Extract the duplicated text-only page hero into a PageHero component (used by blog and cowork), promote the site content-width invariant to a SITE_CONTAINER constant, and parameterize CallToAction with title/subtitle.