summaryrefslogtreecommitdiff
path: root/src/utils/seo/search-landing-page.ts
diff options
context:
space:
mode:
authorrxliuli <rxliuli@gmail.com>2025-11-04 05:03:50 +0800
committerrxliuli <rxliuli@gmail.com>2025-11-04 05:03:50 +0800
commitbce557cc2dc767628bed6aac87301a1be7c5431b (patch)
treeb51a051228d01fe3306cd7626d4a96768aadb944 /src/utils/seo/search-landing-page.ts
init commit
Diffstat (limited to 'src/utils/seo/search-landing-page.ts')
-rw-r--r--src/utils/seo/search-landing-page.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/utils/seo/search-landing-page.ts b/src/utils/seo/search-landing-page.ts
new file mode 100644
index 0000000..70a8bd4
--- /dev/null
+++ b/src/utils/seo/search-landing-page.ts
@@ -0,0 +1,18 @@
+import type { SearchResultsPage } from '@jet-app/app-store/api/models';
+import type { SeoData } from '@amp/web-app-components/src/components/MetaTags/types';
+import type I18N from '@amp/web-apps-localization';
+
+export function seoDataForSearchLandingPage(
+ page: SearchResultsPage,
+ i18n: I18N,
+): SeoData {
+ const title = i18n.t('ASE.Web.AppStore.Meta.TitleWithSiteName', {
+ title: i18n.t('ASE.Web.AppStore.Meta.SearchLanding.Title'),
+ });
+
+ return {
+ pageTitle: title,
+ socialTitle: title,
+ appleTitle: title,
+ };
+}