/ src / utils / seo / search-landing-page.ts
search-landing-page.ts
 1  import type { SearchResultsPage } from '@jet-app/app-store/api/models';
 2  import type { SeoData } from '@amp/web-app-components/src/components/MetaTags/types';
 3  import type I18N from '@amp/web-apps-localization';
 4  
 5  export function seoDataForSearchLandingPage(
 6      page: SearchResultsPage,
 7      i18n: I18N,
 8  ): SeoData {
 9      const title = i18n.t('ASE.Web.AppStore.Meta.TitleWithSiteName', {
10          title: i18n.t('ASE.Web.AppStore.Meta.SearchLanding.Title'),
11      });
12  
13      return {
14          pageTitle: title,
15          socialTitle: title,
16          appleTitle: title,
17      };
18  }