🐛 fix(subscribe): Jumps and internationalization

This commit is contained in:
web@ppanel 2024-12-01 15:54:54 +07:00
parent 8425b13bce
commit 13fdec319a
4 changed files with 6 additions and 5 deletions

View File

@ -66,7 +66,7 @@
"quota": "Purchase Limit/Time",
"replacement": "Reset Price/Time",
"sell": "Sell",
"show": "Show",
"show": "Home display",
"subscribe": "Subscribe",
"subscribeGroup": "Subscription Group",
"tabs": {

View File

@ -66,7 +66,7 @@
"quota": "限购/次",
"replacement": "重置价格/次",
"sell": "销售",
"show": "显示",
"show": "首页显示",
"subscribe": "订阅",
"subscribeGroup": "订阅组",
"tabs": {

View File

@ -11,6 +11,7 @@ import { Separator } from '@shadcn/ui/separator';
import { useQuery } from '@tanstack/react-query';
import { motion } from 'framer-motion';
import { useTranslations } from 'next-intl';
import Link from 'next/link';
export function ProductShowcase() {
const t = useTranslations('index');
@ -118,9 +119,9 @@ export function ProductShowcase() {
<motion.div>
<Button
className='absolute bottom-0 left-0 w-full rounded-b-xl rounded-t-none'
onClick={() => {}}
asChild
>
{t('subscribe')}
<Link href='/subscribe'>{t('subscribe')}</Link>
</Button>
</motion.div>
</CardFooter>

View File

@ -1,6 +1,6 @@
{
"global_map_description": "Explore seamless global connectivity. Choose network services that suit your needs and stay connected anytime, anywhere.",
"global_map_title": "Global Connectivity, Effortless Peace of Mind",
"global_map_itle": "Global Connection, Easy and Worry-free",
"locations": "Locations",
"per_month": "Per Month",
"product_showcase_description": "Let us help you select the package that best suits you and enjoy exploring it.",