File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 ">
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
- < title > Example: React Scroll Parallax</ title >
6
+ < title > React Scroll Parallax</ title >
7
7
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.css ">
8
8
< link href ="https://fonts.googleapis.com/css?family=Roboto+Mono:700i " rel ="stylesheet ">
9
+ < style >
10
+ .star {
11
+ position : fixed;
12
+ top : 1em ;
13
+ right : 1em ;
14
+ }
15
+ </ style >
9
16
</ head >
10
17
< body >
11
18
< div id ="root "> $react</ div >
19
+ < div class ="star ">
20
+ < a class ="github-button " href ="https://github.com/jscottsmith/react-scroll-parallax " data-icon ="octicon-star " aria-label ="Star jscottsmith/react-scroll-parallax on GitHub "> Star</ a >
21
+ </ div >
12
22
< script src ="/static/bundle.js "> </ script >
23
+ < script async defer src ="https://buttons.github.io/buttons.js "> </ script >
13
24
</ body >
14
25
</ html >
Original file line number Diff line number Diff line change 6
6
< title > React Scroll Parallax</ title >
7
7
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.css ">
8
8
< link href ="https://fonts.googleapis.com/css?family=Roboto+Mono:300,700 " rel ="stylesheet ">
9
+ < style >
10
+ .star {
11
+ position : fixed;
12
+ top : 1em ;
13
+ right : 1em ;
14
+ }
15
+ </ style >
9
16
</ head >
10
17
< body >
11
18
< div id ="root "> $react</ div >
19
+ < div class ="star ">
20
+ < a class ="github-button " href ="https://github.com/jscottsmith/react-scroll-parallax " data-icon ="octicon-star " aria-label ="Star jscottsmith/react-scroll-parallax on GitHub "> Star</ a >
21
+ </ div >
12
22
< script src ="/static/bundle.js "> </ script >
23
+ < script async defer src ="https://buttons.github.io/buttons.js "> </ script >
13
24
</ body >
14
25
</ html >
You can’t perform that action at this time.
0 commit comments