-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix : 어드민 해커톤 신청 api response 트랜잭션 외부에서 동작해서 part 못불러오는 이슈 해결 (#134) * feat: 해커톤 신청 시 이메일 전송 (#138) --------- Co-authored-by: Donghun Shin <[email protected]>
- Loading branch information
1 parent
502b017
commit 6ddcc69
Showing
2 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
likelion-client/src/main/java/likelion/univ/hackathon/email/HackathonApplyEmailContent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package likelion.univ.hackathon.email; | ||
|
||
public final class HackathonApplyEmailContent { | ||
|
||
public static String VALUE = """ | ||
<!DOCTYPE html> | ||
<html lang="en"><head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body style="overscroll-behavior-x: auto;"> | ||
<table align="center" style="width: 596px; table-layout: fixed; max-width: 596px" cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr> | ||
<td style="width: 20px"></td> | ||
<td> | ||
<img src="img.png" width="300" height="100" alt="" style="max-width: 100%; height: auto; vertical-align: top"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="width: 20px"></td> | ||
<td style=" | ||
padding: 20px 0; | ||
border-radius: 7px; | ||
font-weight: 500; | ||
font-size: 20px; | ||
color: #ffffff; | ||
text-align: center; | ||
background-color: #ff7710; | ||
"> | ||
<a href="https://likelion.university/" style=" | ||
padding: 20px 62px; | ||
border-radius: 7px; | ||
text-decoration: none; | ||
color: #ffffff; | ||
"> | ||
홈페이지로 이동하기 | ||
</a> | ||
</td> | ||
<td style="width: 20px"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</body></html> | ||
"""; | ||
} |