[feat] solution/frontend: 히어로 아래 발행 사이트 마퀴 — 입력칸만으론 뭐가 나오는지 모른다
상단에 입력칸 하나만 있으면 무엇이 만들어지는지 알 수 없다. 결과물을 바로 밑에서 흘린다. - CSS 만으로 돈다(index.css o2o-marquee). setInterval 로 돌리면 탭이 백그라운드일 때 프레임이 밀려 돌아왔을 때 툭 끊긴 것처럼 보인다 - 같은 목록을 두 벌 그리고 트랙을 -50% 까지만 민다 — 한 벌이면 끝에서 빈 화면이 지나간다 - 개수가 늘어도 흐르는 속도는 그대로(카드 수에 비례해 duration) - 복제분은 aria-hidden·tabIndex=-1 — 스크린리더가 같은 목록을 두 번 읽지 않게 - hover 하면 멈추고, prefers-reduced-motion 이면 아예 안 움직인다 - CTA 문구를 [확인하기] 로(시안과 같게) tsc·eslint·vite build 통과
This commit is contained in:
1 parent
fd716222ad
commit
4ef8e7d232
3 files changed
+94
-3
No files matched your search
@@ -3,7 +3,7 @@ import {Link, useNavigate} from 'react-router';
|
||||
import {ArrowRight, Building2, Check, Coffee, Search, Stethoscope, UtensilsCrossed} from 'lucide-react';
|
||||
import type {IndustryType} from '@o2o/shared';
|
||||
import {MarketingShell, Section, SectionHead} from '@/components/layout/MarketingShell';
|
||||
import {ShowcaseGrid} from '@/features/marketing/ShowcaseGrid';
|
||||
import {ShowcaseGrid, ShowcasePeeks} from '@/features/marketing/ShowcaseGrid';
|
||||
import {Button} from '@/components/ui/button';
|
||||
|
||||
const INDUSTRIES: {id: IndustryType; label: string; icon: typeof Building2}[] = [
|
||||
@@ -67,7 +67,7 @@ export function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
<Button type="submit" variant="primary" size="lg" className="shrink-0">
|
||||
시작하기
|
||||
확인하기
|
||||
</Button>
|
||||
</form>
|
||||
|
||||
@@ -97,6 +97,9 @@ export function LandingPage() {
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
{/* 입력칸만 있으면 무엇이 나오는지 알 수 없다 — 결과물 두 장을 먼저 보여준다. */}
|
||||
<ShowcasePeeks />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user