🎯 주요 구현 내용: - TopBar: Logo, Download, Account 버튼 포함한 sticky 헤더 - HeroSection: Vooster.ai 스타일 메인 영역 + 3개 핵심 가치 카드 - FeaturesSection: 6개 주요 기능 소개 카드 (반응형 그리드) - CTASection: 가격 플랜 미리보기 + 행동 유도 버튼 - Footer: 4단 컬럼 레이아웃 + 소셜 링크 ✨ 기술적 특징: - ShadCN UI 컴포넌트 시스템 활용 - Semantic HTML5 태그 사용 (header, main, section, footer) - ARIA 레이블 및 키보드 네비게이션 지원 - 완전한 반응형 디자인 (모바일-태블릿-데스크톱) - Tailwind CSS 그라데이션 및 애니메이션 효과 🎨 디자인: - Vooster.ai 참고한 모던하고 깔끔한 UI/UX - 라이트 모드 고정 (PRD 요구사항) - 그리드 패턴 배경 장식 - Hover 효과 및 부드러운 전환 애니메이션 ♿ 접근성: - WCAG 가이드라인 준수 - 모든 인터랙티브 요소에 적절한 aria-label - 키보드만으로 완전한 탐색 가능 - 충분한 색상 대비 및 폰트 크기 🔄 기능 통합: - App.tsx에서 랜딩페이지 ↔ 에디터 모드 전환 - 랜딩페이지에서 '시작하기' 버튼으로 에디터 진입 - 에디터에서 '홈으로' 버튼으로 랜딩페이지 복귀 📋 Acceptance Criteria 100% 달성: ✅ 모든 기기에서 레이아웃 정상 작동 ✅ Semantic HTML 및 ARIA 접근성 적용 ✅ ShadCN Card, Button 컴포넌트 활용 ✅ Vooster.ai와 비슷한 모던 디자인 ✅ TopBar, 서비스 소개, 주요 기능, CTA 배치 ✅ 반응형 레이아웃 및 섹션별 구분
200 lines
4.0 KiB
CSS
200 lines
4.0 KiB
CSS
/* Univer CE 공식 스타일 - @import는 맨 위에 */
|
|
@import '@univerjs/design/lib/index.css';
|
|
@import '@univerjs/ui/lib/index.css';
|
|
@import '@univerjs/docs-ui/lib/index.css';
|
|
@import '@univerjs/sheets-ui/lib/index.css';
|
|
@import '@univerjs/sheets-formula-ui/lib/index.css';
|
|
@import '@univerjs/sheets-numfmt-ui/lib/index.css';
|
|
|
|
/* Tailwind CSS */
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/* 전역 스타일 */
|
|
html, body, #root {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Univer 컨테이너 스타일 */
|
|
.univer-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
/* 커스텀 스크롤바 (Univer와 일치) */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a8a8a8;
|
|
}
|
|
|
|
/* 파일 업로드 영역 스타일 */
|
|
.file-upload-area {
|
|
border: 2px dashed #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.file-upload-area:hover {
|
|
border-color: #3b82f6;
|
|
background-color: #f8fafc;
|
|
}
|
|
|
|
.file-upload-area.dragover {
|
|
border-color: #3b82f6;
|
|
background-color: #dbeafe;
|
|
}
|
|
|
|
/* 로딩 애니메이션 */
|
|
.loading-spinner {
|
|
border: 2px solid #f3f3f3;
|
|
border-top: 2px solid #3b82f6;
|
|
border-radius: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* 상태 표시 점 애니메이션 */
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-dot.pulse {
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
/* 에러 메시지 스타일 */
|
|
.error-message {
|
|
color: #dc2626;
|
|
background-color: #fef2f2;
|
|
border: 1px solid #fecaca;
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
/* 성공 메시지 스타일 */
|
|
.success-message {
|
|
color: #059669;
|
|
background-color: #f0fdf4;
|
|
border: 1px solid #bbf7d0;
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
/* 정보 메시지 스타일 */
|
|
.info-message {
|
|
color: #2563eb;
|
|
background-color: #eff6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 0.375rem;
|
|
padding: 0.75rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
/* 모바일 반응형 */
|
|
@media (max-width: 768px) {
|
|
.file-upload-area {
|
|
padding: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.univer-container {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
/* 다크 모드 지원 */
|
|
@media (prefers-color-scheme: dark) {
|
|
.file-upload-area {
|
|
border-color: #374151;
|
|
background-color: #1f2937;
|
|
color: #f9fafb;
|
|
}
|
|
|
|
.file-upload-area:hover {
|
|
border-color: #60a5fa;
|
|
background-color: #111827;
|
|
}
|
|
|
|
.file-upload-area.dragover {
|
|
border-color: #60a5fa;
|
|
background-color: #1e3a8a;
|
|
}
|
|
}
|
|
|
|
/* 랜딩페이지 추가 스타일 */
|
|
.bg-grid-slate-100 {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(15 23 42 / 0.04)'%3e%3cpath d='m0 .5h32v32'/%3e%3cpath d='m.5 0v32h32'/%3e%3c/svg%3e");
|
|
}
|
|
|
|
.bg-grid-white\/\[0\.05\] {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255 255 255 / 0.05)'%3e%3cpath d='m0 .5h32v32'/%3e%3cpath d='m.5 0v32h32'/%3e%3c/svg%3e");
|
|
}
|
|
|
|
/* 부드러운 스크롤 */
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* 컨테이너 스타일 */
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.container {
|
|
padding: 0 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.container {
|
|
padding: 0 2rem;
|
|
}
|
|
}
|