폰트 수정, UI수정 및 대시보드 수정

This commit is contained in:
skkim committed 2026-03-13 10:13:26 +09:00
1 parent 65ea09ffd5
commit 7aedf07203
9 files changed
+313 -339

No files matched your search

+7 -7
View File
@@ -132,6 +132,7 @@ const SocialPostingModal: React.FC<SocialPostingModalProps> = ({
const [isPrivacyDropdownOpen, setIsPrivacyDropdownOpen] = useState(false);
const [isLoadingAutoDescription, setIsLoadingAutoDescription] = useState(false);
const [isHorizontalVideo, setIsHorizontalVideo] = useState(false);
const [videoMeta, setVideoMeta] = useState<{ width: number; height: number; duration: number } | null>(null);
const channelDropdownRef = useRef<HTMLDivElement>(null);
const privacyDropdownRef = useRef<HTMLDivElement>(null);
@@ -175,12 +176,6 @@ const SocialPostingModal: React.FC<SocialPostingModalProps> = ({
if (isOpen) {
loadSocialAccounts();
loadAutocomplete();
// // 비디오 정보로 기본 제목 설정
// if (video) {
// const date = new Date(video.created_at);
// const formattedDate = `${date.getFullYear()}.${String(date.getMonth() + 1).padStart(2, '0')}.${String(date.getDate()).padStart(2, '0')}`;
// setTitle(`${video.store_name} ${formattedDate}`);
// }
}
}, [isOpen, video]);
@@ -436,6 +431,7 @@ const SocialPostingModal: React.FC<SocialPostingModalProps> = ({
onLoadedMetadata={(e) => {
const v = e.currentTarget;
setIsHorizontalVideo(v.videoWidth > v.videoHeight);
setVideoMeta({ width: v.videoWidth, height: v.videoHeight, duration: v.duration });
}}
/>
</div>
@@ -453,7 +449,11 @@ const SocialPostingModal: React.FC<SocialPostingModalProps> = ({
<p className="social-posting-video-title">
{video.store_name} {new Date(video.created_at).toLocaleString('ko-KR')}
</p>
<p className="social-posting-video-specs">{t('social.videoSpecs')}</p>
<p className="social-posting-video-specs">
{videoMeta
? `${videoMeta.width}×${videoMeta.height} · ${Math.floor(videoMeta.duration / 60)}:${String(Math.floor(videoMeta.duration % 60)).padStart(2, '0')}`
: t('social.videoSpecs')}
</p>
</div>
{/* Channel Selector - Custom Dropdown */}