16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
import { useTranslations } from 'next-intl'
|
|
import { getTranslations } from 'next-intl/server'
|
|
|
|
export default async function PostsPage() {
|
|
const t = await getTranslations('posts')
|
|
|
|
return (
|
|
<div className="max-w-[1400px] mx-auto px-6 py-6">
|
|
<div className="bg-[#0a0a0a] border border-[#141414] rounded-[10px] p-10 text-center">
|
|
<h1 className="text-[22px] font-medium text-white mb-3">{t('title')}</h1>
|
|
<p className="text-[14px] text-[#555555]">{t('comingSoon')}</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|