Skip to content

Commit d6ed51d

Browse files
committed
modify:
adjust sample html.
1 parent caa3314 commit d6ed51d

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

sample/index.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,31 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, user-scalable=no">
66
<title>js-scroll-effect-module | yama-dev</title>
7-
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
8-
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
9-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
10-
<script src="https://code.jquery.com/jquery-3.1.1.min.js" charset="UTF-8"></script>
11-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
7+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
128
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
139
<link rel="stylesheet" href="./scroll-effect-module.css">
1410
<script src="../dist/js-scroll-effect-module.js"></script>
11+
<script async defer src="https://buttons.github.io/buttons.js"></script>
12+
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
1513
</head>
1614
<body>
1715
<div class="container-fluid" style="overflow:hidden;">
1816

19-
<div class="row mt10">
17+
<div class="row mt-3">
2018
<div class="col-md-1"></div>
2119
<div class="col-md-10">
22-
<h2>js-scroll-effect-module v0.1.1</h2>
20+
<h2 class="mb-5">SCROLL EFFECT MODULE v0.1.2</h2>
21+
22+
<span class="p-sns"><a class="github-button" href="https://github.com/yama-dev" data-show-count="true" aria-label="Follow @yama-dev on GitHub">Follow @yama-dev</a></span>
23+
<span class="p-sns"><a class="github-button" href="https://github.com/yama-dev/js-scroll-effect-module/archive/master.zip" data-icon="octicon-cloud-download" aria-label="Download yama-dev/js-scroll-effect-module on GitHub">Download</a></span>
24+
<span class="p-sns"><a class="github-button" href="https://github.com/yama-dev/js-scroll-effect-module" data-icon="octicon-star" data-show-count="true" aria-label="Star yama-dev/js-scroll-effect-module on GitHub">Star</a></span>
25+
<span class="p-sns"><a class="github-button" href="https://github.com/yama-dev/js-scroll-effect-module/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork yama-dev/js-scroll-effect-module on GitHub">Fork</a></span>
26+
<span class="p-sns"><a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-text="SCROLL EFFECT MODULE v0.1.2 https://github.com/yama-dev/js-scroll-effect-module" data-show-count="false">Tweet</a></span>
27+
<style>.p-sns > span{ display: inline-block; }</style>
2328

24-
<hr>
29+
<hr class="mt-5 mb-5">
2530

26-
<h3></h3>
31+
<h3>Sample Code</h3>
2732
<div id="brightcovePlayer1">
2833
<script>
2934
var ScrollEffectModule = new SCROLL_EFFECT_MODULE({
@@ -52,7 +57,7 @@ <h3></h3>
5257
</pre>
5358
</div>
5459

55-
<hr>
60+
<hr class="mt-5 mb-5">
5661

5762
</div>
5863
<div class="col-md-1"></div>
@@ -102,7 +107,7 @@ <h2>EffectType : spinin</h2>
102107

103108
</div>
104109

105-
<a href="https://github.com/yama-dev/js-scroll-effect-module" target="_blank"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
110+
<a href="https://github.com/yama-dev/js-scroll-effect-module" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
106111

107112
</body>
108113
</html>

0 commit comments

Comments
 (0)