commerce/components/layout/sagyobar-preview.tsx
2023-08-20 13:25:41 +09:00

26 lines
969 B
TypeScript

'use client';
import { useTranslations } from 'next-intl';
import Link from 'next/link';
export default function SagyobarPreview() {
const t = useTranslations('Index');
return (
<div className="flex flex-col space-y-4 px-6 py-24 md:flex-row md:space-x-12 md:space-y-0 md:p-24">
<div className="font-multilingual flex flex-col space-y-2 font-extralight md:w-1/2">
<div className="max-w-sm text-5xl">{t('home.previews.bar.title')}</div>
<div className="max-w-sm text-5xl">{t('home.previews.bar.subtitle')}</div>
</div>
<div className="font-multilingual flex flex-col space-y-6 font-extralight md:w-1/2">
<div>{t('home.previews.bar.body')}</div>
<Link
href="/location"
className="max-w-sm border border-white px-6 py-3 text-center text-lg transition-colors duration-150 hover:border-white/50"
>
{t('home.previews.bar.button')}
</Link>
</div>
</div>
);
}