Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #546 from GSA/ConfigPress
Browse files Browse the repository at this point in the history
config press
  • Loading branch information
DanielJDufour authored May 1, 2018
2 parents 2528729 + 7352b29 commit cd04cdb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
23 changes: 22 additions & 1 deletion config/code-gov-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,28 @@
"go_to_repo": "https://github.com/iadgov/WALKOFF"
}
}
]
],
"press": {
"quote": "It’s the latest in a long line of high-profile victories for the open source movement.",
"attribution": {
"image": "assets/img/logos/press/wired.svg",
"url": "https://www.wired.com/2016/08/open-source-won-now/"
},
"links": [
{
"image": "assets/img/logos/press/techcrunch.jpg",
"url": "https://techcrunch.com/2016/08/08/the-white-house-just-released-the-federal-source-code-policy-to-help-government-agencies-go-open-source/"
},
{
"image": "assets/img/logos/press/pcmag.png",
"url": "http://www.pcmag.com/news/346860/white-house-releases-open-source-software-policy"
},
{
"image": "assets/img/logos/press/fcw.png",
"url": "https://fcw.com/articles/2016/08/08/open-source-rockwell.aspx"
}
]
}
},
"footer": {
"links": [
Expand Down
23 changes: 6 additions & 17 deletions src/app/components/home/home.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>Featured Projects</h2>
</div>
</div>
</div>
<div class="width-half" *ngIf="i % 2 === 1"><img [src]="fp.image"></div>
<div class="width-half" *ngIf="i % 2 === 1"><img [src]="fp.image"></div>
</div>
</div>
</div>
Expand All @@ -85,30 +85,19 @@ <h2>Featured Projects</h2>
<div class="banner-title">Press</div>
<div class="press-container">
<div class="quote light">
<blockquote>It’s the latest in a long line of high-profile victories for the open
source movement.</blockquote>
<blockquote>{{content.home.press.quote}}</blockquote>
<div class="attribution">
<a external-link href="https://www.wired.com/2016/08/open-source-won-now/">
<img class="press-logo" src="../../../assets/img/logos/press/wired.svg" alt="Wired">
<a [href]="content.home.press.attribution.url">
<img class="press-logo" [src]="content.home.press.attribution.image" alt="Wired">
</a>
</div>
</div>
<div>
<hr />
<ul class="press-links">
<li>
<a external-link href="https://techcrunch.com/2016/08/08/the-white-house-just-released-the-federal-source-code-policy-to-help-government-agencies-go-open-source/">
<img class="press-logo" src="../../../assets/img/logos/press/techcrunch.jpg" alt="TechCrunch">
</a>
</li>
<li>
<a external-link href="http://www.pcmag.com/news/346860/white-house-releases-open-source-software-policy">
<img class="press-logo" src="../../../assets/img/logos/press/pcmag.png" alt="PC Mag">
</a>
</li>
<li>
<a external-link href="https://fcw.com/articles/2016/08/08/open-source-rockwell.aspx">
<img class="press-logo" src="../../../assets/img/logos/press/fcw.png" alt="FCW">
<a *ngFor="let link of content.home.press.links" [href]="link.url">
<img class="press-logo" [src]="link.image" alt="TechCrunch">
</a>
</li>
</ul>
Expand Down

0 comments on commit cd04cdb

Please sign in to comment.