-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (192 loc) · 6.23 KB
/
Copy pathindex.html
File metadata and controls
205 lines (192 loc) · 6.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html class="has-navbar-fixed-top">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello AUSG!</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script>
</head>
<body>
<nav class="navbar is-black is-fixed-top" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="#main">
<img src="./static/images/AUSG_Branding-07.png" alt="AUSG: AWSKRUG University Student Group!">
AUSG
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<!-- navbar items -->
<a class="navbar-item" href="#main">
Home
</a>
<a class="navbar-item" href="#about">
About
</a>
<a class="navbar-item" href="#contact">
Contact
</a>
</div>
<div class="navbar-end">
<!-- navbar items -->
<a class="navbar-item has-text-warning" href="http://www.awskr.org/">
<span class="icon">
<i class="fas fa-home"></i>
</span>
</a>
<a class="navbar-item has-text-white" href="https://github.com/AUSG">
<span class="icon">
<i class="fab fa-github"></i>
</span>
</a>
</div>
</div>
</nav>
<section class="hero is-fullheight is-warning" id="main">
<div class="hero-body">
<div class="container">
<h1 class="title">
Hello AUSG!
</h1>
<h2 class="subtitle">
My first website with <strong>Bulma</strong>!
</h2>
</div>
</div>
</section>
<section class="hero is-fullheight is-dark" id="about">
<div class="hero-body">
<div class="container">
<h1 class="title">
About
</h1>
<h2 class="subtitle">
안녕하세요. 저는 이번 발표를 맡은 고윤호라고 합니다.<br />
AUSG 세미나에 오신걸 환영합니다. 부디 오신 기대만큼 가져가시는 시간 되시기 바랍니다.
</h2>
</div>
</div>
</section>
<section class="section" id="contact">
<div class="container">
<div class="field is-horizontal">
<div class="field-label is-normal">
<label class="label">From</label>
</div>
<div class="field-body">
<div class="field">
<p class="control is-expanded has-icons-left">
<input class="input is-danger" type="text" placeholder="Name" id="name">
<span class="icon is-small is-left">
<i class="fas fa-user"></i>
</span>
</p>
<p class="help is-danger">
This field is required
</p>
</div>
<div class="field">
<p class="control is-expanded has-icons-left has-icons-right">
<input class="input" type="email" placeholder="Email" id="email">
<span class="icon is-small is-left">
<i class="fas fa-envelope"></i>
</span>
</p>
</div>
</div>
</div>
<div class="field is-horizontal">
<div class="field-label"></div>
<div class="field-body">
<div class="field is-expanded">
<div class="field has-addons">
<p class="control">
<a class="button is-static">
+82
</a>
</p>
<p class="control is-expanded">
<input class="input" type="tel" placeholder="Your phone number" id="tel">
</p>
</div>
<p class="help">Do not enter the first zero</p>
</div>
</div>
</div>
<div class="field is-horizontal">
<div class="field-label is-normal">
<label class="label">Subject</label>
</div>
<div class="field-body">
<div class="field">
<div class="control">
<input class="input is-danger" type="text" placeholder="e.g. Partnership opportunity" id="subject">
</div>
<p class="help is-danger">
This field is required
</p>
</div>
</div>
</div>
<div class="field is-horizontal">
<div class="field-label is-normal">
<label class="label">Question</label>
</div>
<div class="field-body">
<div class="field">
<div class="control">
<textarea class="textarea" placeholder="Explain how we can help you" id="question"></textarea>
</div>
</div>
</div>
</div>
<div class="field is-horizontal">
<div class="field-label">
<!-- Left empty for spacing -->
</div>
<div class="field-body">
<div class="field">
<div class="control">
<button class="button is-primary" type="submit" onclick="onContact()">
Send message
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="content has-text-centered">
<p>
AUSG is Awesome Ultra Special Group.
</p>
</div>
</footer>
<script>
async function onContact() {
const data = JSON.stringify({
name: document.getElementById('name').value,
email: document.getElementById('email').value,
tel: document.getElementById('tel').value,
subject: document.getElementById('subject').value,
question: document.getElementById('question').value,
})
fetch('./api/contact', {
method: 'POST',
headers: {
'content-type': 'application/json'
},
body: data,
}).then(response => alert('메시지 감사해요! 😄'))
.catch(error => alert('전송 실패했어요 😂'))
}
</script>
</body>
</html>