update with typescript and css for search page