Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
hujie123456 committed Aug 21, 2024
1 parent e68b118 commit ebd40c1
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import MobileMenu from "@/component/MobileMenu";
import { useRouter } from "next/navigation";

export default function Home() {
const [visibleCount, setVisibleCount] = useState(12);
const [visibleCount, setVisibleCount] = useState(15);
const router = useRouter();

const [openIndex, setOpenIndex] = useState<number | null>(null);
Expand Down Expand Up @@ -86,7 +86,8 @@ export default function Home() {
{ id: 2, name: "Ben Fielding", company: "Co-founder of Gensyn", img: "/speakers/4.png", icon: "2" },
{ id: 6, name: "Evan Feng", company: "Partner at CoinFund", img: "/speakers/12.png", icon: "5" },
{ id: 11, name: "Nihal Maunder", company: "Junior Partner at Pantera", img: "/speakers/14.png", icon: "14" },
{ id: 12, name: "Tom Schmidt", company: "Partner at Dragonfly", img: "/speakers/7.png", icon: "13" },
{ id: 13, name: "Tom Schmidt", company: "Partner at Dragonfly", img: "/speakers/7.png", icon: "13" },
{ id: 12, name: "Sean Ren", company: "Cofounder of Sahara AI", img: "/speakers/15.png", icon: "15" },
];

// 点击按钮后展示更多数据
Expand Down Expand Up @@ -311,7 +312,7 @@ export default function Home() {
/>

<Image
src="/banner/sponsors/image5.svg"
src="/banner/sponsors/image9.png"
width={136}
height={48}
alt="icon"
Expand Down Expand Up @@ -383,10 +384,7 @@ export default function Home() {
</div>
</div>
<div className="flex-1 hidden md:block">
<div
className="flex flex-col items-start md:w-[602px] mt-[100px]"
style={{ marginLeft: "calc((100vw - 1200px) / 2)" }}
>
<div className="flex flex-col items-start md:w-[602px] " style={{ marginLeft: "calc((100vw - 1200px) / 2)" }}>
<div
className="flex justify-center relative text-[48px] font-semibold mt-[60px]"
style={{ fontFamily: "ClashDisplay, sans-serif" }}
Expand Down Expand Up @@ -1070,7 +1068,7 @@ export default function Home() {
)}
</Row>

<div className="flex items-center gap-[36px] mt-6">
<div className="flex items-center gap-[15px] mt-6">
<svg
onClick={() => router.push("https://medium.com/@cubesummit")}
width="24"
Expand Down Expand Up @@ -1098,6 +1096,14 @@ export default function Home() {
width={20}
height={20}
/>
<Image
className="cursor-pointer"
onClick={() => router.push("https://t.me/cubesummit")}
src="/tg.png"
alt="tg"
width={20}
height={20}
/>
</div>

<div className="h-[1px] w-[90%] bg-[#6B6B6B] bg-opacity-50 mt-6"></div>
Expand Down Expand Up @@ -1144,7 +1150,16 @@ export default function Home() {
</li>
</ul>
</nav>
<div className="flex items-center gap-[14px]">
<div className="flex items-center gap-[12px]">
<Image
className="cursor-pointer"
onClick={() => router.push("https://t.me/cubesummit")}
src="/tg.png"
alt="tg"
width={20}
height={20}
/>

<svg
className="cursor-pointer"
onClick={() => router.push("https://medium.com/@cubesummit")}
Expand Down

0 comments on commit ebd40c1

Please sign in to comment.