-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
273 lines (266 loc) · 10.5 KB
/
index.html
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="th">
<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>Home | Projects.in.th</title>
<link rel="icon" href="img/logo_16x16.png" />
<!-- BULMA -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.4/css/bulma.css" />
<link rel="stylesheet" href="main.css" />
<!-- Flickity -->
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Bai+Jamjuree" rel="stylesheet">
<style>
body {
font-family: 'Bai Jamjuree', sans-serif;
}
</style>
</head>
<body class="light">
<!-- NAV BAR -->
<nav class="navbar midnight" style="position: sticky; top: 0;">
<div class="navbar-brand">
<!-- logo -->
<a href="index.html"><img class="navbar-item" src="img/logo_banner_light.png" style="max-height: 64px;"></a>
<!-- hamburger icon -->
<a class="navbar-burger burger" data-target="navbarMenu">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="container">
<!-- navbar menu -->
<div id="navbarMenu" class="navbar-menu midnight">
<!-- left -->
<div class="navbar-start">
<a id="nav-active" class="navbar-item" href="index.html">Home</a>
<a class="navbar-item" href="blog/index.html">Blog</a>
<a class="navbar-item" href="event/index.html">Event</a>
</div>
<!-- right -->
<div class="navbar-end">
<div class="navbar-item">
<div class="buttons">
<a class="button is-light is-outlined" style="border: 0;" href="./register/index.html">Sign up</a>
<a class="button primary-outlined" href="./login/index.html"><strong>Sign in</strong></a>
</div>
</div>
</div>
</div>
</div>
</nav>
<!-- NAV BAR END -->
<!-- SLIDESHOW -->
<div class="main-carousel">
<div class="carousel-cell"><img src="img/Banner About Us.png"></div>
<div class="carousel-cell"><img src="img/banner_1.png"></div>
<div class="carousel-cell"><img src="img/Banner_2.png"></div>
<div class="carousel-cell"><img src="img/banner_3.png"></div>
</div>
<!-- SLIDESHOW END -->
<div class="columns" style="padding: 10px;">
<div class="column is-one-fifth">
<!-- SIDEBAR -->
<aside class="menu midnight" style="padding: 10px;">
<p class="menu-label">Categories</p>
<ul class="menu-list">
<li><a class="primary">All</a></li>
<li>
<p class="menu-label">Subject</p>
<ul class="menu-list">
<li><a>Math</a></li>
<li><a>Science</a></li>
<li><a>Engineer</a></li>
<li><a>STEM</a></li>
<li><a>Language</a></li>
<li><a>Social</a></li>
<li><a>Art</a></li>
</ul>
</li>
</ul>
</aside>
<!-- SIDEBAR END -->
</div>
<!-- CONTENT -->
<div class="column">
<!-- COLUMS -->
<div class="columns">
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/pdf/banner.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<a href="project.html">
<p class="title is-4">โปรเจกต์กังหันลม</p>
</a>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
การวิจัยเรื่อง การสร้างความเข้มแข็งของชุมชนในการจัดการมลพิษทางอากาศบนฐานเศรษฐกิจพอเพียง
พื้นที่อำเภอเมือง จังหวัดแม่ฮ่องสอน มีวัตถุประสงค์หลัก เพื่อศึกษารูปแบบในการจดัการมลพิษทางอากาศบน
ฐานเศรษฐกิจพอเพียงการวจิยัคร้ังน้ีเป็นการวจิยัเชิงปฏิบตัิการแบบมีส่วนร่วม
</div>
</div>
</div>
</div>
<!-- CARD END -->
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_03.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">งานวิจัยรีไซเคิล</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_06.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">รายงานมลพิษน้ำ</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_07.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">วิจัยเรื่องเทคโนโลยีและวิถีชีวิตมนุษย์</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
</div>
<div class="columns">
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_08.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">วิจัยกาแฟลดน้ำหนัก</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_02.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">แนวคิดการทอผ้าแบบใหม่</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
<!-- CARD -->
<div class="column is-one-quarter">
<div class="card">
<div class="card-image">
<figure class="image"><img src="img/project/banner_05.png"></figure>
</div>
<div class="card-content">
<div class="media">
<div class="media-content">
<p class="title is-4">ประดิษฐ์หุ่นยนต์กระดาษ</p>
<p class="subtitle is-6"><time datetime="2016-1-1">11:09 PM - 1 Jan 2016</time> @johnsmith</p>
</div>
</div>
<div class="content">
</div>
</div>
</div>
</div>
<!-- CARD END -->
</div>
<!-- COLUMS END-->
</div>
<!-- CONTENT END -->
</div>
<script>
var flickity = new Flickity('.main-carousel', {
// options
cellAlign: 'left',
contain: true,
autoPlay: true,
wrapAround: true
});
document.addEventListener('DOMContentLoaded', () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
// Check if there are any navbar burgers
if ($navbarBurgers.length > 0) {
// Add a click event on each of them
$navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
</body>
</html>