Skip to content

Commit 2f68471

Browse files
committed
feat(fe): replace hero video with image-only and rebalance layout
1 parent bda5b3f commit 2f68471

4 files changed

Lines changed: 3 additions & 41 deletions

File tree

apps/fe/app/(routes)/(home)/page.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { HeroImage } from "@/app/_components/hero-image"
2-
import { HeroVideo } from "@/app/_components/hero-video"
32
import {
43
TypographyH1,
54
TypographyH2,
@@ -8,7 +7,6 @@ import {
87
TypographyP,
98
TypographySmall,
109
} from "@/app/_components/typography"
11-
import { VideoSkeleton } from "@/app/_components/video-skeleton"
1210
import { Button } from "@/components/ui/button"
1311
import {
1412
ArrowRight,
@@ -18,7 +16,7 @@ import {
1816
UsersRoundIcon,
1917
} from "lucide-react"
2018
import Link from "next/link"
21-
import { Fragment, Suspense } from "react"
19+
import { Fragment } from "react"
2220
import { Footer } from "./_components/footer"
2321

2422
const STATUS_DOT = {
@@ -115,15 +113,8 @@ export default function Page() {
115113
</div>
116114
</div>
117115

118-
<div className="w-full min-w-0 max-md:flex max-md:flex-1 max-md:items-center md:mt-0 md:flex-1 md:min-w-0">
119-
<div className="block w-full pt-4 md:hidden">
120-
<HeroImage />
121-
</div>
122-
<div className="hidden w-full md:block">
123-
<Suspense fallback={<VideoSkeleton />}>
124-
<HeroVideo />
125-
</Suspense>
126-
</div>
116+
<div className="w-full min-w-0 pt-8 md:flex-[1.3] md:pt-0">
117+
<HeroImage />
127118
</div>
128119
</main>
129120

apps/fe/app/_components/hero-video.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/fe/app/_components/video-skeleton.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.
-1.67 MB
Binary file not shown.

0 commit comments

Comments
 (0)