Skip to content

Commit

Permalink
Add time elements. Other minor tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Shauna Gordon <[email protected]>
  • Loading branch information
ShaunaGordon committed Dec 17, 2024
1 parent c3fa33f commit 79b461d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ details {

h3 {
margin-bottom: var(--gutter-narrow);
letter-spacing: 1px;
}

h4 {
Expand Down
2 changes: 1 addition & 1 deletion resumes/components/publications.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"comment": "Things published in other people's publications. Might not change, but might be added to.",
"publications": [
{
"name": "From Git To Github - An Introduction to Version-Controlled and Collaborative Development",
"name": "From Git To Github - An Introduction to Version-Controlled, Collaborative Development",
"url": "https://talks.shaunagordon.com/git-to-github",
"releaseDate": "2021-02",
"publisher": "Women In Analytics",
Expand Down
3 changes: 0 additions & 3 deletions src/components/sections/Experience.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<script setup>
import WorkCard from '../support/WorkCard.vue';
import { useDateUtils } from '../../mixins/dateUtils';
const { isCurrent } = useDateUtils();
import { useProfiles } from '../../mixins/profiles';
const { getProfile } = useProfiles();
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/Publications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<article v-for="(pub, i) in publications" class="card" :key="i">
<header>
<h3>{{ pub.name }}</h3>
<a :href="pub.url" target="_blank"><h4>{{ pub.publisher }} - {{ pub.releaseDate }}</h4></a>
<a :href="pub.url" target="_blank"><h4>{{ pub.publisher }} - <time :datetime="pub.releaseDate">{{ pub.releaseDate }}</time></h4></a>
</header>
<section v-if="pub.tech">
<ul class="tech">
Expand Down
4 changes: 3 additions & 1 deletion src/components/support/WorkCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h3>{{ item.name }}</h3>
<h4 v-if="item.entity">{{ item.entity }}</h4>
<h4 v-if="item.startDate">
{{ item.startDate }} - {{ item.endDate || 'Current' }}
<time :datetime="item.startDate">{{ item.startDate }}</time> - <span v-html="endDate"></span>
</h4>
<a v-if="item.source" :href="item.source" target="_blank"><i :class="getTechClass('git')"></i> <span>Source Code</span></a>
<div v-if="item.volunteer" class="volunteer">Volunteering!</div>
Expand All @@ -30,4 +30,6 @@ const { item } = defineProps(['item']);
const classes = (current) => `card ${current ? '' : 'old'}`;
const endDate = item.endDate ? `<time datetime="${ item.endDate }">${ item.endDate }</time>` : "Current"
</script>

0 comments on commit 79b461d

Please sign in to comment.