Files
sharper.ly/apps/web/app/i18n/messages/en.json
T
IllusionandClaude Opus 5 8464c24fb1 Match the home page to Figma frame 253:4799
The page resembled the design but had drifted in every band. Ported it
section by section against the measured frame.

Hero (253:4800)
- Add the SHARP wordmark above the headline. The frame paints "SHARP"
  only, not the full SHARP-ER lockup the navigation carries, so this is
  the SHARP mark on its own, as vector (extracted from the brand
  guideline artwork) at its true 273px rather than an upscaled PNG.
- Drop the leading project name from the headline in both locales: the
  wordmark above now carries it, as the frame composes it.
- Stop the lead paragraph rendering by default. The frame's subheading
  node is hidden, but the code fell back to the site description, so a
  paragraph always appeared.
- Fallback CTAs become "Discover SHARP-ER" / "Explore Our Work", 24px
  apart. Both the CMS and fallback paths now render through one HeroCta,
  so an editor-authored secondary CTA gets the designed white treatment
  instead of the dark-surface outline.
- The picture loses its radius and gains the frame's two flat washes and
  wide band.

Figures band
- 253:4835 is hidden="true" in the frame, so the band and its "figures
  still being confirmed" placeholder no longer render. It appears only
  once the CMS supplies real numbers.

Launch (361:10853)
- Heading renders at Display/Small instead of Heading/H2. SectionHeader
  gains `size` since display-sm was reachable only via titleAs="h1".
- The three-paragraph story becomes the frame's single centred lead with
  its four bold runs, which needed a ProseRun copy shape - a flat string
  cannot carry emphasis.
- The captions were Card.Content links with images and action labels;
  the frame draws plain centred Heading/H2 text.
- Add the three-up photo strip that bleeds past the page and clips.
- Remove the funding line, which the frame does not draw in this band.
  EU visibility still stands via the nav badge and footer statement.

Partners (393:14754)
- Heading moves from centred to start-aligned, up to Display/Small.
- Tiles move to the sunken surface (they were lighter than the page; the
  design has them darker), lose their border, 8px -> 4px radius, padding
  on the inline start only, logo 48 -> 70px, name to Body/Large Bold.

Footer
- Black ground via a new --surface-footer token, a top rule, links up to
  Body/Large Bold 18/28 at 24px spacing, and column headings to
  Body/Small Bold on --text-tertiary.
- Keeps the real IA from ROUTE_SLUGS rather than frame 140:7814's
  labels, which name six pages that do not exist.

Tokens
- New tier-1 steps for values the design uses and the ramps lacked
  (--color-black-a20, --color-green-200-a12, --opacity-50) and tier-2
  --overlay-picture-shade / --overlay-picture-tint for the hero wash.

copy.ts now names the Figma frame as the source for the home strings.
The Arabic launch lead is rebuilt from the approved Arabic column to
carry the English frame's meaning and is marked (ar-draft) pending
client sign-off - the file has no Arabic home frame to work from.

Verified: typecheck and build green, no raw hex or tier-1 token in
components/routes, no physical-direction utility, 141 i18n keys at
parity, both locales rendered and checked for RTL mirroring.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 12:38:05 +02:00

