- Update all component imports from useTranslation to useTranslations - Replace react-i18next and next-i18next imports with next-intl - Convert Trans components to t.rich() for rich text formatting - Update all translation hook usage to next-intl API This affects 80+ component files across the codebase including: - Character, weapon, summon components - Auth modals (login, signup, account) - Party management components - Filter and search components - Toast notifications - About pages and content updates 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
776 B
TypeScript
26 lines
776 B
TypeScript
import React from 'react'
|
|
import Head from 'next/head'
|
|
import { useTranslations } from 'next-intl'
|
|
|
|
const SavedHead = () => {
|
|
// Import translations
|
|
const t = useTranslations('common')
|
|
|
|
return (
|
|
<Head>
|
|
<title>{t('page.titles.saved')}</title>
|
|
|
|
<link rel="icon" type="image/x-icon" href="/images/favicon.png" />
|
|
|
|
<meta property="og:title" content={t('page.titles.saved')} />
|
|
<meta property="og:url" content="https://app.granblue.team/saved" />
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta property="twitter:domain" content="app.granblue.team" />
|
|
<meta name="twitter:title" content={t('page.titles.saved')} />
|
|
</Head>
|
|
)
|
|
}
|
|
|
|
export default SavedHead
|