모든 ui / ux 변경 작업 .
This commit is contained in:
1 parent
95928c0b66
commit
f8bebdac52
9 files changed
+505
-445
No files matched your search
@@ -7,10 +7,11 @@ interface DisplaySectionProps {
|
||||
}
|
||||
|
||||
const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
const frames = [
|
||||
{ id: 1, image: '/assets/images/display-frame-1.png' },
|
||||
{ id: 2, image: '/assets/images/display-frame-1.png' },
|
||||
{ id: 3, image: '/assets/images/display-frame-1.png' },
|
||||
// YouTube Shorts 영상 ID들
|
||||
const videos = [
|
||||
{ id: 1, videoId: 'OZJ8X4P82OA' },
|
||||
{ id: 2, videoId: 'hNzMO21O40c' },
|
||||
{ id: 3, videoId: 'dM8_d6Aud68' },
|
||||
];
|
||||
|
||||
return (
|
||||
@@ -18,12 +19,19 @@ const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
<div className="content-safe-area">
|
||||
{/* Main visual frames container */}
|
||||
<div className="display-frames">
|
||||
{frames.map((frame, index) => (
|
||||
{videos.map((video, index) => (
|
||||
<div
|
||||
key={frame.id}
|
||||
key={video.id}
|
||||
className={`display-frame ${index === 2 ? 'display-frame-hidden-mobile' : ''}`}
|
||||
>
|
||||
<img src={frame.image} alt={`Display ${frame.id}`} />
|
||||
<iframe
|
||||
src={`https://www.youtube.com/embed/${video.videoId}?autoplay=1&mute=1&loop=1&playlist=${video.videoId}&controls=0&showinfo=0&rel=0&modestbranding=1&playsinline=1`}
|
||||
title={`YouTube Shorts ${video.id}`}
|
||||
frameBorder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
className="display-video"
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user