init: 初始化 AssetX 项目仓库
包含 webapp(Next.js 用户端)、webapp-back(Go 后端)、 antdesign(管理后台)、landingpage(营销落地页)、 数据库 SQL 和配置文件。
This commit is contained in:
40
landingpage/components/HeroButtons.tsx
Normal file
40
landingpage/components/HeroButtons.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
'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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user