Merge branch 'subtitle' into feature-dashboard

feature-dashboard
김성경 2026-03-25 17:27:29 +09:00
commit 5b6fab8ef4
5 changed files with 52 additions and 6 deletions

3
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"recommendations": []
}

View File

@ -2075,9 +2075,31 @@
height: 64px; height: 64px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between;
flex-shrink: 0; flex-shrink: 0;
} }
.comp2-inquiry-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 8px;
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
text-decoration: none;
cursor: pointer;
transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.comp2-inquiry-btn:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.6);
color: #fff;
}
.comp2-back-btn { .comp2-back-btn {
display: flex; display: flex;
align-items: center; align-items: center;
@ -4005,7 +4027,7 @@
.url-input-button { .url-input-button {
padding: 16px 32px; padding: 12px 32px;
background-color: #AE72F9; background-color: #AE72F9;
border: none; border: none;
border-radius: 12px; border-radius: 12px;
@ -4016,6 +4038,8 @@
cursor: pointer; cursor: pointer;
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
white-space: nowrap; white-space: nowrap;
display: block;
margin: 0 auto;
} }
.url-input-button:hover:not(:disabled) { .url-input-button:hover:not(:disabled) {
@ -4037,7 +4061,7 @@
.url-input-guide { .url-input-guide {
font-family: 'Pretendard', sans-serif; font-family: 'Pretendard', sans-serif;
font-size: 13px; font-size: 14px;
color: #6AB0B3; color: #6AB0B3;
margin: 24px 0 0 0; margin: 24px 0 0 0;
} }
@ -8100,7 +8124,7 @@
} }
.genre-btn { .genre-btn {
padding: 0.5rem 0.75rem; padding: 0.75rem 0.5rem;
font-size: 14px; font-size: 14px;
} }
} }
@ -8742,19 +8766,22 @@
.content-card-text { .content-card-text {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 8px; gap: 2px;
} }
.content-card-title { .content-card-title {
font-size: 17px; font-size: 18px;
font-weight: 700; font-weight: 700;
color: var(--color-text-white); color: var(--color-text-white);
letter-spacing: -0.6%; letter-spacing: -0.6%;
margin: 0; margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.content-card-date { .content-card-date {
font-size: 12px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #6AB0B3; color: #6AB0B3;
letter-spacing: -0.6%; letter-spacing: -0.6%;

View File

@ -331,6 +331,17 @@ const CompletionContent: React.FC<CompletionContentProps> = ({
</svg> </svg>
<span>{t('completion.back')}</span> <span>{t('completion.back')}</span>
</button> </button>
<a
href="https://forms.gle/4a8mGebBYtdesvby9"
target="_blank"
rel="noopener noreferrer"
className="comp2-inquiry-btn"
>
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
</svg>
<span></span>
</a>
</div> </div>
<div className="comp2-title-row"> <div className="comp2-title-row">

View File

@ -286,6 +286,9 @@ const SoundStudioContent: React.FC<SoundStudioContentProps> = ({
setErrorMessage(null); setErrorMessage(null);
setStatusMessage(t('soundStudio.generatingLyrics')); setStatusMessage(t('soundStudio.generatingLyrics'));
const savedRatio = localStorage.getItem('castad_video_ratio');
const orientation = (savedRatio === 'horizontal' || savedRatio === 'vertical') ? savedRatio : 'vertical';
try { try {
const language = LANGUAGE_MAP[selectedLang] || 'Korean'; const language = LANGUAGE_MAP[selectedLang] || 'Korean';
@ -298,6 +301,7 @@ const SoundStudioContent: React.FC<SoundStudioContentProps> = ({
m_id: mId, m_id: mId,
region: businessInfo.region, region: businessInfo.region,
task_id: imageTaskId, task_id: imageTaskId,
orientation,
}); });
if (!lyricResponse.success || !lyricResponse.task_id) { if (!lyricResponse.success || !lyricResponse.task_id) {

View File

@ -67,6 +67,7 @@ export interface LyricGenerateRequest {
m_id: number; m_id: number;
region: string; region: string;
task_id: string; task_id: string;
orientation?: 'vertical' | 'horizontal';
} }
// 가사 생성 응답 // 가사 생성 응답