172 lines
5.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"site": {
"name": "SHARP-ER",
"fullName": "Shared Action on Rule of Law Progress – Exit Route",
"tagline": "Strengthening the Rule of Law, Together",
"description": "A nationwide initiative supporting Libya’s civil society, local institutions and communities in advancing justice, accountability and good governance. Running from December 2025 to December 2027.",
"metaTitle": "SHARP-ER — Shared Action on Rule of Law Progress – Exit Route",
"euStatement": "Funded by the European Union",
"euEmblemAlt": "Emblem of the European Union",
"implementedBy": "Implemented by",
"followUs": "Follow SHARP-ER"
},
"nav": {
"primaryLabel": "Main navigation",
"footerLabel": "Site sections",
"openMenu": "Open menu",
"closeMenu": "Close menu",
"homeLinkLabel": "SHARP-ER home",
"skipToContent": "Skip to content",
"sections": {
"home": "Home",
"aboutAndStrategy": "About and Strategy",
"about": "About",
"whatWeDo": "What We Do",
"activities": "Activities and Initiatives",
"engagementAndOpportunities": "Engagement and Opportunities",
"events": "Events Calendar",
"applications": "Applications and Opportunities",
"news": "News and Updates",
"contact": "Contact",
"knowledgeAndImpact": "Knowledge and Impact",
"resources": "Resources and Publications",
"knowledgeHub": "Knowledge Hub"
}
},
"language": {
"label": "Language",
"switchTo": "Switch to {language}",
"en": "English",
"ar": "العربية"
},
"actions": {
"readMore": "Read more",
"learnMore": "Learn more",
"discoverSharper": "Discover SHARP-ER",
"exploreOurWork": "Explore Our Work",
"viewDetails": "View details",
"viewAll": "View all",
"download": "Download",
"register": "Register",
"apply": "Apply",
"submit": "Submit",
"cancel": "Cancel",
"close": "Close",
"share": "Share",
"print": "Print",
"backToHome": "Back to home",
"backToTop": "Back to top",
"readRecap": "Read recap",
"browseHub": "Browse the hub",
"seeActivities": "See our activities",
"learnWhatWeDo": "Learn what we do",
"seeCurrentCalls": "See current calls",
"applyToJoin": "Apply to join",
"viewUpcomingSessions": "View upcoming sessions",
"submitYourUpdate": "Submit your update",
"addToCalendar": "Add to calendar",
"tryAgain": "Try again"
},
"filters": {
"heading": "Filter",
"all": "All",
"upcoming": "Upcoming",
"ongoing": "Ongoing",
"completed": "Completed",
"region": "Region",
"topic": "Topic",
"date": "Date",
"author": "Author",
"partner": "Partner organisation",
"category": "Category",
"year": "Year",
"clear": "Clear filters",
"apply": "Apply filters",
"resultCount": "{count} results",
"noResults": "No results found.",
"noResultsHint": "Try removing a filter or searching for something else.",
"sortBy": "Sort by",
"sortNewest": "Newest first",
"sortOldest": "Oldest first"
},
"search": {
"label": "Search",
"placeholder": "Search SHARP-ER",
"submit": "Search",
"clear": "Clear search",
"resultsFor": "Results for “{query}”"
},
"pagination": {
"label": "Pagination",
"previous": "Previous",
"next": "Next",
"page": "Page {page} of {pageCount}",
"goToPage": "Go to page {page}",
"showing": "Showing {from}–{to} of {total}"
},
"events": {
"upcoming": "Upcoming events",
"past": "Past events",
"dateTime": "Date and time",
"location": "Format and location",
"online": "Online",
"inPerson": "In person",
"registrationStatus": "Registration status",
"statusOpen": "Open",
"statusClosed": "Closed",
"statusFull": "Full",
"register": "Register",
"joinWaitlist": "Join the waitlist",
"confirmationTitle": "You’re registered.",
"confirmationBody": "Thank you — your spot for {event} on {date} is confirmed. We’ll send a reminder and any joining details to the email you provided.",
"noEvents": "There are no events to show yet."
},
"news": {
"tabProject": "SHARP-ER News",
"tabNetwork": "From the Network",
"publishedOn": "Published {date}",
"postedBy": "Posted by {organisation}",
"partnerPrompt": "Are you a partner organisation?"
},
"resources": {
"fileMeta": "{type} · {size}",
"categoryResearch": "Research and Perception Studies",
"categoryPolicy": "Policy Articles",
"categoryReports": "Project Reports",
"categoryVisibility": "Visibility and Fact Sheets"
},
"opportunities": {
"statusOpen": "Open",
"statusClosed": "Closed",
"deadline": "Deadline: {date}",
"eligibility": "Eligibility"
},
"form": {
"name": "Name",
"organisation": "Organisation",
"email": "Email",
"subject": "Subject",
"message": "Message",
"phone": "Phone",
"optional": "optional",
"required": "required",
"send": "Send",
"sending": "Sending…",
"sent": "Message sent",
"errorRequired": "This field is required.",
"errorEmail": "Enter a valid email address.",
"errorConsent": "Please confirm this to complete your registration.",
"errorGeneric": "Something went wrong. Please try again.",
"successTitle": "Thank you",
"successBody": "Your message has been sent. We will get back to you as soon as we can."
},
"errors": {
"statusLabel": "Error {status}",
"notFoundTitle": "Page not found",
"notFoundBody": "The page you are looking for does not exist, or it has moved.",
"genericTitle": "Something went wrong",
"genericBody": "An unexpected error occurred. Please try again in a moment.",
"detailsLabel": "Technical details"
}
}