forked from kubeflow/website
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the 'resources' directory after local 'extended' Hugo build.
- Loading branch information
1 parent
49aecfd
commit 2e4d142
Showing
8 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
resources/_gen/assets/js/js/main.js_d11fe7b62c27961c87ecd0f2490357b9.content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(function($){'use strict';$(function(){$('[data-toggle="tooltip"]').tooltip();$('[data-toggle="popover"]').popover();$('.popover-dismiss').popover({trigger:'focus'})});function bottomPos(element){return element.offset().top+element.outerHeight();} | ||
$(function(){var promo=$(".js-td-cover");if(!promo.length){return} | ||
var promoOffset=bottomPos(promo);var navbarOffset=$('.js-navbar-scroll').offset().top;var threshold=Math.ceil(promo.outerHeight()/2);if((promoOffset-navbarOffset)<threshold){$('.js-navbar-scroll').addClass('navbar-bg-onscroll');} | ||
$(window).on('scroll',function(){var navtop=$('.js-navbar-scroll').offset().top-$(window).scrollTop();var promoOffset=bottomPos($('.js-td-cover'));var navbarOffset=$('.js-navbar-scroll').offset().top;if((promoOffset-navbarOffset)<threshold){$('.js-navbar-scroll').addClass('navbar-bg-onscroll');}else{$('.js-navbar-scroll').removeClass('navbar-bg-onscroll');$('.js-navbar-scroll').addClass('navbar-bg-onscroll--fade');}});});}(jQuery));(function($){'use strict';var Search={init:function(){$(document).ready(function(){$(document).on('keypress','.td-search-input',function(e){if(e.keyCode!==13){return} | ||
var query=$(this).val();var searchPage="/search/?q="+query;document.location=searchPage;return false;});});},};Search.init();}(jQuery)); |
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/js/js/main.js_d11fe7b62c27961c87ecd0f2490357b9.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Target":"js/main.min.0e19d87d2b366d4d429de3a6892b5d908c1c484cb52eb6647a9b20759f18e9b4.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-DhnYfSs2bU1CneOmiStdkIwcSEy1LrZkepsgdZ8Y6bQ="}} |
43 changes: 43 additions & 0 deletions
43
resources/_gen/assets/js/js/search.js_b4bb3e7b21b43e920b7c367ff787d383.content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
Copyright 2018 Google LLC | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
https://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
(function($) { | ||
|
||
'use strict'; | ||
|
||
var Search = { | ||
init: function() { | ||
$(document).ready(function() { | ||
$(document).on('keypress', '.td-search-input', function(e) { | ||
if (e.keyCode !== 13) { | ||
return | ||
} | ||
|
||
var query = $(this).val(); | ||
var searchPage = "/search/?q=" + query; | ||
document.location = searchPage; | ||
|
||
return false; | ||
}); | ||
|
||
}); | ||
}, | ||
}; | ||
|
||
Search.init(); | ||
|
||
|
||
}(jQuery)); |
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/js/js/search.js_b4bb3e7b21b43e920b7c367ff787d383.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Target":"js/search.js","MediaType":"application/javascript","Data":{}} |
7 changes: 7 additions & 0 deletions
7
resources/_gen/assets/scss/scss/main.scss_5398e26fd581c6d99b97101474eff48e.content
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/scss/scss/main.scss_5398e26fd581c6d99b97101474eff48e.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Target":"scss/main.min.52ad70708a7b2f504f4306200a9532522e5703e89ee72dac8cf38e8951943ba6.css","MediaType":"text/css","Data":{"Integrity":"sha256-Uq1wcIp7L1BPQwYgCpUyUi5XA+ie5y2sjPOOiVGUO6Y="}} |
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/svg/icons/logo.svg_d3f53f09220d597dac26fe7840c31fc9.content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240"/> |
1 change: 1 addition & 0 deletions
1
resources/_gen/assets/svg/icons/logo.svg_d3f53f09220d597dac26fe7840c31fc9.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Target":"icons/logo.min.svg","MediaType":"image/svg+xml","Data":{}} |