-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresume.jade
More file actions
197 lines (184 loc) · 6.79 KB
/
Copy pathresume.jade
File metadata and controls
197 lines (184 loc) · 6.79 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
extends templates/base.jade
block prepend head
-
var page = {
title: 'no-op / resume',
url: 'https://noop.pw/resume',
description: "Le CV de Prashant.",
}
+meta(page)
block append stylesheets
link(rel='stylesheet' href='https://fonts.googleapis.com/css?family=Karla:400,400i,700')
block prepend body
body.vita.locale_fr: main
input(type="checkbox").filteredinput#filter_checkbox
input(type="checkbox" checked).filteredinput#filter_professional
div.controls.top
div#controls
span Options
a.btn_42.main(href='/resume_en') 🇬🇧 English ➔
a.btn_42(href='#' onclick="window.print()") ⌘ Imprimer (PDF)
span Filtres
button.fbtn.uni(onclick="document.getElementById('filter_checkbox').checked = !document.getElementById('filter_checkbox').checked")
span Exp. Academic
button.fbtn.pro(onclick="document.getElementById('filter_professional').checked = !document.getElementById('filter_professional').checked")
span Professionelle
header
- var n = vita.personal.name.split(' ')
div
h1 #[span= n[0]] #{n[1]}
p #{vita.personal.title}
section.info
div
h1 Web
ul
li: +ilink('link', vita.info.homepage)
li: +email(vita.info.email)
li: +ilink('git', vita.info.github)
//- li: +ilink('twitter', vita.info.twitter)
li: +title_link('linkedin', 'LinkedIn', vita.info.linkedin)
div
h1 Info
ul
li: +ispan('location', vita.info.location)
ul: each slang in vita.info.spoken_languages
- var lang_info = slang.label + ' - ' + slang.level
li: +emospan(slang.icon, lang_info)
section.cover
h1 Aperçu
p !{vita.cover}
section.xp
ul#filtered
div.controls
h1 Expérience
- var prev_xp = null
- each xp in vita.experience
- pro = xp.professional ? 'pro' : 'academic'
li(class= pro)
aside
if !(prev_xp && prev_xp.company == xp.company)
h2.company= xp.company
p.position= xp.position
p.dates
+ispan('calendar', xp.dates.interval)
span.duration #{xp.dates.duration}
if !(prev_xp && prev_xp.location == xp.location)
p.location: +ispan('location', xp.location)
//- ul.tags: each tag in xp.tags || []
//- li= tag
div.description
!{xp.description}
if xp.links
div.extra_links
ul: each link in xp.links
li: +title_link('link-ext-alt', link.title, link.url)
if xp.link_dead
p.website: s.broken_link: +ilink('unlink', xp.link_dead)
if xp.website
p.website: +ilink('link-ext', xp.website)
- prev_xp = xp
//- section.talks
//- div.controls
//- h1 Conférences et ateliers
//- ul: each talk in vita.talks_and_workshops
//- li
//- aside
//- h2.conference= talk.conference
//- p.location: +ispan('location', talk.location)
//- p.dates
//- +ispan('calendar', talk.dates.interval)
//- p.position= talk.type
//- //- ul.tags: each tag in talk.tags || []
//- //- li= tag
//- div.description
//- !{talk.description}
//- if talk.website
//- p.website: +ilink('link', talk.website)
section.publications
div.controls
h1 Publications
span: +title_link('google', 'Google Scholar', vita_en.info.google_scholar)
ul: each pub in vita.publications
li
div
h3= pub.title
if pub.authors
p= pub.authors
if pub.journal
p.subtitle #{pub.journal}, #{pub.year}
aside.right
if pub.doi
span.no-print(class="__dimensions_badge_embed__" data-doi=pub.doi data-style="small_rectangle")
if pub.pdf_closed
p: +title_link('newspaper', 'PDF (Draft)', pub.pdf_closed)
if pub.pdf
p: +title_link('newspaper', 'PDF', pub.pdf)
if pub.doi
p.doi: +ispan('hashtag', pub.doi)
script(async src="https://badge.dimensions.ai/static/ai/badge.js" charset="utf-8")
section.open_source
div.controls
h1 Open Source
div
- github_url = 'https://github.com/prashnts'
//- span.no-print: a(href=github_url): img(alt="prashnts github stars" src="https://img.shields.io/github/stars/prashnts")
//- span: a(href=github_url): img(alt="prashnts github followers" src="https://img.shields.io/github/followers/prashnts")
ul: each package in vita_en.open_source
li
div.description
!{package.description}
div.inline_info
- pkg_url = 'https://github.com/' + package.repo
p: +ilink('git', pkg_url)
aside.right
span.no-print: a(href=pkg_url): img(alt="GitHub Repo stars" src="https://img.shields.io/github/stars/" + package.repo)
if package.links
each link in package.links
div: +title_link('link', link.title, link.link)
section.edu
div.controls
h1 Éducation
ul: each edu in vita.education
li
aside
h2.institute= edu.institute
p.position= edu.position
p.dates: +ispan('calendar', edu.dates.interval)
p.location: +ispan('location', edu.location)
div.description
h3.degree= edu.degree
dl
if edu.major
div
dt Spécialisation
dd= edu.major
if edu.minor
div
dt Secondaires
dd= edu.minor
if edu.percentage
div
dt Percentage
dd #{edu.percentage}%
if edu.grade
div
dt Grade
dd= edu.grade
section.skills
div.controls
h1 Skills
- var skill_map = ['Notions', 'Intermédiaire', 'Maîtrise', 'Avancé', 'Expert']
ul: each skset, kind in vita.skills
li
h2= kind
ul: each sk in skset
li.skill
span.skill= sk[0]
div.labels
span= skill_map[sk[1] - 1]
//- #[i.dots= '●'.repeat(sk[1])]
footer
ul
li Robot ? Jetez un œil au #[a(href='https://github.com/prashnts/prashnts.github.io/blob/develop/riptide/vita-fr.yaml'): code source YAML] de ce document.
li Généré #[code #{_now.format('D MMM Y')}]
code.kthx :wq