diff --git a/electroshot-config.json b/electroshot-config.json index cece6c8..d167bac 100755 --- a/electroshot-config.json +++ b/electroshot-config.json @@ -1 +1 @@ -[{"url":"http://localhost:8080/#/resume/oblique","delay":0,"selector":"","zoom-factor":1,"format":"pdf","quality":75,"user-agent":"","latency":null,"download":null,"upload":null,"css":"","js":"","debug":false,"root":"","pdf":{"pageSize":"A4","marginsType":1,"printBackground":true,"landscape":false},"size":{"width":2481,"height":3508},"out":"/home/s/workspace/best-resume-ever/pdf/oblique.pdf"}] \ No newline at end of file +[{"url":"http://localhost:8080/#/resume/side-bar","delay":0,"selector":"","zoom-factor":1,"format":"pdf","quality":75,"user-agent":"","latency":null,"download":null,"upload":null,"css":"","js":"","debug":false,"root":"","pdf":{"pageSize":"A4","marginsType":1,"printBackground":true,"landscape":false},"size":{"width":2481,"height":3508},"out":"/home/s/workspace/best-resume-ever/pdf/side-bar.pdf"}] \ No newline at end of file diff --git a/package.json b/package.json index 623b79e..9fd6378 100755 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "material-icons": "^0.1.0", "npm-font-open-sans": "^1.0.3", "npm-font-open-sans-condensed": "^1.0.3", + "raleway-webfont": "^3.0.1", "roboto-fontface": "^0.7.0", "source-sans-pro": "^2.0.10", "text-fitter": "0.0.8", diff --git a/pdf/left-right.pdf b/pdf/left-right.pdf index a414b1a..4348cb8 100644 Binary files a/pdf/left-right.pdf and b/pdf/left-right.pdf differ diff --git a/pdf/material-blue.pdf b/pdf/material-blue.pdf index e5b64e5..675d0d7 100644 Binary files a/pdf/material-blue.pdf and b/pdf/material-blue.pdf differ diff --git a/pdf/material-dark.pdf b/pdf/material-dark.pdf index 47e5481..245b81c 100755 Binary files a/pdf/material-dark.pdf and b/pdf/material-dark.pdf differ diff --git a/pdf/oblique.pdf b/pdf/oblique.pdf index c597138..4585d93 100644 Binary files a/pdf/oblique.pdf and b/pdf/oblique.pdf differ diff --git a/pdf/side-bar.pdf b/pdf/side-bar.pdf new file mode 100644 index 0000000..54fa96f Binary files /dev/null and b/pdf/side-bar.pdf differ diff --git a/src/App.vue b/src/App.vue index 2961671..4f9d5da 100755 --- a/src/App.vue +++ b/src/App.vue @@ -17,9 +17,11 @@ export default { @import '../node_modules/source-sans-pro/source-sans-pro.css'; @import '../node_modules/npm-font-open-sans/open-sans.css'; @import '../node_modules/npm-font-open-sans-condensed/open-sans-condensed.css'; +@import '../node_modules/raleway-webfont/raleway.css'; body { padding: 0; margin: 0; overflow-x: hidden; + background: #CCCCCC; } diff --git a/src/assets/preview/resume-side-bar.png b/src/assets/preview/resume-side-bar.png index 369892f..feb8f3d 100755 Binary files a/src/assets/preview/resume-side-bar.png and b/src/assets/preview/resume-side-bar.png differ diff --git a/src/components/resume-side-bar.vue b/src/components/resume-side-bar.vue new file mode 100644 index 0000000..666f39c --- /dev/null +++ b/src/components/resume-side-bar.vue @@ -0,0 +1,246 @@ + + + + + + diff --git a/src/pages/home.vue b/src/pages/home.vue index 8e6c3d0..044c65b 100755 --- a/src/pages/home.vue +++ b/src/pages/home.vue @@ -5,26 +5,42 @@
- - material-dark +
+ + material-dark +
+
material-blue +
+
left-right +
+
oblique +
+
+
+
+ +
+ + side-bar +
@@ -47,6 +63,11 @@ export default Vue.component('resume', { font-weight: normal; text-align: center; width: 100%; + color: #ee6e73; + font-weight: 300; + font-size: 3.56rem; + line-height: 110%; + margin: 1.78rem 0 1.424rem 0; } .previews{ @@ -56,19 +77,36 @@ export default Vue.component('resume', { } .preview{ - width: 30%; - float: left; - margin-left: 1.5%; - margin-right: 1.5%; + width: 180px; + float: left; + margin-left: 1.5%; + margin-right: 1.5%; + margin-bottom: 1.5%; + box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2); + height: 252px; + overflow: hidden; +} +.preview-wrapper { + position: relative; + background: white; } .preview img{ width: 100%; + opacity: 0.5; + filter: blur(1px); } .preview span{ - width: 100%; - display: inline-block; - text-align: center; + position: absolute; + max-width: 100%; + font-size: 24px; + font-weight: 300; + color: rgba(0, 0, 0, 0.75); + width: 100%; + text-align: center; + display: inline-block; + top: 50%; + transform: translateY(-50%); } diff --git a/src/pages/resume.vue b/src/pages/resume.vue index e3a803c..1f5b505 100755 --- a/src/pages/resume.vue +++ b/src/pages/resume.vue @@ -6,6 +6,7 @@ + @@ -19,6 +20,7 @@ import '../components/resume-material-dark.vue'; import '../components/resume-material-blue.vue'; import '../components/resume-left-right.vue'; import '../components/resume-oblique.vue'; +import '../components/resume-side-bar.vue'; export default Vue.component('resume', { name: 'app', mounted: () => {