폰트 수정, UI수정 및 대시보드 수정
This commit is contained in:
1 parent
65ea09ffd5
commit
7aedf07203
9 files changed
+313
-339
No files matched your search
@@ -8,10 +8,11 @@ const Footer: React.FC = () => {
|
||||
<footer className="landing-footer">
|
||||
<div className="footer-content">
|
||||
<div className="footer-left">
|
||||
<img src="/assets/images/logo.svg" alt="CASTAD" className="footer-logo" />
|
||||
<img src="/assets/images/ado2-sidebar-logo.svg" alt="ADO2" className="footer-logo" />
|
||||
<p className="footer-copyright">Copyright ⓒ O2O Inc. All rights reserved</p>
|
||||
</div>
|
||||
<div className="footer-right">
|
||||
<p className="footer-info">{t('footer.company')}</p>
|
||||
<p className="footer-info">{t('footer.businessNumber')}</p>
|
||||
<p className="footer-info">{t('footer.headquarters')}</p>
|
||||
<p className="footer-info">{t('footer.researchCenter')}</p>
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
Reference in new issue
Block a user