Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure Work Section #34

Merged
merged 5 commits into from
Aug 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ module.exports = function(eleventyConfig) {
});
});

// This is here to
eleventyConfig.addCollection("jobs", function(collection) {
return collection.getAllSorted().filter(function(item) {
return item.inputPath.match(/^\.\/jobs\//) !== null;
})
});

// Date formatting stuff
eleventyConfig.addFilter("readableDate", dateObj => {
return DateTime.fromJSDate(dateObj).toFormat("yyyy.MM.dd");
Expand Down
8 changes: 8 additions & 0 deletions _includes/assets/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ button.button-primary {
button.button-primary:hover {
box-shadow: inset 0 0 0 #000; }

button.download {
color: #FFF;
background-color: #000;
border-color: #000; }
button.download:hover {
box-shadow: .5em .5em rgba(238, 238, 51, 0.6);
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
Expand Down
32 changes: 32 additions & 0 deletions _includes/work.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
layout: base.njk
section: work
permalink: /work/index.html
---

{{ content | safe }}

{% set joblist = collections.job %}
{% set schoollist = collections.school %}

<h2>Experience</h2>
{% for job in joblist | reverse %}
<div>
⦿ <b>{{ job.data.company }}</b> | <em>{{ job.data.role }}</em> | {{ job.data.time }}
</div>
{% endfor %}

<hr>

<h2>Academics</h2>
{% for school in schoollist | reverse %}
<div>
⦿ <b>{{ school.data.title }}</b> | <em>{{ school.data.degree }}</em> | {{ school.data.awarded }}
</div>
{% endfor %}

<hr>

<div style="text-align:center;">
<button class=download onclick="window.location.href='../docs/Erb_Resume_2018.pdf'">Download as PDF</button>
</div>
2 changes: 1 addition & 1 deletion _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<!-- Style -->


<style>/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:10px 20px;box-sizing:border-box}@media (min-width:400px){.container{width:85%;padding:0}}@media (min-width:550px){.container{width:80%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;font-family:Courier New,monospace,Helvetica,Arial,sans-serif;background-color:#fff;color:#222}.highlight{background-color:#ee3}nav{text-align:center;margin-bottom:1.5em;justify-content:space-around;position:-webkit-sticky;position:sticky;top:0;z-index:999;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.2)}footer{font-size:.75em;text-align:center}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300;font-family:Palatino,Helvetica,sans-serif}h1{font-size:5rem;line-height:1.2;letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}@media (min-width:550px){h1{font-size:5rem}h2{font-size:3.6rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:2rem}}a{position:relative;text-decoration:none;color:#000;background-color:#ee3}a:before{content:"";position:absolute;width:100%;height:2px;bottom:0;left:0;background-color:#000;visibility:hidden;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s}a:hover:before{visibility:visible;-webkit-transform:scaleX(1);transform:scaleX(1)}a.post-title{background-color:#fff;font-size:2.4rem}button{display:inline-block;height:50%;padding:0 3rem;margin-top:1em;margin-bottom:1em;color:#000;background-color:#fff;text-align:center;line-height:4rem;letter-spacing:.3rem;border-radius:.5rem;border:.1rem solid #000;cursor:pointer}button:hover{box-shadow:inset 0 0 .75em #ee3}button.button-primary{color:#fff;background-color:#000;border-color:#000}button.button-primary:hover{box-shadow:inset 0 0 0 #000}ul{list-style:disc inside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#f1f1f1;border:1px solid #e1e1e1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}td,th{padding:12px 15px;text-align:left;border-bottom:1px solid #e1e1e1}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}blockquote,p,pre,table{margin-bottom:2.5rem}.u-full-width{width:100%;box-sizing:border-box}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #e1e1e1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both}.container{margin-top:2em}div .center-text{text-align:center}div p.righty{text-align:right}span>img{max-width:20%;margin:.5em}.blog-pic{display:block;margin-left:auto;margin-right:auto;margin-bottom:1em;border-radius:15px}.footnote-text{display:none;border:2px dashed #000;border-radius:4px;margin:1em;padding:1.5em;font-size:small;box-shadow:inset 0 0 .75em #ee3}.footnote:focus+.footnote-text{display:block}</style>
<style>/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.container{position:relative;width:100%;max-width:960px;margin:0 auto;padding:10px 20px;box-sizing:border-box}@media (min-width:400px){.container{width:85%;padding:0}}@media (min-width:550px){.container{width:80%}}html{font-size:62.5%}body{font-size:1.5em;line-height:1.6;font-weight:400;font-family:Courier New,monospace,Helvetica,Arial,sans-serif;background-color:#fff;color:#222}.highlight{background-color:#ee3}nav{text-align:center;margin-bottom:1.5em;justify-content:space-around;position:-webkit-sticky;position:sticky;top:0;z-index:999;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.2)}footer{font-size:.75em;text-align:center}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300;font-family:Palatino,Helvetica,sans-serif}h1{font-size:5rem;line-height:1.2;letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25;letter-spacing:-.1rem}h3{font-size:3rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}@media (min-width:550px){h1{font-size:5rem}h2{font-size:3.6rem}h3{font-size:3rem}h4{font-size:2.4rem}h5{font-size:2rem}h6{font-size:2rem}}a{position:relative;text-decoration:none;color:#000;background-color:#ee3}a:before{content:"";position:absolute;width:100%;height:2px;bottom:0;left:0;background-color:#000;visibility:hidden;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .3s ease-in-out 0s;transition:all .3s ease-in-out 0s}a:hover:before{visibility:visible;-webkit-transform:scaleX(1);transform:scaleX(1)}a.post-title{background-color:#fff;font-size:2.4rem}button{display:inline-block;height:50%;padding:0 3rem;margin-top:1em;margin-bottom:1em;color:#000;background-color:#fff;text-align:center;line-height:4rem;letter-spacing:.3rem;border-radius:.5rem;border:.1rem solid #000;cursor:pointer}button:hover{box-shadow:inset 0 0 .75em #ee3}button.button-primary{color:#fff;background-color:#000;border-color:#000}button.button-primary:hover{box-shadow:inset 0 0 0 #000}button.download{color:#fff;background-color:#000;border-color:#000}button.download:hover{box-shadow:.5em .5em rgba(238,238,51,.6)}ul{list-style:disc inside}ol{list-style:decimal inside}ol,ul{padding-left:0;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#f1f1f1;border:1px solid #e1e1e1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}td,th{padding:12px 15px;text-align:left;border-bottom:1px solid #e1e1e1}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}blockquote,p,pre,table{margin-bottom:2.5rem}.u-full-width{width:100%;box-sizing:border-box}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #e1e1e1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both}.container{margin-top:2em}div .center-text{text-align:center}div p.righty{text-align:right}span>img{max-width:20%;margin:.5em}.blog-pic{display:block;margin-left:auto;margin-right:auto;margin-bottom:1em;border-radius:15px}.footnote-text{display:none;border:2px dashed #000;border-radius:4px;margin:1em;padding:1.5em;font-size:small;box-shadow:inset 0 0 .75em #ee3}.footnote:focus+.footnote-text{display:block}</style>

</head>

Expand Down
Loading