1
1
Fork 0

Many improvements

This commit is contained in:
Ava Gaiety Wroten 2021-02-03 23:07:15 -06:00
parent 72dd1597f0
commit 4a81da32cc
28 changed files with 145 additions and 86 deletions

View file

@ -1,4 +1,6 @@
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
const Nunjucks = require('nunjucks');
const nunjucksDate = require('nunjucks-date');
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
const markdownIt = require('markdown-it');
const markdownItClass = require('@toycode/markdown-it-class');
@ -15,6 +17,12 @@ const markdownClassMapping = {
};
module.exports = function(eleventyConfig) {
let nunjucksEnvironment = new Nunjucks.Environment(
new Nunjucks.FileSystemLoader("_includes")
);
nunjucksDate.setDefaultFormat('MMMM Do, YYYY');
nunjucksDate.install(nunjucksEnvironment);
eleventyConfig.addPlugin(syntaxHighlight);
const md = markdownIt({ linkify: true, html: true });
@ -27,4 +35,6 @@ module.exports = function(eleventyConfig) {
"pinned",
collection => collection.getAllSorted().filter(item => item.data.pinned),
);
eleventyConfig.setLibrary('njk', nunjucksEnvironment);
};

View file

@ -9,7 +9,7 @@
},
{
"title": "Work",
"url": "/work-history/"
"url": "/work/"
},
{
"title": "Volunteering",

40
_includes/category.njk Normal file
View file

@ -0,0 +1,40 @@
{% include "base-header.html" %}
<main class="mt-12 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="relative max-w-lg mx-auto divide-y-2 divide-gray-200 lg:max-w-7xl">
<div>
<h2 class="text-3xl tracking-tight font-extrabold text-gray-900 sm:text-4xl">
{{ page.fileSlug | capitalize }}
</h2>
<div class="mt-3 text-xl text-gray-500 sm:mt-4">
{{ content | safe }}
</div>
</div>
<div class="mt-6 pt-10 grid gap-16 lg:grid-cols-2 lg:gap-x-5 lg:gap-y-12">
{%- for content in collections[ page.fileSlug ] | reverse -%}
<div>
<p class="text-sm text-gray-500">
<time datetime="{{ content.data.date | date('YYYY-MM-DD') }}">{{ content.data.date | date }}</time>
</p>
<a href="{{ content.url }}" class="mt-2 block">
<p class="text-xl font-semibold text-gray-900">
{{ content.data.title }}
</p>
<p class="mt-3 text-base text-gray-500">
{{ content.data.description }}
</p>
</a>
<div class="mt-3">
<a href="{{ content.url }}" class="text-base font-semibold text-indigo-600 hover:text-indigo-500">
Read more <span class="sr-only">about {{ content.data.title }}</a>
</a>
</div>
</div>
{%- endfor -%}
</div>
</div>
</main>
{% include "base-footer.html" %}

View file

@ -4,14 +4,14 @@
<div class="max-w-3x1 mx-auto mb-5">
<div class="-ml-2 mt-8 flex flex-wrap items-baseline">
<h1 class="ml-8 mt-2 text-lg font-medium text-gray-900">
{{title}}
{{ title }}
</h1>
<p class="ml-2 mt-1 text-sm text-gray-500 truncate">in {{category}}</p>
<p class="ml-2 mt-1 text-sm text-gray-500 truncate">in {{ tags[0] | capitalize }}</p>
</div>
</div>
<div class="bg-white overflow-hidden shadow sm:rounded-lg">
<div class="px-4 py-5 sm:p-6">
{{content | safe}}
{{ content | safe }}
</div>
</div>
</main>

View file

@ -12,12 +12,12 @@
</div>
<div class="mt-12 grid gap-16 pt-12 lg:grid-cols-3 lg:gap-x-5 lg:gap-y-12">
{%- for content in collections.pinned -%}
{%- for content in collections.pinned | reverse -%}
<div>
<div>
<a href="#" class="inline-block">
<a href="/{{ content.data.tags[0] }}/" class="inline-block">
<span class="inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium bg-indigo-100 text-indigo-800">
{{ content.data.category }}
{{ content.data.tags[0] | capitalize }}
</span>
</a>
</div>

16
package-lock.json generated
View file

@ -2262,6 +2262,12 @@
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
"dev": true
},
"moment": {
"version": "2.29.1",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz",
"integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==",
"dev": true
},
"moo": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/moo/-/moo-0.5.1.tgz",
@ -2340,6 +2346,16 @@
}
}
},
"nunjucks-date": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/nunjucks-date/-/nunjucks-date-1.5.0.tgz",
"integrity": "sha512-uB1p4L80eXFwwWYuAcWAm12iZu6/ezfShskHxfU8fQxOKGDdEYZ3E0acUfqU6y4UdHSamC6TYfkyxyB59yHYRQ==",
"dev": true,
"requires": {
"moment": "*",
"nunjucks": "^3.x"
}
},
"nwsapi": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz",

