Skip to content

Stg#282

Open
yevkim wants to merge 49 commits intomainfrom
stg
Open

Stg#282
yevkim wants to merge 49 commits intomainfrom
stg

Conversation

@yevkim
Copy link
Collaborator

@yevkim yevkim commented Mar 14, 2026

New Landing page / about
Improvements to scraping logic for scheme processor

longwind48 and others added 30 commits February 7, 2026 19:02
Landing page for Schemes.sg, an AI-powered search engine for Singapore
social assistance schemes. Built with Vite, React 19, TypeScript,
Tailwind CSS v4, shadcn/ui, and motion (framer-motion).

Sections: Hero with scrolling columns, testimonial, features grid,
agencies showcase with horizontal marquee rows, two-column FAQ with
support card, CTA, and footer. Uses lime/neutral color system, DM Serif
Display + Plus Jakarta Sans typography, and locally hosted agency logos
from 24 Singapore government and community organisations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the 3-column equal card grid with an asymmetric bento layout
matching the Joblyx reference. Each card now contains a decorative UI
mockup illustration: search interface with scheme results, scattered
category cards, filter UI with agency logos and cursor, eligibility
scan animation, and stacked agency logos. Two flex columns ensure
equal height on both sides.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the CTA button in the hero with an elegant search bar that
includes placeholder prompt and example queries. Add "Featured on"
section with logos from CNA, Lianhe Zaobao, Money FM, Better.sg,
Sengkang Town Council, and Hatch (downloaded locally). Move testimonial
section to just above FAQ. New section order: Hero → Featured →
Features → Agencies → Testimonial → FAQ → CTA → Footer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Strengthen border, shadow, and placeholder text colors so the search
bar stands out against the light hero background.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace hardcoded neutral-50 gradient overlays with CSS mask-image so
the scrolling columns fade to transparent, letting the actual hero
background (including gradient glow orbs) show through seamlessly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add "Our Partners" row below "Featured On" with logos from schemes.sg
for Singapore Association of Social Workers and Care Corner Singapore.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace "Check Your Eligibility" with "Suggest a New Scheme" featuring
a 3-step illustration: URL submission → AI extraction → Slack approval.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add the official Schemes blue gradient brandmark SVG alongside the
text logo in both the navbar and footer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace lime-green accent with amber to align with the Schemes.sg logo
gradient. Add OKLch blue palette as a secondary accent for trust-related
UI elements (suggest-a-scheme pipeline, CTA orbs).

Other visual updates in this pass:
- Hero: replace floating sparkle icon with better.sg volunteer banner
- Features: add decorative gradient glows behind bento grid
- Featured: switch logos from monochrome to natural color with opacity
- Update all shadcn CSS variables (--accent, --chart-*) to new hues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace animated marquee rows with static agency pills inside a white
rounded card. Use a radial-gradient CSS mask to create a diamond/oval
fade that blends evenly on all four sides. Rows are tripled and
staggered with horizontal offsets so pills overflow the card edges.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace FAQ nav link with Contribute (links to #faq section)
- Replace FAQ sidebar "Do you have more questions?" card with
  "Suggest a New Scheme" linking to schemes.sg/contribute
- Remove "Singaporean" / "Singapore" from user-facing copy to
  generalize messaging for a broader audience
- Fix hero section mobile/tablet layout: remove full-viewport
  min-height on smaller screens to eliminate excess gap below navbar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace login/signup buttons with a language toggle supporting English
and Simplified Chinese. All user-facing content is now translatable via
a lightweight React Context-based i18n system (~90 strings). English is
the default; locale persists in localStorage. Agency names, logos, and
decorative illustration text remain in English. CJK system font
fallbacks added for Chinese rendering. The toggle component uses an
animated sliding indicator and is extensible for future Bahasa Melayu
and Tamil support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set up Firebase Hosting for the schemes-landing-dev site. Hashed assets
get 1-year immutable cache; images get 1-day client / 7-day CDN cache.
Added lazy loading to featured/partner logo images to reduce initial
network requests on mobile.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Make the blue gradient orb in the hero section more prominent (larger,
higher opacity). Change CTA subtitle from "government websites" to
"normal web search" in both EN and ZH translations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Testimonials now displayed as side-by-side cards
- Added Care Corner Singapore testimonial with logo avatar
- Updated FAQ: AI matching, privacy answers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Code-split each section with React.lazy + Suspense
- Each section shows its own shimmer skeleton until loaded
- Pre-React skeleton in index.html for initial page load
- Shimmer keyframe respects prefers-reduced-motion
- Main bundle reduced from 409KB to 369KB via code splitting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ate Contribute link

- FAQ sidebar card now visible on mobile/tablet (removed hidden lg:flex)
- Contribute navlink now scrolls to #contribute (Suggest a Scheme block)
- Fixed "From200+" missing space in agencies heading
- Updated CLAUDE.md with current architecture docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mark About and Contact footer links as "Coming Soon" with muted styling
and a pill badge, making them non-clickable until pages are ready.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix duplicate id="about" on HowItWorksSection (now "how-it-works")
- Add alt="Schemes.sg" to logo images in Navbar and Footer
- Add target="_blank" rel="noopener noreferrer" to all external links
- Add og:image and theme-color meta tags to index.html
- Extract shared Marquee component from ScrollingColumn/ScrollingLogoColumn
- Pre-compute tripled agency rows at module level in AgenciesSection
- Extract magic numbers to named constants

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
git-subtree-dir: landing
git-subtree-mainline: 9cbcc00
git-subtree-split: 4391b41
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove duplicate landing/.gitignore and add landing-specific rules
to the root .gitignore. Add explicit exceptions for pnpm-lock.yaml
and src/lib/ that root patterns would otherwise shadow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove gradient background breaks between sections
- Add back opacity and increase size of featured on and partner logos
- Add gravity component for features section
- Ensure no repeats for agencies section
longwind48 and others added 19 commits March 8, 2026 14:41
GPT-5 is a reasoning model that does not support temperature, top_p,
presence_penalty, or frequency_penalty parameters. Remove these and
use max_completion_tokens instead of max_tokens.
GPT-5 is a reasoning model that requires temperature=1 (explicit to
override langchain default of 0.7) and higher max_completion_tokens
(4096) to accommodate reasoning overhead. Also filter empty content
chunks during streaming to prevent client-side errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Read AZURE_OPENAI_DEPLOYMENT_NAME from env instead of hardcoding
  the model name in config.py
- Remove unused GAR_IMAGE/GAR_MEMORY from .env.example
- Add missing env vars: embedding model, FB_CLIENT_EMAIL, Slack,
  and processor service URL

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: GPT-5 model config and streaming
@yevkim yevkim requested a review from longwind48 March 14, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants