index.erb 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <body class="hp">
  2. <a id="new"></a>
  3. <div class="page">
  4. <header class="header-Base" role="banner">
  5. <nav class="header-Nav clearfix" role="navigation">
  6. <a href="#!" title="show small screen nav" class="small-Nav">
  7. <img src="/img/nav-Icon.png" alt="navigation icon" />
  8. </a>
  9. <ul class="h-Nav constant-Nav" role="presentation">
  10. <%== erb :'_header_links', layout: false %>
  11. </ul>
  12. <ul class="status-Nav">
  13. <% if !signed_in? %>
  14. <li>
  15. <a href="/signin" class="sign-In">Sign In</a>
  16. </li>
  17. <% else %>
  18. <li>
  19. <a href="/dashboard" class="sign-In">Dashboard</a>
  20. </li>
  21. <li>
  22. <a href="/settings" class="sign-In">Settings</a>
  23. </li>
  24. <li>
  25. <a href="/signout" class="sign-In">Sign Out</a>
  26. </li>
  27. <% end %>
  28. </ul>
  29. </nav>
  30. <%== flash_display centered: true %>
  31. <div class="int-Logo hp-Logo">
  32. <a href="/" title="back to home">
  33. <span class="hidden">Neocities.org</span>
  34. <img src="/img/cat.png" alt="Neocities.org" />
  35. </a>
  36. </div>
  37. <section class="header-Intro">
  38. <h1 class="logo header-Content content">
  39. <span class="hidden">Neocities.org</span>
  40. <img src="/img/neocities-Logo.png" alt="Neocities.org" />
  41. </h1>
  42. </section>
  43. <div class="header-Outro">
  44. <div class="row header-Content content">
  45. <div class="col intro">
  46. <h2 class="section-header">Create your own free website.<br>Unlimited creativity, zero ads.</h2>
  47. <p class="intro-text">
  48. Neocities is a social network of <a href="/browse"><%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> web sites</a> that are bringing back the lost individual creativity of the web. We offer free static web hosting and tools that allow you to create your own web site. Join us!
  49. </p>
  50. <ul class="intro-List">
  51. <li class="intro-Tools">
  52. <span class="intro-Icon"></span>
  53. <h3 class="delta">Powerful features to help you build</h3>
  54. <p class="base">
  55. We’ve made it easy to build your web site and explore other sites. Neocities features an in-browser HTML editor, a <a href="/cli">command line tool</a>, custom domain support, fast site performance, easy file uploading, RSS feeds, folder support, and so much more.
  56. </p>
  57. </li>
  58. <li class="intro-Social">
  59. <span class="intro-Icon"></span>
  60. <h3 class="delta">Share your web creation with the world</h3>
  61. <p class="base">
  62. It's your web site, your vision. Make it as normal or crazy as you want. You're the artist, you're in control.
  63. </p>
  64. </li>
  65. </ul>
  66. </div>
  67. <div class="col signup-Area">
  68. <% if signed_in? %>
  69. <div class="signup-Form">
  70. <div class="content">
  71. <h3 class="gamma txt-Center">Build your Website!</h3>
  72. </div>
  73. <p class="txt-Center">
  74. Go to your dashboard to<br> start editing your website!
  75. </p>
  76. <br />
  77. <div class="txt-Center">
  78. <a href="/dashboard" class="btn-Action">Get Started</a>
  79. </div>
  80. </div>
  81. <% else %>
  82. <form id="createSiteForm" class="signup-Form" onsubmit="return false">
  83. <input type="hidden" name="csrf_token" value="<%= csrf_token %>">
  84. <input type="hidden" name="is_education" value="false">
  85. <fieldset class="content">
  86. <h2 class="gamma">Sign up for free</h2>
  87. <hr />
  88. <% if @create_disabled %>
  89. <p>Sign up is not currently available, please try again later.</p>
  90. <% else %>
  91. <div class="siteCreateInputs">
  92. <label for="create-Input">Username</label>
  93. <input type="text" name="prevent_autofill_username" id="prevent_autofill_username" value="" style="position:absolute; top:-2000px; left:-2000px;" />
  94. <input type="password" name="prevent_autofill_password" id="prevent_autofill_password" value="" style="position:absolute; top:-2000px; left:-2000px;" />
  95. <input type="text" class="input-Area" id="create-Input" name="username" placeholder="my-site-name" data-placement="left" data-trigger="manual" autocapitalize="off" autocorrect="off" autocomplete="off" />
  96. <label for="create-Input" id="domain-name">.neocities.org</label>
  97. <label for="tags-input">Tags (your interests, site topics)</label>
  98. <input type="text" class="input-Area" id="tags-input" name="new_tags_string" placeholder="art, videogames, food, music, programming, gardening, cats" data-placement="left" data-trigger="manual" autocapitalize="off" autocorrect="off" autocomplete="off" />
  99. <div class="col col-50" style="padding-left:0;">
  100. <label for="password-input">
  101. Password
  102. </label>
  103. <input type="password" class="input-Area" id="password-input"
  104. name="password" placeholder="password"
  105. data-placement="left" data-trigger="manual"
  106. autocapitalize="off" autocorrect="off" autocomplete="off" />
  107. </div>
  108. <div class="col col-50">
  109. <label for="email-input">
  110. Email
  111. </label>
  112. <input type="email" class="input-Area"
  113. id="email-input" name="email"
  114. placeholder="me@example.com" data-placement="left"
  115. data-trigger="manual" autocapitalize="off"
  116. autocorrect="off" autocomplete="off" />
  117. </div>
  118. <div class="col col-50" style="padding-left:0">
  119. <label>
  120. Confirm you are human
  121. </label>
  122. <%== hcaptcha_input %>
  123. </div>
  124. <div class="col col-50">
  125. <div style="margin-top: 15px">
  126. <input type="submit" value="Create My Site" class="btn-Action float-Right" />
  127. </div>
  128. </div>
  129. </div>
  130. <% end %>
  131. </fieldset>
  132. </form>
  133. <% end %>
  134. </div> <!-- end .col-50 -->
  135. </div> <!-- end .row -->
  136. </div> <!-- end .header-Outro -->
  137. </header>
  138. <main class="content-Base">
  139. <div class="section featured-Websites">
  140. <h2 class="delta">Featured Sites</h2>
  141. <!--
  142. <div class="nav prev"></div>
  143. -->
  144. <ul class="website-Gallery hp-Gallery">
  145. <% Site.featured.each do |site| %>
  146. <li>
  147. <a href="<%= site.uri %>" title="<%= site.title %>" target="_blank">
  148. <img src="<%= site.screenshot_url 'index.html', '210x158' %>" class="neo-SS" alt="<%= site.title %>" />
  149. </a>
  150. </li>
  151. <% end %>
  152. </ul>
  153. <!--
  154. <div class="nav next"></div>
  155. -->
  156. <a href="/browse" class="btn-Action float-Right">Browse all sites</a>
  157. </div>
  158. <div class="section previews">
  159. <h2 class="delta">Our mission: To make the web fun again by giving you back control of how you express yourself online.</h2>
  160. <div class="row content">
  161. <div class="col col-50"><div class="screenshot" style="background-image:url(/img/front-editor-screenshot.png)"></div></div>
  162. <div class="col col-50 text">
  163. <h3><i class="fa fa-edit"></i> HTML editor, right in your browser</h3>
  164. <p>No tools needed. With our easy-to-use HTML editor, you're ready to start building your awesome website right now.</p>
  165. <p>If you'd rather use your favorite desktop editor, no problem. Uploading files is as easy as drag-n-drop.</p>
  166. </div>
  167. </div>
  168. <div class="row content right">
  169. <div class="col col-50"><div class="screenshot" style="background-image:url(/img/front-browse-screenshot.jpg);"></div></div>
  170. <div class="col col-50 text">
  171. <h3><i class="fa fa-globe"></i> Welcome back, web surfing</h3>
  172. <p>All Neocities sites are viewable and easily surfable in our <a href="/browse">website gallery</a>.</p>
  173. <p>Using tags (our version of Web Rings) you can easily discover new sites related to your interests.</p>
  174. </div>
  175. </div>
  176. <div class="row content">
  177. <div class="col col-50"><div class="screenshot" style="background-image:url(/img/front-follow-screenshot.jpg);"></div></div>
  178. <div class="col col-50 text">
  179. <h3><i class="fa fa-user-plus"></i> Follow your favorite Neocities sites</h3>
  180. <p>Keep track of all your favorite sites by following them. Any changes to the sites automatically show up in your news feed. You'll also see what sites they follow.</p>
  181. </div>
  182. </div>
  183. <div class="row content right">
  184. <div class="col col-50"><div class="screenshot" style="background-image:url(/img/front-comment-screenshot.png);"></div></div>
  185. <div class="col col-50 text">
  186. <h3><i class="fa fa-comments-o"></i> Web creativity plus community</h3>
  187. <p>Interact with your favorite web builders by posting comments, and sharing their sites on your social network of choice.</p>
  188. </div>
  189. </div>
  190. </div>
  191. <section class="section features">
  192. <div class="row">
  193. <div class="col col-50">
  194. <h3>
  195. <i class="fa fa-eye-slash"></i>Zero Advertising
  196. </h3>
  197. <p>
  198. <strong>Neocities will never sell your personal data or put advertising on your site.</strong> Instead, we are funded directly by people just like you with <a href="/supporter">supporter accounts</a> and <a href="/donate">donations</a>.
  199. </p>
  200. </div>
  201. <div class="col col-50">
  202. <h3><i class="fa fa-tachometer"></i>Fast Site Loading</h3>
  203. <p>Neocities operates our own caching anycast CDN in over a dozen datacenters all over the world to quickly serve your site to visitors with strong SSL and support for HTTP/2. Our strict focus on static web hosting allows us to routinely out-perform the pricey cloud services on reliability, speed and uptime.</p>
  204. </div>
  205. </div>
  206. <div class="row">
  207. <div class="col col-50">
  208. <h3><i class="fa fa-wrench"></i>Developer Tools</h3>
  209. <p>Our fast static hosting comes with a great in-browser HTML editor, easy file uploading, a <a href="/cli">command line tool</a>, RSS feeds for every site, <a href="/api">APIs</a> for building developer applications, and much more!
  210. </div>
  211. <div class="col col-50">
  212. <h3><i class="fa fa-university"></i>Open Source</h3>
  213. <p>We <a href="https://github.com/neocities" target="_blank">publish</a> the code that powers the site for inspection. We want to win your trust—not lock you in.</p>
  214. </div>
  215. </div>
  216. <div class="col col-100">
  217. <div class="row stats">
  218. <div class="col col-33">
  219. <h2><%= @total_hits_count.to_comma_separated %></h2>
  220. <h3 style="text-align: center">Site Hits</h3>
  221. </div>
  222. <div class="col col-33">
  223. <h2><%= @total_views_count.to_comma_separated %></h2>
  224. <h3 style="text-align: center">Site Visitors</h3>
  225. </div>
  226. <div class="col col-33">
  227. <h2><%= @changed_count.to_comma_separated %></h2>
  228. <h3 style="text-align: center">Site Updates</h3>
  229. </div>
  230. </div>
  231. <div class="col col-100">
  232. <div class="row press">
  233. <a href="http://www.wired.com/2013/07/neocities/" class="logo wired"></a>
  234. <a href="http://www.fastcodesign.com/3037028/why-the-internet-is-time-traveling-back-to-1994" class="logo fastco"></a>
  235. <a href="http://motherboard.vice.com/blog/neocities-is-recreating-the-garish-web-10-creativity-of-geocities" class="logo vice"></a>
  236. <a href="http://arstechnica.com/tech-policy/2014/05/web-host-gives-fcc-a-28-8kbps-slow-lane-in-net-neutrality-protest/" class="logo ars"></a>
  237. <!--<a href="/press" class="more">See all press »</a>-->
  238. </div>
  239. <div class="row quote">
  240. <h3>
  241. "Designed as a 21st century reincarnation of GeoCities, Neocities lets you make your own site for free. <strong>And it just might spark a renaissance of creativity online.</strong>"
  242. <br />
  243. <cite>— Matthew Guay, <a href="http://web.appstorm.net/reviews/web-dev/neocities-the-free-place-to-code-your-own-site-from-scratch" target="_blank">AppStorm</a>. <a href="/press">View All Press »</a></cite>
  244. </h3>
  245. </div>
  246. </div>
  247. </section>
  248. <% # erb :'plan/_pricing' %>
  249. <section class="section bottom-signup">
  250. <h2>What are you waiting for? <a href="#new">Start building your website now!</a></h2>
  251. </section>
  252. <!--
  253. <section class="section thankyou">
  254. <div class="row">
  255. <p>Sponsored by</p>
  256. <h2>Your Company Name Here</h2>
  257. <p>Interested in sponsoring Neocities? <a href="https://neocities.org/contact">Let's get in touch.</a></p>
  258. </div>
  259. </section>
  260. </main>
  261. -->
  262. <footer class="footer-Base" role="contentinfo">
  263. <div class="footer-Intro">
  264. <div class="footer-Content">
  265. <div class="row">
  266. <div class="col col-33">
  267. <div class="f-Col f-Col-1 clearfix">
  268. <span class="footer-icon"></span>
  269. <h2 class="delta">Support Us</h2>
  270. <p class="tiny">
  271. Neocities is 100% powered by <a href="/supporter">supporters</a> and <a href="/donate">contributions</a> from amazing people just like you.
  272. </p>
  273. <a href="/donate" title="Donate to Neocities" class="action-Link">Contribute Today</a>
  274. </div>
  275. </div>
  276. <div class="col col-33">
  277. <div class="f-Col f-Col-2 clearfix">
  278. <span class="footer-icon"></span>
  279. <h2 class="delta">About Us</h2>
  280. <p class="tiny">
  281. Neocities is here to bring back the creativity and
  282. free expression to the world wide web that made it great.
  283. </p>
  284. <a href="/about" title="More about Neocities" class="action-Link">More About Us</a>
  285. </div>
  286. </div>
  287. <div class="col col-33">
  288. <div class="f-Col f-Col-3 clearfix">
  289. <span class="footer-icon"></span>
  290. <h2 class="delta">From Our Blog</h2>
  291. <!--
  292. <p class="tiny">
  293. <a href="#">Neocities now has SSL Sites</a><br>
  294. The latest news on Neocities can be found on our blog.
  295. </p>
  296. -->
  297. <p class="tiny">
  298. <%== @blog_feed_html %>
  299. </p>
  300. <a href="//blog.neocities.org" title="Read about Neocities news and updates" class="action-Link">Read More Posts</a>
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </div>
  306. <%== erb :'_footer', layout: false %>
  307. </footer>
  308. </div>
  309. <%== erb :'_index_signup_script', layout: false %>
  310. </body>