Skip to content

Commit e489746

Browse files
committed
update the alibaba logos
1 parent befff81 commit e489746

12 files changed

Lines changed: 64 additions & 23 deletions

public/css/style.min.b5b444eb980a0baa8bc5deab4bda202059b89f7de0296341816838a6f78f6676.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
6.56 KB
Loading

public/index.html

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<link rel="icon" type="image/png" href="https://openappmodel.io/images/favicon.png" />
3232
<link href="https://fonts.googleapis.com/css?family=Work&#43;Sans:400,600" rel="stylesheet">
33-
<link rel="stylesheet" type="text/css" href="/css/style.min.6a78621bc5b8139647fe4cbac56798b514f1ea73b19a1f644842d4d937cd156f.css" integrity="sha256-anhiG8W4E5ZH/ky6xWeYtRTx6nOxmh9kSELU2TfNFW8=">
33+
<link rel="stylesheet" type="text/css" href="/css/style.min.b5b444eb980a0baa8bc5deab4bda202059b89f7de0296341816838a6f78f6676.css" integrity="sha256-tbRE65gKC6qLxd6rS9ogIFm4n33gKWNBgWg4pvePZnY=">
3434
<link rel="stylesheet" type="text/css" href="https://openappmodel.io/css/icons.css">
3535

3636
</head>
@@ -336,7 +336,7 @@ <h4>Community</h4>
336336
</div>
337337

338338
<div class="level-item has-text-centered">
339-
<img src="../images/logos/alibaba-cloud-logo.png" alt="Alibaba Cloud" />
339+
<img src="../images/logos/alibaba-cloud-new.png" alt="Alibaba Cloud" />
340340
</div>
341341
</nav>
342342

@@ -408,13 +408,32 @@ <h4>Community</h4>
408408
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
409409
<script async defer src="https://buttons.github.io/buttons.js"></script>
410410
<script>
411-
window.onload = function () {
412-
scrollSpy('#nav', {
413-
sectionClass: '. main-wrapper > section',
414-
menuActiveTarget: '.sidebar-item',
415-
offset: 100
416-
})
417-
}
411+
412+
413+
414+
415+
416+
417+
418+
419+
420+
421+
422+
423+
$(function domReady($) {
424+
var $nav = $('#nav');
425+
$nav.scrollspy({
426+
min: $nav.offset().top,
427+
onEnter: function(element, position) {
428+
window.console.log('Scrollspy: Entering the navigation menu');
429+
$nav.addClass('fixed');
430+
},
431+
onLeave: function(element, position) {
432+
window.console.log('Scrollspy: Leaving the navigation menu');
433+
$nav.removeClass('fixed');
434+
}
435+
});
436+
});
418437
</script>
419438
</body>
420439
</html>

public/js/jquery.scrollspy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/_gen/assets/sass/style.sass_5ad6f408b0e3e473c748aac88af0ea18.content

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7088,7 +7088,8 @@ body {
70887088
padding: 2rem 3rem; }
70897089

70907090
#community img {
7091-
width: 10vw; }
7091+
max-height: 3vw;
7092+
margin: 2.5rem 0 0; }
70927093

70937094
#community dl dt, #community dl dd {
70947095
display: inline-block;

resources/_gen/assets/sass/style.sass_cf66e63debe6917c04534d6c7b66f623.content

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Target":"css/style.min.6a78621bc5b8139647fe4cbac56798b514f1ea73b19a1f644842d4d937cd156f.css","MediaType":"text/css","Data":{"Integrity":"sha256-anhiG8W4E5ZH/ky6xWeYtRTx6nOxmh9kSELU2TfNFW8="}}
1+
{"Target":"css/style.min.b5b444eb980a0baa8bc5deab4bda202059b89f7de0296341816838a6f78f6676.css","MediaType":"text/css","Data":{"Integrity":"sha256-tbRE65gKC6qLxd6rS9ogIFm4n33gKWNBgWg4pvePZnY="}}

themes/clean-landing/assets/clean/core.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ $sidebar-min: 20vw;
301301

302302
#community {
303303
img {
304-
width: 10vw;
304+
max-height: 3vw;
305+
margin: 2.5rem 0 0;
305306
}
306307

307308
dl {

themes/clean-landing/layouts/partials/community.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h4>Community</h4>
1313
</div>
1414

1515
<div class="level-item has-text-centered">
16-
<img src="../images/logos/alibaba-cloud-logo.png" alt="Alibaba Cloud" />
16+
<img src="../images/logos/alibaba-cloud-new.png" alt="Alibaba Cloud" />
1717
</div>
1818
</nav>
1919

themes/clean-landing/layouts/partials/javascript.html

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,30 @@
55
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
66
<script async defer src="https://buttons.github.io/buttons.js"></script>
77
<script>
8-
window.onload = function () {
9-
scrollSpy('#nav', {
10-
sectionClass: '. main-wrapper > section',
11-
menuActiveTarget: '.sidebar-item',
12-
offset: 100
13-
})
14-
}
8+
// $(document).ready(function() {
9+
// $(window).scrollspy();
10+
// });
11+
12+
// window.onload = function () {
13+
// scrollSpy('#nav', {
14+
// sectionClass: '.main-wrapper section',
15+
// menuActiveTarget: '.sidebar-item',
16+
// offset: 100
17+
// })
18+
// }
19+
20+
$(function domReady($) {
21+
var $nav = $('#nav');
22+
$nav.scrollspy({
23+
min: $nav.offset().top,
24+
onEnter: function(element, position) {
25+
window.console.log('Scrollspy: Entering the navigation menu');
26+
$nav.addClass('fixed');
27+
},
28+
onLeave: function(element, position) {
29+
window.console.log('Scrollspy: Leaving the navigation menu');
30+
$nav.removeClass('fixed');
31+
}
32+
});
33+
});
1534
</script>

0 commit comments

Comments
 (0)