[feat]: Safari 쿠키 호환성 및 UI/UX 개선
주요 변경사항: - Safari 쿠키 호환성 개선 (SameSite=Lax, 개발 환경 Secure 제외) - Sidebar 활성 메뉴 자동 스크롤 기능 추가 - Sidebar 스크롤바 스타일링 (호버 시에만 표시) - DashboardLayout sticky 포지셔닝 적용 - IE 브라우저 차단 및 안내 페이지 추가 - 메뉴 탐색 로직 개선 (서브메뉴 우선 매칭) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
256
public/unsupported-browser.html
Normal file
256
public/unsupported-browser.html
Normal file
@@ -0,0 +1,256 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>브라우저 업그레이드 안내 - SAM ERP</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: white;
|
||||
padding: 50px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
||||
max-width: 700px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: #3B82F6;
|
||||
border-radius: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 30px;
|
||||
font-size: 36px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.icon {
|
||||
font-size: 80px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #1a1a1a;
|
||||
font-size: 32px;
|
||||
margin-bottom: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #ef4444;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #666;
|
||||
font-size: 16px;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.browsers {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 20px;
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.browser {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
padding: 30px 20px;
|
||||
border: 2px solid #e5e7eb;
|
||||
border-radius: 16px;
|
||||
transition: all 0.3s ease;
|
||||
background: #f9fafb;
|
||||
}
|
||||
|
||||
.browser:hover {
|
||||
transform: translateY(-8px);
|
||||
border-color: #3B82F6;
|
||||
box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
|
||||
}
|
||||
|
||||
.browser.recommended {
|
||||
border-color: #3B82F6;
|
||||
background: #eff6ff;
|
||||
}
|
||||
|
||||
.browser-icon {
|
||||
font-size: 60px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.browser-name {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #1a1a1a;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.browser-desc {
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
background: #3B82F6;
|
||||
color: white;
|
||||
padding: 4px 12px;
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.warning {
|
||||
background: #fef3c7;
|
||||
border: 2px solid #f59e0b;
|
||||
border-radius: 16px;
|
||||
padding: 25px;
|
||||
margin-top: 40px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.warning-title {
|
||||
color: #92400e;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.warning-list {
|
||||
color: #78350f;
|
||||
font-size: 15px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.warning-list li {
|
||||
margin-bottom: 8px;
|
||||
list-style: none;
|
||||
padding-left: 25px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.warning-list li:before {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
color: #f59e0b;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 40px;
|
||||
padding-top: 30px;
|
||||
border-top: 2px solid #e5e7eb;
|
||||
color: #9ca3af;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.browsers {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.browser {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.browser-icon {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="logo">S</div>
|
||||
<div class="icon">⚠️</div>
|
||||
<h1>지원하지 않는 브라우저입니다</h1>
|
||||
<p class="subtitle">Internet Explorer는 더 이상 지원되지 않습니다</p>
|
||||
|
||||
<p>
|
||||
안정적이고 안전한 서비스 이용을 위해<br>
|
||||
아래의 최신 브라우저를 설치하여 이용해 주세요.
|
||||
</p>
|
||||
|
||||
<div class="browsers">
|
||||
<a href="https://www.microsoft.com/edge/download" class="browser recommended" target="_blank">
|
||||
<div class="badge">권장</div>
|
||||
<div class="browser-icon">🌐</div>
|
||||
<div class="browser-name">Microsoft Edge</div>
|
||||
<div class="browser-desc">Windows 권장 브라우저</div>
|
||||
</a>
|
||||
|
||||
<a href="https://www.google.com/chrome" class="browser" target="_blank">
|
||||
<div class="browser-icon">🔵</div>
|
||||
<div class="browser-name">Google Chrome</div>
|
||||
<div class="browser-desc">가장 많이 사용되는 브라우저</div>
|
||||
</a>
|
||||
|
||||
<a href="https://support.apple.com/safari" class="browser" target="_blank">
|
||||
<div class="browser-icon">🧭</div>
|
||||
<div class="browser-name">Safari</div>
|
||||
<div class="browser-desc">macOS/iOS 기본 브라우저</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="warning">
|
||||
<div class="warning-title">
|
||||
<span>⚡</span>
|
||||
<span>Internet Explorer 지원 중단 안내</span>
|
||||
</div>
|
||||
<ul class="warning-list">
|
||||
<li>Microsoft는 2022년 6월 15일부로 Internet Explorer 지원을 공식 종료하였습니다</li>
|
||||
<li>보안 취약점이 더 이상 패치되지 않아 개인정보 유출 위험이 있습니다</li>
|
||||
<li>최신 웹 기술을 지원하지 않아 서비스를 정상적으로 이용할 수 없습니다</li>
|
||||
<li>성능 문제로 인해 느린 화면 로딩 및 오류가 발생할 수 있습니다</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<strong>지원 브라우저:</strong> Chrome (최신 버전), Safari (최신 버전), Edge (최신 버전)
|
||||
<br><br>
|
||||
문의사항이 있으시면 고객센터로 연락해 주세요.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user