Files
2026-03-31 12:44:54 -05:00

36 lines
1.2 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
import styles from "../vip.module.css";
type LandingHeroProps = {
onTitleTap?: () => void;
};
export function LandingHero({ onTitleTap }: LandingHeroProps) {
return (
<section className={`${styles.section} ${styles.heroSection} ${styles.heroSection3d}`} style={{ textAlign: "center" }}>
<p
className={`${styles.heroEyebrow} animate__animated animate__fadeInDown`}
style={{ animationDelay: "0.1s", animationFillMode: "both", cursor: "pointer" }}
onClick={onTitleTap}
title="连续点击 10 次切换测试价格"
>
</p>
<h1
className={`${styles.heroTitle} animate__animated animate__fadeInDown`}
style={{ animationDelay: "0.2s", animationFillMode: "both" }}
>
<span className={styles.heroTitleAccent}></span>
<span className={styles.heroTitleRest}> · · </span>
</h1>
<p
className={`${styles.heroLead} animate__animated animate__fadeInDown`}
style={{ animationDelay: "0.3s", animationFillMode: "both" }}
>
</p>
</section>
);
}