Files
Ehsan/artifacts/ehsan-poc
Replit Agent d875912805 Remove home page search bar (Task #22)
The home page previously showed a search input + «بحث» button above the
featured opportunities. The user asked to remove it so the home page goes
straight to the featured opportunities.

Changes (artifacts/ehsan-poc/src/pages/home.tsx):
- Deleted the search UI block (label, Search-icon input, search button).
- Removed the now-unused `query`/`setQuery` state and the client-side
  filtering; the featured grid now maps over published requests directly
  via a `featured` list.
- Simplified the empty state to always use t.opportunities.noOpportunities
  (dropped the search-specific noResults branch).
- Removed now-unused imports: `Input` and the `Search` lucide icon.
  `Button` is kept (still used by the hero CTA).

Out of scope (unchanged): opportunities page search/filter, header nav.
Unused translation keys (home.searchLabel/searchButton/noResults,
common.searchPlaceholder) were left in translations.ts as they are shared
strings and harmless; no behavioral impact.

Verified: tsc --noEmit clean.
2026-06-05 20:28:39 +00:00
..