Skip to content

Commit

Permalink
Add links to websites for contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
WillHannon-MCB committed Feb 21, 2024
1 parent 6b9c089 commit 3290e9c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
7 changes: 4 additions & 3 deletions .vitepress/theme/Contributors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
const columns = this.contributors.length;
return {
'grid-template-columns': `repeat(auto-fit, minmax(150px, 1fr))`,
'max-width': `${150 * columns}px`
'max-width': `${210 * columns}px`
};
}
}
Expand All @@ -28,10 +28,11 @@ export default {
<div class="contributors-container">
<h2>Contributors</h2>
<div class="grid-container" :style="gridStyle">
<div v-for="contributor in contributors" :key="contributor.name" class="contributor">
<a v-for="contributor in contributors" :key="contributor.name" :href="contributor.link" target="_blank"
class="contributor">
<img :src="contributor.image" :alt="contributor.name" class="contributor-image">
<div class="contributor-name">{{ contributor.name }}</div>
</div>
</a>
</div>
</div>
</template>
Expand Down
8 changes: 5 additions & 3 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,19 @@ Then your write-up goes here...

Ensure that **every write-up contains the headers listed above**. These pieces of metadata will appear in the index of experiments for a given virus. The `title` will appear as the title, the `subtext` will appear as a description below the title, and the `keywords` are used to filter the write-ups listed in the index.

Finally, if this is your first time contributing to `dms-vep.github.io`, make sure to update the `public/contributors.json` file with your name and a link to a photo:
Finally, if this is your first time contributing to `dms-vep.github.io`, make sure to update the `public/contributors.json` file with your name, a link to a photo, and a link to your personal or lab website:

```json
[
{
"name": "Jesse Bloom",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember/image.img.jpg/1540125095310.jpg"
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember/image.img.jpg/1540125095310.jpg",
"link": "https://research.fredhutch.org/bloom/en/members.html"
},
{
"name": "Your Name",
"image": "https://my/awesome/photo.jpg"
"image": "https://my/awesome/photo.jpg",
"link": "https://my-personal-webiste.com"
},
...
```
Expand Down
26 changes: 9 additions & 17 deletions public/contributors.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
[
{
"name": "Jesse Bloom",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember/image.img.jpg/1540125095310.jpg"
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember/image.img.jpg/1540125095310.jpg",
"link": "https://research.fredhutch.org/bloom/en/members.html"
},
{
"name": "Bernadeta Dadonaite",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1939500834/image.img.jpg/1657559048742.jpg"
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1939500834/image.img.jpg/1657559048742.jpg",
"link": "https://research.fredhutch.org/bloom/en/members.html"
},
{
"name": "Caelan Radford",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1830037644/image.img.jpg/1696888745651.jpg"
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1830037644/image.img.jpg/1696888745651.jpg",
"link": "https://research.fredhutch.org/bloom/en/members.html"
},
{
"name": "Brendan Larsen",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1083259124/image.img.jpg/1635264555851.jpg"
},
{
"name": "Caleb Carr",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_965242551/image.img.jpg/1635439221241.jpg"
},
{
"name": "Frances Welsh",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_250798615/image.img.jpg/1598902331732.jpg"
},
{
"name": "Tim Yu",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_1874078203/image.img.png/1635439265387.png"
"name": "Will Hannon",
"image": "https://research.fredhutch.org/content/stripe/bloom/en/members/_jcr_content/par/labmember_13944287/image.img.png/1598649957719.png",
"link": "https://willhannon.com/"
}
]

0 comments on commit 3290e9c

Please sign in to comment.