-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (150 loc) · 5.16 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
---
layout: default
lang: en
korean_url: ko
---
<!-- temporally no index while development -->
<link rel="stylesheet" href="/assets/css/index.css">
<script src="/lib/pathseg/pathseg.js"></script>
<script src="/lib/poly-decomp/decomp.min.js"></script>
<script src="/lib/matter-js/matter.js"></script>
<!-- fps optimaztion added. check https://original.donga.com/inside/article/all/82/3589729/1 -->
<script src="/assets/scripts/mainGraphic.js"></script>
<script>
function onClickTagButton(element) {
let tags = document.getElementsByClassName("tag");
if (element.classList.contains("highlighted")) {
for (t of tags) {
t.classList.remove('highlighted')
}
} else {
for (t of tags) {
if (element.innerHTML == t.innerHTML) {
t.classList.add('highlighted')
} else {
t.classList.remove('highlighted')
}
}
}
}
</script>
{% assign data = site.data.about %}
<canvas id="canvas"></canvas>
<div class="block">
<h2>{{ data.name }}</h2>
<h5>{{ data.job_title }}</h5>
<p class="indented" style="margin-top:30px;">
{{ data.description }}
</div>
<div class="block">
<h4>Experience</h4>
<ul class="indented">
{% for experience in data.experiences %}
<li>
{{ experience.title }}<br/>
<small class="affiliation indented">
{% if experience.link and experience.link != "" %}
<a href="{{ experience.link }}" target="_blank">{{ experience.place }}</a>
{% else %}
{{ experience.place }}
{% endif %}
{{ experience.period }}</small>
</li>
{% endfor %}
</ul>
</div>
<div class="block">
<h4>Education</h4>
<ul class="indented">
{% for education in data.educations %}
<li>
{{ education.title }}<br/>
<small class="affiliation indented">{{ education.institution }} {{ education.period }}</small>
</li>
{% endfor %}
</ul>
</div>
<div class="block">
<h4>Publication</h4>
<ul class="indented">
{% for publication in data.publications %}
<li>
{{ publication.title }}<br/>
<small class="affiliation indented">
<a href="{{ publication.link }}" target="_blank">{{ publication.description }}</a>
</small>
</li>
{% endfor %}
</ul>
</div>
{% for section in data.projects %}
<div class="block">
<h2>{{ section.year }}</h2>
{% if section.works %}
<h4>work</h4>
{% endif %}
<ul class="indented">
{% for work in section.works %}
<div class="buttons-container">
{% for tag in work.tags %}
<button class="tag" onclick="onClickTagButton(this);">{{ tag }}</button>
{% endfor %}
</div>
<li class="description indented">{{ work.description }}</li>
{% assign more = work.more %}
{% for m in more %}
{% if m.text and m.text != "" %}
<span class="more indented">* {{ m.text }}</span>
{% endif %}
{% if m.link and m.link != "" %}
<li>
<small class="affiliation indented">
<a href="{{m.link}}" target="_blank">{{ m.link_text }} ↗</a>
</small>
</li>
{% endif %}
{% if m.images and m.images.size > 0 %}
<li class="indented">
{% for image in m.images %}
<a href="https://d15bnaqqea8wir.cloudfront.net/images/{{image.path}}"><img class="thumbnail {{m.image_orientation}}" alt="{{image.alt}}" src="https://d15bnaqqea8wir.cloudfront.net/images/{{image.path}}" /></a>
{% endfor %}
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
{% if section.side_projects %}
<h4>side project</h4>
{% endif %}
<ul class="indented">
{% for side_project in section.side_projects %}
<div class="buttons-container">
{% for tag in side_project.tags %}
<button class="tag" onclick="onClickTagButton(this);">{{ tag }}</button>
{% endfor %}
</div>
<li class="description indented">{{ side_project.description }}</li>
{% assign more = side_project.more %}
{% for m in more %}
{% if m.text and m.text != "" %}
<span class="more indented">* {{ m.text }}</span>
{% endif %}
{% if m.link and m.link != "" %}
<li>
<small class="affiliation indented">
<a href="{{m.link}}" target="_blank">{{ m.link_text }} ↗</a>
</small>
</li>
{% endif %}
{% if m.images and m.images.size > 0 %}
<li class="indented">
{% for image in m.images %}
<a href="https://d15bnaqqea8wir.cloudfront.net/images/{{image.path}}"><img class="thumbnail {{m.image_orientation}}" alt="{{image.alt}}" src="https://d15bnaqqea8wir.cloudfront.net/images/{{image.path}}" /></a>
{% endfor %}
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>
{% endfor %}