Skip to content

Commit

Permalink
Merge pull request #18 from carpentries/add-sm-logo
Browse files Browse the repository at this point in the history
Add small carpentries logo
  • Loading branch information
zkamvar authored Feb 3, 2022
2 parents 9475603 + 72f81c0 commit ed67610
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: varnish
Title: Front-end for The Carpentries Lesson Template
Version: 0.1.2
Version: 0.1.3
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# varnish 0.1.3

* Add small version of the carpentries logo

# varnish 0.1.2

* Add matmo analytics in the footer (@fmichonneau, #17)
Expand Down
7 changes: 7 additions & 0 deletions inst/pkgdown/assets/assets/images/carpentries-logo-sm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions inst/pkgdown/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a class="visually-hidden-focusable skip-link" href="#main-content">Skip to main content</a>
<div class="container-fluid top-nav-container">
<div class="col-md-6">
<div class="large-logo"><img alt="{{#yaml}}{{carpentry}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo.svg{{/yaml}}"></div>
<div class="large-logo"><img alt="{{#yaml}}{{carpentry_name}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo.svg{{/yaml}}"></div>
</div>
<div class="selector-container ">
{{#yaml}}{{#language}}
Expand Down Expand Up @@ -45,7 +45,7 @@
<span class="menu-title">Menu</span>
</button>
<div class="nav-logo">
<img class="small-logo" alt="{{#yaml}}{{carpentry}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo-sm.svg{{/yaml}}">
<img class="small-logo" alt="{{#yaml}}{{carpentry_name}}{{/yaml}} logo" src="{{#site}}{{root}}{{/site}}assets/images/{{#yaml}}{{carpentry_icon}}-logo-sm.svg{{/yaml}}">
</div>
<div class="lesson-title-md">
{{#site}}{{title}}{{/site}}
Expand Down
7 changes: 7 additions & 0 deletions source/images/carpentries-logo-sm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ed67610

Please sign in to comment.