Skip to content

Commit 87ee42a

Browse files
committed
Add changes according to the new release
1 parent 0a183b9 commit 87ee42a

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

themes/vocabulary_theme/templates/layout.html

+8-7
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@
4343
<header>
4444
<nav class="navbar">
4545
<div class="navbar-brand">
46-
{% set cc_logo = site.get('/').attachments.get('open_source.svg') %}
4746
<a class="has-text-black" href="{{ '/'|url }}">
48-
<img
49-
class="logo"
50-
xmlns="http://www.w3.org/2000/svg"
51-
preserveAspectRatio="xMidYMid meet"
52-
viewBox="0 0 304 73" src="{{ cc_logo|url }}">
47+
<svg
48+
class="logo"
49+
xmlns="http://www.w3.org/2000/svg"
50+
preserveAspectRatio="xMidYMid meet"
51+
viewBox="0 0 304 73">
52+
<use href="#opensource"></use>
53+
</svg>
5354
</a>
5455
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
5556
<span aria-hidden="true"></span>
@@ -109,7 +110,7 @@
109110
<a class="navbar-item {% if this.is_child_of('/cc-search') %} is-active{% endif%}" href="{{ '/cc-search'|url }}">
110111
CC Search
111112
</a>
112-
<div class="navbar-item has-dropdown is-hoverable">
113+
<div class="navbar-item has-dropdown is-hoverable column is-3">
113114
<a class="navbar-link is-arrowless {% if this.is_child_of('/archives') %} is-active{% endif%}">Archives<i class="icon caret-down"></i></a>
114115
<div class="navbar-dropdown">
115116
{% for href, title in [

webpack/js/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ $(document).ready(function () {
99

1010
patchAssetIntoDom('/assets/logos/cc/logomark.svg');
1111
patchAssetIntoDom('/assets/logos/cc/letterheart.svg');
12+
patchAssetIntoDom('/assets/logos/products/open_source.svg');
1213

1314
// Check for click events on the navbar burger icon
1415
$(".navbar-burger").click(function() {

webpack/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"license": "MIT",
1010
"devDependencies": {
1111
"@babel/core": "^7.9.0",
12-
"@creativecommons/vocabulary": "^1.0.0-beta.14",
12+
"@creativecommons/vocabulary": "^1.0.0-beta.15",
1313
"autoprefixer": "^9.7.5",
1414
"babel-loader": "^8.1.0",
1515
"css-loader": "^2.1.1",

webpack/sass/main.scss

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "../node_modules/@creativecommons/vocabulary/css/vocabulary.css";
2+
@import "../node_modules/@creativecommons/vocabulary/scss/spacing.scss";
23

34
//Color Variables
45
$pumpkin: #e15803;
@@ -17,6 +18,9 @@ $brand-theme-light: $orange;
1718
$text-color: $jet-black;
1819
$project-card-theme: $blue;
1920

21+
header {
22+
@extend .padding-horizontal-xxl;
23+
}
2024

2125
.navbar-item {
2226
&.has-dropdown {

0 commit comments

Comments
 (0)