🐛 fix(subscribe): Jumps and internationalization
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user