ui 디자인 수정 .
This commit is contained in:
1 parent
24d61f925a
commit
07ba65cca6
27 files changed
+2738
-725
No files matched your search
@@ -7,7 +7,11 @@ interface DisplaySectionProps {
|
||||
}
|
||||
|
||||
const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
const videoIds = ['dM8_d6Aud68', 'bb8nKmKcT0c', 'dM8_d6Aud68'];
|
||||
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' },
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="display-section">
|
||||
@@ -15,27 +19,13 @@ const DisplaySection: React.FC<DisplaySectionProps> = ({ onStartClick }) => {
|
||||
|
||||
<div className="content-safe-area" style={{ paddingTop: '7rem' }}>
|
||||
{/* Main visual frames container */}
|
||||
<div className="video-frames">
|
||||
{videoIds.map((videoId, index) => (
|
||||
<div className="display-frames">
|
||||
{frames.map((frame, index) => (
|
||||
<div
|
||||
key={`${videoId}-${index}`}
|
||||
className={`phone-frame ${index === 2 ? 'hidden-mobile' : ''}`}
|
||||
key={frame.id}
|
||||
className={`display-frame ${index === 2 ? 'display-frame-hidden-mobile' : ''}`}
|
||||
>
|
||||
{/* YouTube Embed Container */}
|
||||
<div className="phone-video-container">
|
||||
<iframe
|
||||
src={`https://www.youtube.com/embed/${videoId}?autoplay=1&mute=1&loop=1&playlist=${videoId}&controls=0&showinfo=0&rel=0&modestbranding=1&iv_load_policy=3&disablekb=1&playsinline=1`}
|
||||
title="YouTube video player"
|
||||
frameBorder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowFullScreen
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
{/* Device Bezel/Frame */}
|
||||
<div className="phone-bezel"></div>
|
||||
{/* Notch */}
|
||||
<div className="phone-notch"></div>
|
||||
<img src={frame.image} alt={`Display ${frame.id}`} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user