|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | - <title>지원 결과 확인</title> |
| 6 | + <title>이메일 안내</title> |
| 7 | + <link rel=" stylesheet" as=" style" crossorigin href=" https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.css" /> |
7 | 8 | <style> |
8 | 9 | body { |
9 | | - font-family: Arial, sans-serif; |
10 | | - background-color: #1a1a1a; |
11 | | - color: #ffffff; |
| 10 | + background-color: #17171B; |
| 11 | + color: white; |
| 12 | + font-family: 'Pretendard', sans-serif; |
| 13 | + display: flex; |
| 14 | + justify-content: center; |
| 15 | + align-items: center; |
| 16 | + height: 100vh; |
12 | 17 | margin: 0; |
13 | | - padding: 0; |
14 | 18 | } |
15 | | - .container { |
16 | | - max-width: 600px; |
17 | | - margin: 0 auto; |
18 | | - padding: 20px; |
19 | | - background-color: #1a1a1a; |
20 | | - border-radius: 8px; |
21 | | - text-align: center; |
| 19 | + |
| 20 | + .email-container { |
| 21 | + width: 740px; |
| 22 | + height: 680px; |
| 23 | + background: #17171B; |
| 24 | + padding: 30px; |
| 25 | + position: relative; |
22 | 26 | } |
23 | | - .header { |
24 | | - font-size: 24px; |
25 | | - font-weight: bold; |
26 | | - color: #00B493; |
| 27 | + |
| 28 | + .logo { |
| 29 | + display: flex; |
| 30 | + justify-content: center; |
| 31 | + position: relative; |
27 | 32 | margin-bottom: 20px; |
28 | 33 | } |
29 | | - .sub-header { |
30 | | - font-size: 16px; |
31 | | - background-color: #00B493; |
32 | | - padding: 10px; |
33 | | - border-radius: 5px; |
34 | | - margin-bottom: 20px; |
| 34 | + |
| 35 | + .logo img { |
| 36 | + width: 21px; |
| 37 | + height: 24px; |
| 38 | + border-radius: 3px; |
35 | 39 | } |
36 | | - .content { |
37 | | - font-size: 14px; |
38 | | - line-height: 1.8; |
| 40 | + |
| 41 | + .divider { |
| 42 | + width: 100%; |
| 43 | + display: flex; |
| 44 | + justify-content: space-between; |
| 45 | + align-items: center; |
39 | 46 | } |
40 | | - .content p { |
41 | | - margin-bottom: 10px; |
| 47 | + |
| 48 | + .divider .line { |
| 49 | + flex: 1; |
| 50 | + border-top: 1px solid #00B493; |
| 51 | + margin: 0 10px; |
42 | 52 | } |
43 | | - .highlight { |
| 53 | + |
| 54 | + .title { |
| 55 | + font-size: 48px; |
| 56 | + font-weight: 900; |
44 | 57 | color: #00B493; |
| 58 | + margin-bottom: 30px; |
| 59 | + } |
| 60 | + |
| 61 | + .greeting { |
| 62 | + font-size: 20px; |
| 63 | + font-weight: 600; |
| 64 | + margin-bottom: 40px; |
| 65 | + } |
| 66 | + |
| 67 | + .content { |
| 68 | + font-size: 16px; |
| 69 | + font-weight: 400; |
| 70 | + line-height: 2.5; |
| 71 | + text-align: right; |
| 72 | + margin-bottom: 40px; |
45 | 73 | } |
| 74 | + |
| 75 | + .contact { |
| 76 | + font-size: 16px; |
| 77 | + font-weight: 400; |
| 78 | + line-height: 1.5; |
| 79 | + } |
| 80 | + |
| 81 | + .button-container { |
| 82 | + display: flex; |
| 83 | + justify-content: flex-end; |
| 84 | + margin-bottom: 40px; |
| 85 | + } |
| 86 | + |
46 | 87 | .button { |
47 | | - display: inline-block; |
48 | | - background-color: #00B493; |
49 | | - color: #ffffff; |
50 | | - padding: 12px 24px; |
| 88 | + background: #00B493; |
| 89 | + color: white; |
| 90 | + font-size: 16px; |
| 91 | + font-weight: 400; |
| 92 | + padding: 10px 20px; |
51 | 93 | border-radius: 5px; |
| 94 | + display: flex; |
| 95 | + align-items: center; |
52 | 96 | text-decoration: none; |
53 | | - font-size: 16px; |
54 | 97 | } |
| 98 | + |
55 | 99 | .button:hover { |
56 | | - background-color: #00B493; |
| 100 | + background: #00987A; |
| 101 | + } |
| 102 | + |
| 103 | + .button .arrow { |
| 104 | + border: solid white; |
| 105 | + border-width: 0 2px 2px 0; |
| 106 | + display: inline-block; |
| 107 | + padding: 5px; |
| 108 | + transform: rotate(-45deg); |
| 109 | + margin-left: 10px; |
57 | 110 | } |
58 | 111 | </style> |
59 | 112 | </head> |
60 | 113 | <body> |
61 | | -<div class="container"> |
62 | | - <!-- Header Section --> |
63 | | - <div class="header">DASOM</div> |
| 114 | +<div class="email-container"> |
| 115 | + <div class="logo"> |
| 116 | + <div class="divider"> |
| 117 | + <div class="line"></div> |
| 118 | + <img src="logo.png" alt="로고"> |
| 119 | + <div class="line"></div> |
| 120 | + </div> |
| 121 | + </div> |
64 | 122 |
|
65 | | - <!-- Sub-header Section --> |
66 | | - <div class="sub-header">컴퓨터소프트웨어공학과 전공동아리 다솜<br>34기 서류 합격자 조회</div> |
| 123 | + <div class="title">DASOM</div> |
| 124 | + <div class="greeting" th:text="${name} + '님 안녕하세요.'"></div> |
| 125 | + <div>컴퓨터공학부 전공동아리 다솜입니다.</div> |
67 | 126 |
|
68 | | - <!-- Content Section --> |
69 | | - <div class="content"> |
70 | | - <p>안녕하세요, <span class="highlight" th:text="${name}"></span>님.</p> |
71 | | - <p>학번 마지막 <span class="highlight">4자리</span> + 전화번호 마지막 <span class="highlight">4자리</span>를 입력하여<br>지원 결과를 확인할 수 있습니다.</p> |
72 | | - <p>예시) <span class="highlight">08470542</span></p> |
| 127 | + <div class="content" th:utext="${emailContent}"></div> |
| 128 | + |
| 129 | + <div class="button-container"> |
| 130 | + <a th:href="${buttonUrl}" class="button"> |
| 131 | + <span th:text="${buttonText}"></span> <span class="arrow"></span> |
| 132 | + </a> |
| 133 | + </div> |
73 | 134 |
|
74 | | - <!-- Button --> |
75 | | - <a href="https://example.com/result" class="button">결과 확인하기</a> |
| 135 | + <div class="contact"> |
| 136 | + 또한, 문의 사항은 본 메일에 회신 또는 아래 번호로 편하게 연락 부탁드립니다.<br> |
| 137 | + 010-6361-3481 |
76 | 138 | </div> |
77 | 139 | </div> |
78 | 140 | </body> |
|
0 commit comments