1
1
<!doctype html>
2
2
< html lang ="en ">
3
- < head >
4
- < meta charset ="utf-8 ">
5
- < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6
- < link rel ="shortcut icon " href ="%PUBLIC_URL%/favicon.ico ">
7
- < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css ">
8
- <!--
3
+
4
+ < head >
5
+ < meta charset ="utf-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
+ < link rel ="shortcut icon " href ="%PUBLIC_URL%/favicon.ico ">
8
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css ">
9
+ <!--
9
10
Notice the use of %PUBLIC_URL% in the tag above.
10
11
It will be replaced with the URL of the `public` folder during the build.
11
12
Only files inside the `public` folder can be referenced from the HTML.
14
15
work correctly both with client-side routing and a non-root public URL.
15
16
Learn how to configure a non-root public URL by running `npm run build`.
16
17
-->
17
- < title > React D3 Tree</ title >
18
- </ head >
19
- < body >
20
- < div id ="root "> </ div >
21
- <!--
18
+ < title > React D3 Tree</ title >
19
+ </ head >
20
+
21
+ < body >
22
+ < div id ="root "> </ div >
23
+ <!--
22
24
This HTML file is a template.
23
25
If you open it directly in the browser, you will see an empty page.
24
26
28
30
To begin the development, run `npm start`.
29
31
To create a production bundle, use `npm run build`.
30
32
-->
31
-
32
-
33
- < a href ="https://github.com/bkrem/react-d3-tree ">
34
- < img style ="position: absolute; top: 0; right: 0; border: 0; " src ="https://camo.githubusercontent.com/52760788cde945287fbb584134c4cbc2bc36f904/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f77686974655f6666666666662e706e67 "
35
- alt ="Fork me on GitHub " data-canonical-src ="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png ">
36
- </ a >
37
- <!-- Global site tag (gtag.js) - Google Analytics -->
38
- < script async src ="https://www.googletagmanager.com/gtag/js?id=UA-108428190-1 "> </ script >
39
- < script >
40
- window . dataLayer = window . dataLayer || [ ] ;
41
-
42
- function gtag ( ) {
43
- dataLayer . push ( arguments ) ;
33
+ < a href ="https://github.com/bkrem/react-d3-tree " class ="github-corner " aria-label ="View source on GitHub "> < svg
34
+ width ="80 " height ="80 " viewBox ="0 0 250 250 "
35
+ style ="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0; " aria-hidden ="true ">
36
+ < path d ="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z "> </ path >
37
+ < path
38
+ 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 "
39
+ fill ="currentColor " style ="transform-origin: 130px 106px; " class ="octo-arm "> </ path >
40
+ < path
41
+ 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 "
42
+ fill ="currentColor " class ="octo-body "> </ path >
43
+ </ svg > </ a >
44
+ < style >
45
+ .github-corner : hover .octo-arm {
46
+ animation : octocat-wave 560ms ease-in-out
47
+ }
48
+
49
+ @keyframes octocat-wave {
50
+
51
+ 0% ,
52
+ 100% {
53
+ transform : rotate (0 )
54
+ }
55
+
56
+ 20% ,
57
+ 60% {
58
+ transform : rotate (-25deg )
59
+ }
60
+
61
+ 40% ,
62
+ 80% {
63
+ transform : rotate (10deg )
44
64
}
45
- gtag ( 'js' , new Date ( ) ) ;
65
+ }
66
+
67
+ @media (max-width : 500px ) {
68
+ .github-corner : hover .octo-arm {
69
+ animation : none
70
+ }
71
+
72
+ .github-corner .octo-arm {
73
+ animation : octocat-wave 560ms ease-in-out
74
+ }
75
+ }
76
+ </ style >
77
+
78
+ <!-- Global site tag (gtag.js) - Google Analytics -->
79
+ < script async src ="https://www.googletagmanager.com/gtag/js?id=UA-108428190-1 "> </ script >
80
+ < script >
81
+ window . dataLayer = window . dataLayer || [ ] ;
82
+
83
+ function gtag ( ) {
84
+ dataLayer . push ( arguments ) ;
85
+ }
86
+ gtag ( 'js' , new Date ( ) ) ;
87
+
88
+ gtag ( 'config' , 'UA-108428190-1' ) ;
46
89
47
- gtag ( 'config' , 'UA-108428190-1' ) ;
90
+ </ script >
91
+ </ body >
48
92
49
- </ script >
50
- </ body >
51
- </ html >
93
+ </ html >
0 commit comments