41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
TypeScript
|
|
'use client';
|
||
|
|
|
||
|
|
import { motion } from 'framer-motion';
|
||
|
|
|
||
|
|
import { ArrowUpRight } from 'lucide-react';
|
||
|
|
import { Button } from '@heroui/react';
|
||
|
|
import { useLanguage } from '@/contexts/LanguageContext';
|
||
|
|
|
||
|
|
export default function HeroButtons() {
|
||
|
|
const { t } = useLanguage();
|
||
|
|
|
||
|
|
return (
|
||
|
|
<motion.div
|
||
|
|
className="flex flex-col sm:flex-row gap-4 items-stretch sm:items-start justify-start flex-shrink-0 relative w-full sm:w-auto"
|
||
|
|
initial={{ opacity: 0, scale: 0.92, y: 16 }}
|
||
|
|
whileInView={{ opacity: 1, scale: 1, y: 0 }}
|
||
|
|
viewport={{ once: true }}
|
||
|
|
transition={{ duration: 0.7, ease: 'easeOut', delay: 1.0 }}
|
||
|
|
>
|
||
|
|
{/* Start Investing Button */}
|
||
|
|
<Button
|
||
|
|
size="lg"
|
||
|
|
className="bg-white text-special-black font-bold text-lg h-[60px] px-8 transition-transform duration-300 ease-out hover:scale-105 w-full sm:w-auto"
|
||
|
|
endContent={<ArrowUpRight size={20} className="flex-shrink-0" />}
|
||
|
|
onPress={() => window.open('http://152.69.205.186:3010/market', '_blank')}
|
||
|
|
>
|
||
|
|
{t('hero.startInvesting')}
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
{/* Read the Whitepaper Button */}
|
||
|
|
<Button
|
||
|
|
size="lg"
|
||
|
|
variant="bordered"
|
||
|
|
className="border-white/20 bg-white/10 text-white font-bold text-lg h-[60px] px-8 backdrop-blur-[30px] hover:bg-white/20 hover:border-white/40 w-full sm:w-auto"
|
||
|
|
>
|
||
|
|
{t('hero.readWhitepaper')}
|
||
|
|
</Button>
|
||
|
|
</motion.div>
|
||
|
|
);
|
||
|
|
}
|