File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1313 <ul class =" flex flex-wrap justify-center ma0 pa0 mb2" >
1414 <li class =" list " v-for =" project in newsletters" :key =" project.id" >
1515 <a v-on:click =" onClickTrack(project)" class =" newsletter-link pv3 ph4 db ma1 br3 flex items-center no-underline navy" :href =" project.newsletterUrl" target =" blank" >
16- <img class =" h2 mr3" :src =" project.logo" :alt =" `${project.name} project logo`" />
16+ <ProjectIcon
17+ class =" h2 mr3"
18+ :id =" project.id"
19+ />
1720 <span class =" f4" >{{project.name}}</span >
1821 </a >
1922 </li >
2427
2528<script >
2629import head from ' ../utils/head'
30+ import ProjectIcon from ' ../components/icons/ProjectIcon'
2731import Header from ' ../components/Header.vue'
2832import NewsletterSubscription from ' ../components/forms/NewsletterSubscription.vue'
2933import { getNewsletters } from ' ../utils/projects'
@@ -33,7 +37,8 @@ export default {
3337 name: ' News' ,
3438 components: {
3539 Header,
36- NewsletterSubscription
40+ NewsletterSubscription,
41+ ProjectIcon
3742 },
3843 computed: {
3944 newsletters : function () {
You can’t perform that action at this time.
0 commit comments