|
| 1 | +{{- define "main" }} |
| 2 | +<div class="not-found-wrap"> |
| 3 | + <div class="not-found-code">404</div> |
| 4 | + <h1 class="not-found-title">페이지를 찾을 수 없습니다</h1> |
| 5 | + <p class="not-found-desc"> |
| 6 | + 요청하신 페이지가 삭제되었거나, 주소가 변경되었을 수 있습니다.<br> |
| 7 | + 아래 버튼으로 원하는 페이지로 이동해 주세요. |
| 8 | + </p> |
| 9 | + <div class="not-found-btns"> |
| 10 | + <a href="/" class="not-found-btn not-found-btn--home">홈으로 돌아가기</a> |
| 11 | + <a href="https://mdeeno.com/member?utm_source=blog&utm_medium=404&utm_campaign=recovery&utm_content=404_page" |
| 12 | + target="_blank" rel="noopener noreferrer" |
| 13 | + onclick="typeof gtag !== 'undefined' && gtag('event', '404_cta_click', {event_category: 'CTA', event_label: '404_page'})" |
| 14 | + class="not-found-btn not-found-btn--calc">내 분담금 추정하기 →</a> |
| 15 | + </div> |
| 16 | + <div class="not-found-links"> |
| 17 | + <a href="/archives/">전체 글 보기</a> |
| 18 | + <span class="not-found-sep">·</span> |
| 19 | + <a href="/calculators/">무료 계산기</a> |
| 20 | + <span class="not-found-sep">·</span> |
| 21 | + <a href="/posts/reconstruction/">재건축 분석</a> |
| 22 | + </div> |
| 23 | +</div> |
| 24 | + |
| 25 | +<style> |
| 26 | +.not-found-wrap { |
| 27 | + display: flex; |
| 28 | + flex-direction: column; |
| 29 | + align-items: center; |
| 30 | + justify-content: center; |
| 31 | + min-height: 60vh; |
| 32 | + padding: 3rem 1.5rem; |
| 33 | + text-align: center; |
| 34 | +} |
| 35 | +.not-found-code { |
| 36 | + font-size: clamp(80px, 15vw, 140px); |
| 37 | + font-weight: 900; |
| 38 | + color: #1e40af; |
| 39 | + line-height: 1; |
| 40 | + margin-bottom: 0.5rem; |
| 41 | + opacity: 0.15; |
| 42 | +} |
| 43 | +.not-found-title { |
| 44 | + font-size: clamp(1.25rem, 3vw, 1.75rem); |
| 45 | + font-weight: 800; |
| 46 | + color: #111827; |
| 47 | + margin: 0 0 0.75rem; |
| 48 | + word-break: keep-all; |
| 49 | +} |
| 50 | +.not-found-desc { |
| 51 | + font-size: 1rem; |
| 52 | + color: #374151; |
| 53 | + line-height: 1.7; |
| 54 | + margin: 0 0 2rem; |
| 55 | + max-width: 480px; |
| 56 | + word-break: keep-all; |
| 57 | +} |
| 58 | +.not-found-btns { |
| 59 | + display: flex; |
| 60 | + gap: 12px; |
| 61 | + flex-wrap: wrap; |
| 62 | + justify-content: center; |
| 63 | + margin-bottom: 2rem; |
| 64 | +} |
| 65 | +.not-found-btn { |
| 66 | + display: inline-flex; |
| 67 | + align-items: center; |
| 68 | + justify-content: center; |
| 69 | + padding: 14px 28px; |
| 70 | + min-height: 48px; |
| 71 | + font-size: 1rem; |
| 72 | + font-weight: 700; |
| 73 | + border-radius: 8px; |
| 74 | + text-decoration: none; |
| 75 | + transition: all 0.2s; |
| 76 | + box-sizing: border-box; |
| 77 | +} |
| 78 | +.not-found-btn--home { |
| 79 | + background: #f1f5f9; |
| 80 | + color: #1e293b; |
| 81 | + border: 1px solid #e2e8f0; |
| 82 | +} |
| 83 | +.not-found-btn--home:hover { |
| 84 | + background: #e2e8f0; |
| 85 | + border-color: #cbd5e1; |
| 86 | +} |
| 87 | +.not-found-btn--calc { |
| 88 | + background: #1e40af; |
| 89 | + color: #fff; |
| 90 | + border: 1px solid #1e40af; |
| 91 | +} |
| 92 | +.not-found-btn--calc:hover { |
| 93 | + background: #1e3a8a; |
| 94 | + border-color: #1e3a8a; |
| 95 | +} |
| 96 | +.not-found-links { |
| 97 | + font-size: 0.9rem; |
| 98 | + color: #4b5563; |
| 99 | +} |
| 100 | +.not-found-links a { |
| 101 | + color: #1e40af; |
| 102 | + text-decoration: none; |
| 103 | + font-weight: 600; |
| 104 | +} |
| 105 | +.not-found-links a:hover { |
| 106 | + text-decoration: underline; |
| 107 | +} |
| 108 | +.not-found-sep { |
| 109 | + margin: 0 8px; |
| 110 | + color: #d1d5db; |
| 111 | +} |
| 112 | +@media (max-width: 480px) { |
| 113 | + .not-found-btns { |
| 114 | + flex-direction: column; |
| 115 | + width: 100%; |
| 116 | + } |
| 117 | + .not-found-btn { |
| 118 | + width: 100%; |
| 119 | + text-align: center; |
| 120 | + } |
| 121 | + .not-found-wrap { |
| 122 | + padding: 2rem 1rem; |
| 123 | + } |
| 124 | +} |
| 125 | +</style> |
| 126 | +{{- end }} |
0 commit comments