View file

@ -20,7 +20,8 @@
"homepage": "https://gitlab.com/gaiety/portfolio#readme",
"devDependencies": {
"@11ty/eleventy": "^0.11.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6"
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6",
"nunjucks-date": "^1.5.0"
},
"dependencies": {
"@toycode/markdown-it-class": "^1.2.4"

View file

@ -1,12 +1,10 @@
---
title: "blabber-comic"
tags: repos
title: blabber-comic
description: Converts chat logs to comics.
date: 2018-12-30
---
> Converts chat logs to comics.
<!--more-->
[Fork on Gitlab](https://gitlab.com/gaiety/blabber-comic)
# Blabber-Comic

View file

@ -1,5 +1,5 @@
---
category: Repos
tags: repos
title: ember-select-light
description: Ember Select Light is an Ember Addon focused on simplicity. Just powerful enough to offer expected baseline functionality while being easy to implement, style, and make accessible.
date: 2020-11-05

7
repos/index.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: category.njk
eleventyExcludeFromCollections: true
---
Code and things

View file

@ -1,12 +1,10 @@
---
tags: repos
title: "json-query-chain"
description: Chain queries onto POJOs to return precise results.
date: 2018-02-23
---
> Chain queries onto POJOs to return precise results.
<!--more-->
[Fork on Gitlab](https://gitlab.com/gaiety/json-query-chain)
# json-query-chain

View file

@ -1,12 +1,10 @@
---
title: "my_spells"
tags: repos
title: my_spells
description: Your personal D&D 5e Spellbook.
date: 2019-01-27
---
> Your personal D&D 5e Spellbook.
<!--more-->
[Fork on Gitlab](https://gitlab.com/gaiety/my_spells)
_Note_: Since the release of Wizards of the Coast's latest online tools, I've discontinued this mobile app. But, I learned a lot along the way in making this :)

View file

@ -1,5 +1,5 @@
---
category: Repos
tags: repos
title: sortable-recipes
description: A sample project for my EmberConf 2020 talk. Leverages Ember Octane and is fully test driven. Includes the RevealJS presentation and a simple Python backend.
date: 2020-03-21

View file

@ -1,12 +1,10 @@
---
title: "svgdir2sprite"
tags: repos
title: svgdir2sprite
description: Creates a spritesheet from a directory of svgs.
date: 2019-01-03
---
> Creates a spritesheet from a directory of svgs.
<!--more-->
[Fork from Gitlab](https://gitlab.com/gaiety/svgdir2sprite)
# svgdir2sprite

View file

@ -1,5 +1,5 @@
---
category: Repos
tags: repos
title: team-cli
description: Automate all the things with a team-centric CLI. Abstract away annoying day-to-day tasks and eliminate tribal team knowledge by building your team their very own CLI.
date: 2019-09-01

View file

@ -1,5 +1,5 @@
---
category: Volunteering
tags: volunteering
title: "Code 2 College"
description: "Interview preparation, event hosting and curriculum planning."
date: 2019-01-01

View file

@ -1,12 +1,12 @@
---
category: Volunteering
tags: volunteering
title: "Gabriellas Smile Foundation"
description: "Fighting against DIPG."
date: 2019-06-01
---
# Gabriellas Smile Foundation
## Stronger than DIPG
## Gabriellas Smile Foundation
### Stronger than DIPG
_A Pro-bono web project done during 2019's Austin Give Camp_

7
volunteering/index.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: category.njk
eleventyExcludeFromCollections: true
---
Good things

View file

@ -1,12 +1,12 @@
---
category: Volunteering
tags: volunteering
title: "Austin Give Camp - The SEED"
description: "Adult & Family Learning Community"
date: 2016-10-01
---
# The SEED
## Adult & Family Learning Community
## The SEED
### Adult & Family Learning Community
_A Pro-bono web project done during 2016's Austin Give Camp_

View file

@ -1,19 +0,0 @@
---
category: "Work History"
title: "Web Design & Dev Intern at Antharia"
date: 2010-08-01
---
> (Jan 2010 - Aug 2010)
>
> Working with a homegrown CMS, custom coded solutions in response to new situations fueled my learning every day. Never missed an opportunity to learn the backend administrative panels and mySQL databases of real sites.
<!--more-->
# Web Design & Dev Intern at Antharia
A well designed and functional web presence can make all the difference in boosting any nonprofits reputation and quality donations.
Worked with dozens of local and national non-profits to fix website bugs and add new pages.

View file

@ -1,17 +1,12 @@
---
category: "Work History"
title: "Software Engineer at Allovue"
tags: work
title: Software Engineer at Allovue
description: (Aug 2019 - Jul 2020) Building budgeting software in EmberJS to give educators the tools and support they need to allocate resources to the needs of students for a more equitable world.
date: 2019-12-08
pinned: false
---
> (Aug 2019 - Jul 2020)
>
> Building budgeting software in EmberJS to give educators the tools and support they need to allocate resources to the needs of students for a more equitable world.
<!--more-->
# Software Engineer at Allovue
## Software Engineer at Allovue
Empowering educators to strategically and equitably allocate resources to best support the needs of students. We're building budgeting software to give school districts the tools they need to give educators the tools they need.

13
work/antharia.md Normal file
View file

@ -0,0 +1,13 @@
---
tags: work
title: Web Design & Dev Intern at Antharia
description: (Jan 2010 - Aug 2010) Working with a homegrown CMS, custom coded solutions in response to new situations fueled my learning every day. Never missed an opportunity to learn the backend administrative panels and mySQL databases of real sites.
date: 2010-08-01
---
## Web Design & Dev Intern at Antharia
A well designed and functional web presence can make all the difference in boosting any nonprofits reputation and quality donations.
Worked with dozens of local and national non-profits to fix website bugs and add new pages.

View file

@ -1,16 +1,11 @@
---
category: "Work History"
title: "Interactive Technologies Lead & Web Admin at Cyto Communications"
tags: work
title: Interactive Technologies Lead & Web Admin at Cyto Communications
description: (May 2011 - Dec 2012) Developed, designed and animated projects for Host Hotels & Resorts, Johns Hopkins Health System, World Wildlife Fund and more.
date: 2012-12-01
---
> (May 2011 - Dec 2012)
>
> Developed, designed and animated projects for Host Hotels & Resorts, Johns Hopkins Health System, World Wildlife Fund and more.
<!--more-->
# Interactive Technologies Lead & Web Admin
## Interactive Technologies Lead & Web Admin
Built a web app to walk Johns Hopkins employees through their new healthcare benefits package complete with interactive terminology breakdowns.

7
work/index.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: category.njk
eleventyExcludeFromCollections: true
---
Experience

View file

@ -1,17 +1,12 @@
---
category: "Work History"
title: "Developer III at Q2ebanking"
tags: work
title: Developer III at Q2ebanking
description: (Jan 2016 - Aug 2019) Enterprise Ember.js & Vue.js powered banking software used by tens of millions worldwide. Mentoring, writing test automation, and writing a component for native HTML Web Components.
date: 2019-08-01
---
> (Jan 2016 - Aug 2019)
>
> Enterprise Ember.js & Vue.js powered banking software used by tens of millions worldwide. Mentoring, writing test automation, and writing a component for native HTML Web Components.
<!--more-->
# Developer III at Q2ebanking
## Stronger communities w/ better financial tools.
## Developer III at Q2ebanking
### Stronger communities w/ better financial tools.
[Q2](https://www.q2ebanking.com/) provides a banking platform that interfaces personal and professional banking needs into a single tool. They then offer this as a customizable software as a service to banks and credit unions big or small. Community banks who would have otherwise had to outsource or hire a team to build a platform with potential security holes and poor usability are a thing of the past.

View file

@ -1,5 +1,5 @@
---
category: Work History
tags: work
title: Lead Full-Stack Software Engineer at SkillsEngine
description: (Aug 2020 - Present) Working with Texas State Technical College (TSTC) at SkillsEngine to connect employers, educators and students in new ways through technology.
date: 2020-08-01