feat: Add a new user profiles page with filtering capabilities and update hero section navigation to it.
This commit is contained in:
@@ -34,11 +34,11 @@ export function HeroSection() {
|
||||
if (searchParams.name) params.set('name', searchParams.name);
|
||||
if (searchParams.location) params.set('location', searchParams.location);
|
||||
if (searchParams.category) params.set('category', searchParams.category);
|
||||
router.push(`/agents?${params.toString()}`);
|
||||
router.push(`/user/profiles?${params.toString()}`);
|
||||
};
|
||||
|
||||
const handleSeeAllAgents = () => {
|
||||
router.push('/agents');
|
||||
router.push('/user/profiles');
|
||||
};
|
||||
|
||||
const toggleDropdown = (dropdown: string) => {
|
||||
|
||||
Reference in New Issue
Block a user