|
53 | 53 |
|
54 | 54 | <div class="container">
|
55 | 55 |
|
56 |
| - <div class="nav-main"> |
57 |
| - <div class="wrap"> |
58 |
| - <a class="nav-home" href="/react/index.html"> |
59 |
| - <img class="nav-logo" src="/react/img/logo.svg" width="36" height="36"> |
60 |
| - React |
61 |
| - </a> |
62 |
| - <div class="nav-lists"> |
63 |
| - <ul class="nav-site nav-site-internal"> |
64 |
| - <li><a href="/react/docs/installation.html"{% if page.sectionid == 'docs' or page.sectionid == 'tips' or page.sectionid == 'contributing' %} class="active"{% endif %}>Docs</a></li> |
65 |
| - <li><a href="/react/tutorial/tutorial.html"{% if page.sectionid == 'tutorial' %} class="active"{% endif %}>Tutorial</a></li> |
66 |
| - <li><a href="/react/community/support.html"{% if page.sectionid == 'community' %} class="active"{% endif %}>Community</a></li> |
67 |
| - <li><a href="/react/blog/"{% if page.sectionid == 'blog' %} class="active"{% endif %}>Blog</a></li> |
68 |
| - <li class="nav-site-search"> |
69 |
| - <input id="algolia-doc-search" type="text" placeholder="Search docs..." /> |
70 |
| - </li> |
71 |
| - </ul> |
72 |
| - <ul class="nav-site nav-site-external"> |
73 |
| - <li><a href="https://github.com/facebook/react">GitHub</a></li> |
74 |
| - <li><a href="https://facebook.github.io/react-native/">React Native</a></li> |
75 |
| - </ul> |
76 |
| - </div> |
77 |
| - </div> |
78 |
| - </div> |
79 |
| - |
80 |
| - {% if page.id == 'home' %} |
81 |
| - <div class="hero"> |
82 |
| - <div class="wrap"> |
83 |
| - <div class="text"><strong>React</strong></div> |
84 |
| - <div class="minitext"> |
85 |
| - A JavaScript library for building user interfaces |
86 |
| - </div> |
87 |
| - |
88 |
| - <div class="buttons-unit"> |
89 |
| - <!-- TODO: pick one call to action? --> |
90 |
| - <a href="/react/docs/installation.html" class="button">Get Started</a> |
91 |
| - <a href="/react/docs/tutorial.html" class="button">Take the Tutorial</a> |
92 |
| - </div> |
93 |
| - </div> |
94 |
| - </div> |
95 |
| - {% endif %} |
| 56 | + {% include navigation.html %} |
96 | 57 |
|
97 | 58 | {{ content }}
|
98 |
| - <footer class="nav-footer"> |
99 |
| - <section class="sitemap"> |
100 |
| - <a href="/react/" class="nav-home"> |
101 |
| - </a> |
102 |
| - <div> |
103 |
| - <h5><a href="/react/docs/">Docs</a></h5> |
104 |
| - <a href="/react/docs/installation.html">Getting Started</a> |
105 |
| - <a href="/react/docs/tutorial.html">Tutorial</a> |
106 |
| - <a href="/react/docs/thinking-in-react.html">Thinking in React</a> |
107 |
| - <a href="https://github.com/facebook/react/wiki/Examples" target="_blank">Examples</a> |
108 |
| - </div> |
109 |
| - <div> |
110 |
| - <h5><a href="/react/community/support.html">Community</a></h5> |
111 |
| - <a href="http://stackoverflow.com/questions/tagged/reactjs" target="_blank">Stack Overflow</a> |
112 |
| - <a href="https://discuss.reactjs.org/" target="_blank">Discussion Forum</a> |
113 |
| - <a href="https://www.facebook.com/react" target="_blank">Facebook</a> |
114 |
| - <a href="https://twitter.com/reactjs" target="_blank">Twitter</a> |
115 |
| - <a href="irc://chat.freenode.net/reactjs" target="_blank">Chat</a> |
116 |
| - </div> |
117 |
| - <div> |
118 |
| - <h5><a href="/react/community/support.html">Resources</a></h5> |
119 |
| - <a href="/react/community/conferences.html">Conferences</a> |
120 |
| - <a href="/react/community/videos.html">Videos</a> |
121 |
| - <a href="https://github.com/facebook/react/wiki/Complementary-Tools" target="_blank">Complementary Tools</a> |
122 |
| - </div> |
123 |
| - <div> |
124 |
| - <h5>More</h5> |
125 |
| - <a href="/react/blog/">Blog</a> |
126 |
| - <a href="https://github.com/facebook/react" target="_blank">GitHub</a> |
127 |
| - <a href="http://facebook.github.io/react-native/" target="_blank">React Native</a> |
128 |
| - <a href="/react/acknowledgements.html">Acknowledgements</a> |
129 |
| - </div> |
130 |
| - </section> |
131 |
| - <a href="https://code.facebook.com/projects/" target="_blank" class="fbOpenSource"> |
132 |
| - <img src="/react/img/oss_logo.png" alt="Facebook Open Source" width="170" height="45"/> |
133 |
| - </a> |
134 |
| - <section class="copyright"> |
135 |
| - Copyright © {{ site.time | date: '%Y' }} Facebook Inc. |
136 |
| - </section> |
137 | 59 |
|
| 60 | + {% include footer.html %} |
138 | 61 | </div>
|
139 |
| - <div id="fb-root"></div> |
140 | 62 |
|
| 63 | + <div id="fb-root"></div> |
141 | 64 | <script>
|
142 | 65 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
143 | 66 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
0 commit comments