diff --git a/components/search/SearchProfiles.vue b/components/search/SearchProfiles.vue
new file mode 100644
index 0000000000..0c224faaa5
--- /dev/null
+++ b/components/search/SearchProfiles.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+ {{ $t('search.profileNotFound', [name]) }}
+
+
+
+
+
+
+ {{ item.name }}
+
+
+ {{ item?.description }}
+
+
+
+
+
+
+
+
diff --git a/components/search/SearchSuggestion.vue b/components/search/SearchSuggestion.vue
index bc743ca55f..d77c0fff0e 100644
--- a/components/search/SearchSuggestion.vue
+++ b/components/search/SearchSuggestion.vue
@@ -165,15 +165,10 @@
-
- {{ $t('user') }}
-
- {{ $t('soon') }}
-
-
+
diff --git a/locales/en.json b/locales/en.json
index 1c8a9d8868..f1b17bc353 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -125,7 +125,8 @@
"landingTitle2": "Generative Art",
"landingTitle3": "Marketplace",
"collectionNotFound": "Our search agents have not found anything with \"{0}\" in collection name",
- "nftNotFound": "Our search agents have not found anything with \"{0}\" in NFT name"
+ "nftNotFound": "Our search agents have not found anything with \"{0}\" in NFT name",
+ "profileNotFound": "Our search agents have not found anyone with \"{0}\" in user name"
},
"transfers": {
"recipient": "Recipient",
diff --git a/services/profile.ts b/services/profile.ts
index 2ecb3a5683..c297714371 100644
--- a/services/profile.ts
+++ b/services/profile.ts
@@ -104,6 +104,12 @@ export const fetchProfileByAddress = (address: string) =>
method: 'GET',
})
+export const searchProfiles = (query: string, limit = 5, offset = 0) =>
+ api<{ data: Profile[] }>('/profiles/search', {
+ method: 'GET',
+ query: { q: query, limit, offset },
+ })
+
export const fetchFollowersOf = (
address: string,
options?: { limit?: number; offset?: number; exclude?: string[] },