Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Develop

See merge request mishamyrt/myrt.co!6
  • Loading branch information
mishamyrt committed Sep 13, 2019
2 parents cb69735 + 7317a9c commit 1439083
Show file tree
Hide file tree
Showing 11 changed files with 140 additions and 22 deletions.
1 change: 0 additions & 1 deletion .gitlab/ci/build.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ generate static files:
stage: build
variables:
PARCEL_WORKERS: 1
NODE_ENV: production
script:
- npm ci
- npm run build
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"start": "npm run serve",
"build": "node build.js",
"build": "export NODE_ENV=production && node build.js",
"serve": "npx parcel serve src/index.pug",
"size-check": "npx size-limit",
"spell-check": "npx yaspeller dist/**/*.html",
Expand Down Expand Up @@ -124,8 +124,12 @@
},
{
"name": "Full",
"path": "dist/*.*",
"limit": "280 KB"
"path": [
"dist/*.webp",
"dist/*.png",
"dist/*.woff2"
],
"limit": "120 KB"
}
]
}
44 changes: 44 additions & 0 deletions src/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,47 @@ a.hero-icon:hover {
background-color: transparent;
transition: opacity 0s;
}

@media screen and (max-width: 900px) {
.hero-heading {
font-size: calc(7vw + 14px);
line-height: calc(7.4vw + 14px);
margin: 0 0 calc(0.5vw + 14px);
}

.hero-content {
max-width: unset;
}

.hero-header {
flex-direction: column-reverse;
}

.hero-avatar {
max-width: 150px;
max-height: 150px;
margin: -4px 0 8px;
}
}

@media screen and (max-width: 521px) {
.hero-heading {
font-size: 55px;
margin: 1px 0 6px;
line-height: 60px;
}
}

@media screen and (max-width: 460px) {
.hero-heading {
font-size: 35px;
margin: 1px 0 10px;
line-height: 41px;
}

.hero-avatar {
max-width: 100px;
max-height: 100px;
margin: -4px 0 13px;
}
}
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ body {
-webkit-font-smoothing: antialiased;
min-height: calc(100vh - 74px);
margin: 0;
padding: 0 20px;
display: flex;
align-items: center;
}
Expand Down
Binary file modified src/photo/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/photo/avatar.webp
Binary file not shown.
Binary file added src/photo/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/photo/[email protected]
Binary file not shown.
77 changes: 76 additions & 1 deletion src/resume/resume.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.resume-position {
font-size: 19px;
line-height: 11px;
margin: 20px 0 39px;
margin: 20px 0 60px;
}

.resume-links {
Expand Down Expand Up @@ -69,6 +69,16 @@ a.resume-link:hover {

.resume-date {
text-align: center;
position: relative;
}

.resume-date span {
display: block;
}

.resume-date span:first-child::after {
content: '|';
display: block;
}

.resume-jobs {
Expand Down Expand Up @@ -99,3 +109,68 @@ a.resume-link:hover {
color: var(--color-text);
margin: 17px 0 0;
}

@media screen and (max-width: 750px) {
.resume-header {
display: flex;
flex-direction: column;
}

.resume-heading {
font-size: 35px;
margin: 25px 0 10px;
line-height: 41px;
}

.resume-contacts {
text-align: left;
margin: 29px 0 0;
}

.resume-avatar {
align-self: center;
max-width: 100px;
max-height: 100px;
}

.resume {
margin: 15px auto 37px;
}

.resume-job {
display: flex;
flex-direction: column;
position: relative;
}

.resume-jobs {
margin-top: 10px;
}

.resume-date {
position: absolute;
top: 30px;
}

.resume-links {
top: 0;
position: absolute;
right: 0;
}

.resume-date span {
display: inline;
}

.resume-date span:first-child::after {
content: ' — ';
display: inline;
}

.resume-stack {
text-align: left;
margin-top: 7px;
margin-left: -4px;
margin-bottom: 13px;
}
}
4 changes: 2 additions & 2 deletions src/ru/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
.hero-header
h1.hero-heading Давайте делать крутые штуки
picture.hero-avatar
source( srcset="/photo/avatar.webp" type="image/webp" )
img.hero-avatar( src="/photo/avatar.jpg" alt="Фотография Миши Хрустика" itemprop="image")
source( srcset="/photo/avatar@2x.webp 2x, /photo/avatar.webp" type="image/webp" )
img.hero-avatar( src="/photo/avatar.jpg", srcset="/photo/[email protected] 2x, /photo/avatar.jpg" alt="Фотография Миши Хрустика" itemprop="image")
.hero-content
p
| Привет, меня зовут
Expand Down
25 changes: 10 additions & 15 deletions src/ru/resume.pug
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
.resume-jobs
.resume-job
p.resume-date
| Фев 2019 <br>
| | <br>
| Наши дни
span Фев 2019
span Наши дни
.resume-content
h3.resume-position Фронтлид в Тектософт
p
Expand Down Expand Up @@ -64,9 +63,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
span.resume-technology Autohotkey
.resume-job
p.resume-date
| Июл 2018 <br>
| | <br>
| Фев 2019
span Июл 2018
span Фев 2019
.resume-content
h3.resume-position Фронтендер в БелВГ
p
Expand Down Expand Up @@ -97,9 +95,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
span.resume-technology Knockout.JS
.resume-job
p.resume-date
| Май 2017 <br>
| | <br>
| Мар 2018
span Май 2017
span Мар 2018
.resume-content
h3.resume-position Тимлид и дизайнер в Цифре
p
Expand Down Expand Up @@ -127,9 +124,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
span.resume-technology Gulp
.resume-job
p.resume-date
| Сен 2016 <br>
| | <br>
| Май 2017
span Сен 2016
span Май 2017
.resume-content
h3.resume-position Разработчик, дизайнер и техлид в CMT
p
Expand All @@ -154,9 +150,8 @@ html( lang="ru" itemtype="https://schema.org/Person" itemscope )
span.resume-technology Gulp
.resume-job
p.resume-date
| Июн 2016 <br>
| | <br>
| Авг 2016
span Июн 2016
span Авг 2016
.resume-content
h3.resume-position Фуллстек в ЭФО
p
Expand Down

0 comments on commit 1439083

Please sign in to comment.