-
Notifications
You must be signed in to change notification settings - Fork 1
Changes by @DmitriyShvanyk. #6
base: master
Are you sure you want to change the base?
Conversation
Add svg sprites, fix js
Fix scale images and delay load twitter widget
Remove vscode files
The fonts of the first line of the PyTorch example are different from the original site. The colors of the highlighted terms in the steps are also different. before (https://optuna.org) after (https://optuna.github.io/optuna-web-dev/#code_examples) |
index.html
Outdated
<div class="row" style="margin-top:0px;"> | ||
<div class="col-md-6 ml-auto mr-auto text-center youtube"> | ||
<iframe width="560" height="315" class="b-lazy" data-src="https://www.youtube.com/embed/J_aymk4YXhg" | ||
title="Video 1"></iframe> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title="Video 1"></iframe> | |
title="Optuna: A Define by Run Hyperparameter Optimization Framework | SciPy 2019"></iframe> |
index.html
Outdated
</div> | ||
<div class="col-md-6 ml-auto mr-auto text-center youtube"> | ||
<iframe width="560" height="315" class="b-lazy" data-src="https://www.youtube.com/embed/-UeC4MR3PHM" | ||
title="Video 2"></iframe> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title="Video 2"></iframe> | |
title="Optuna: A Next Generation Hyperparamter Optimization Framework | KDD2019"></iframe> |
index.html
Outdated
<!--[if IE]> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<![endif]--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix indent.
<!--[if IE]> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<![endif]--> | |
<!--[if IE]> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<![endif]--> |
assets/js/scripts.js
Outdated
// lazy load | ||
var bLazy = new Blazy({ | ||
// Options | ||
offset: 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This offset value seems to be the default of bLazy
. Can we remove it?
index.html
Outdated
<script> | ||
/*function loadPlatformTwitter() { | ||
let body = document.querySelector('body'); | ||
let script = document.createElement('script'); | ||
script.async = true; | ||
script.src = 'https://platform.twitter.com/widgets.js'; | ||
body.appendChild(script); | ||
}*/ | ||
//setTimeout(() => {loadPlatformTwitter();}, 3000); | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script is commented out. Can we remove it?
<script> | |
/*function loadPlatformTwitter() { | |
let body = document.querySelector('body'); | |
let script = document.createElement('script'); | |
script.async = true; | |
script.src = 'https://platform.twitter.com/widgets.js'; | |
body.appendChild(script); | |
}*/ | |
//setTimeout(() => {loadPlatformTwitter();}, 3000); | |
</script> |
In |
This PR includes all the changes in #2, #3, #4 and #5.