markup & accessibility updates

quick pass through some files to get some low hanging accessibility & markup semantic updates.
This commit is contained in:
Scott 2015-02-02 20:54:35 -05:00
parent 963bb29d9d
commit 42820c848b
11 changed files with 180 additions and 157 deletions

View file

@ -1,12 +1,12 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>About Neocities</h1> <h1>About Neocities</h1>
<h3 class="subtitle">Your free web page is waiting&#8230; once again.</h3> <h2 class="subtitle">Your free web page is waiting&#8230; once again.</h2>
</div> </div>
</div> </div>
<div class="content single-Col misc-page"> <div class="content single-Col misc-page">
<article> <article role="article">
<h1>Neocities is bringing back the fun, creativity and independence that made the web great.</h1> <h1>Neocities is bringing back the fun, creativity and independence that made the web great.</h1>
<p> <p>
@ -18,7 +18,7 @@
<p> <p>
That's where Neocities comes in. We provide a canvas for people to make any web site they want. That's where Neocities comes in. We provide a canvas for people to make any web site they want.
Whether it be a web site about something they're good at, something they love, something they hate, or Whether it be a web site about something they're good at, something they love, something they hate, or
their own completely customized profile where they can introduce themselves in a way that actually matters to them. their own completely customized profile where they can introduce themselves in a way that actually matters to them.
We can do this without selling out to the marketing industry, and we're going to prove it. We can do this without selling out to the marketing industry, and we're going to prove it.
</p> </p>
<p> <p>
@ -42,7 +42,7 @@
<li><strong>Anti lock-in.</strong> Redirecting to new sites, easy site downloading, and support for custom domains.</li> <li><strong>Anti lock-in.</strong> Redirecting to new sites, easy site downloading, and support for custom domains.</li>
<li><strong>Sustainable.</strong> We want to grow, but that growth cannot risk the site (or compromise our principles).</li> <li><strong>Sustainable.</strong> We want to grow, but that growth cannot risk the site (or compromise our principles).</li>
</ul> </ul>
<p style="margin-top:20px"> <p style="margin-top:20px">
If you share our values, we would love your support. Spread the word! We also have a <a href="/plan">supporter plan</a> to help pay for the site, and we accept <a href="/donate">donations</a> through multiple options (including Bitcoin... and Dogecoin). If you share our values, we would love your support. Spread the word! We also have a <a href="/plan">supporter plan</a> to help pay for the site, and we accept <a href="/donate">donations</a> through multiple options (including Bitcoin... and Dogecoin).
</p> </p>

View file

@ -1,7 +1,7 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>Administration</h1> <h1>Administration</h1>
<h3 class="subtitle">Freedom Ain't Free</h3> <h2 class="subtitle">Freedom Ain't Free</h2>
</div> </div>
</div> </div>
@ -62,4 +62,4 @@
</form> </form>
</div> </div>
</div> </div>
</div> </div>

View file

@ -17,7 +17,7 @@
<h1>Sites on Neocities</h1> <h1>Sites on Neocities</h1>
<% end %> <% end %>
</div> </div>
<form id="search_criteria" action="/browse" method="GET"> <form id="search_criteria" action="/browse" method="GET">
<div class="col col-50 filter"> <div class="col col-50 filter">
<fieldset class="grouping"> <fieldset class="grouping">
@ -44,7 +44,7 @@
<form method="GET" action="browse"> <form method="GET" action="browse">
<fieldset class="grouping"> <fieldset class="grouping">
<label class="text-Label" for="tag">Search by tag:</label> <label class="text-Label" for="tag">Search by tag:</label>
<input class="input-Area typeahead" name="tag" type="text" placeholder="pokemon" value="<%= params[:tag] %>" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" dir="auto"> <input class="input-Area typeahead" id="tag" name="tag" type="text" placeholder="pokemon" value="<%= params[:tag] %>" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" dir="auto">
<input style="vertical-align: -4px;margin-left: 4px;" type="submit" class="btn-Action" value="Search"> <input style="vertical-align: -4px;margin-left: 4px;" type="submit" class="btn-Action" value="Search">
</fieldset> </fieldset>
</div> </div>
@ -88,9 +88,9 @@
</div> </div>
<div class="site-tags"> <div class="site-tags">
<% if site.tags.count > 0 %> <% if site.tags.count > 0 %>
<i class="fa fa-tag"></i> <i class="fa fa-tag"></i>
<% site.tags.each_with_index do |tag, index| %> <% site.tags.each_with_index do |tag, index| %>
<a class="" href="/browse?tag=<%= Rack::Utils.escape tag.name %>"><%= tag.name %></a><% if index != site.tags.length - 1 %>,<% end %> <a class="" href="/browse?tag=<%= Rack::Utils.escape tag.name %>"><%= tag.name %></a><% if index != site.tags.length - 1 %>,<% end %>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
@ -145,4 +145,4 @@
<% end %> <% end %>
</p> </p>
</div> </div>
</div> </div>

View file

@ -7,7 +7,6 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>Contact Us</h1> <h1>Contact Us</h1>
<h3 class="subtitle"></h3>
</div> </div>
</div> </div>
@ -19,7 +18,7 @@
<% end %> <% end %>
</div> </div>
<% end %> <% end %>
<h6>Please Note Before Contacting:</h6> <h6>Please Note Before Contacting:</h6>
<ul> <ul>
@ -34,14 +33,14 @@
<form action="/contact" method="POST" class="content"> <form action="/contact" method="POST" class="content">
<input name="csrf_token" type="hidden" value="<%= csrf_token %>"> <input name="csrf_token" type="hidden" value="<%= csrf_token %>">
<fieldset> <fieldset>
<label>Email address</label> <label for="your_email">Email address</label>
<input type="email" name="email" placeholder="Your Email" style="width: 300px" value="<%= params[:email] %>"> <input type="email" id="your_email" name="email" placeholder="Your Email" style="width: 300px" value="<%= params[:email] %>">
<label>Subject</label> <label for="email_subject">Subject</label>
<input type="text" name="subject" placeholder="Subject" style="width: 400px" value="<%= params[:subject] %>"> <input type="text" id="email_subject" name="subject" placeholder="Subject" style="width: 400px" value="<%= params[:subject] %>">
<label>Comments</label> <label for="your_comments">Comments</label>
<textarea name="body" style="width: 600px" rows="10"><%= params[:body] %></textarea> <textarea name="body" id="your_comments" style="width: 600px" rows="10"><%= params[:body] %></textarea>
<label>Fill out captcha so we know you're not a robot:</label> <label>Fill out captcha so we know you're not a robot:</label>
<div class="recaptcha"> <div class="recaptcha">

View file

@ -44,7 +44,7 @@
</div> <!-- end .row --> </div> <!-- end .row -->
</div> <!-- end .header-Outro --> </div> <!-- end .header-Outro -->
<main class="content-Base"> <main class="content-Base" role="main">
<div class="content wide"> <div class="content wide">
@ -92,7 +92,7 @@
<% dir_array = @dir.split '/' %> <% dir_array = @dir.split '/' %>
<% dir_array.each_with_index do |dir,i| %> <% dir_array.each_with_index do |dir,i| %>
<% if i+1 < dir_array.length %> <% if i+1 < dir_array.length %>
<a href="/dashboard?dir=<%= Rack::Utils.escape dir %>"><%= dir %></a> <i class="fa fa-angle-right"></i> <a href="/dashboard?dir=<%= Rack::Utils.escape dir %>"><%= dir %></a> <i class="fa fa-angle-right"></i>
<% else %> <% else %>
<%= dir %> <%= dir %>
<% end %> <% end %>
@ -115,19 +115,19 @@
<div class="file filehover"> <div class="file filehover">
<% if file[:is_html] && current_site.screenshot_exists?(file[:path], '210x158') %> <% if file[:is_html] && current_site.screenshot_exists?(file[:path], '210x158') %>
<div class="html-thumbnail html fileimagehover"> <div class="html-thumbnail html fileimagehover">
<img src="<%= current_site.screenshot_url(file[:path], '210x158') %>"> <img src="<%= current_site.screenshot_url(file[:path], '210x158') %>" alt="">
<div class="overlay"></div> <div class="overlay"></div>
</div> </div>
<% elsif file[:is_image] && current_site.thumbnail_exists?(file[:path], '210x158') %> <% elsif file[:is_image] && current_site.thumbnail_exists?(file[:path], '210x158') %>
<div class="html-thumbnail image fileimagehover"> <div class="html-thumbnail image fileimagehover">
<img src="<%= current_site.thumbnail_url(file[:path], '210x158') %>"> <img src="<%= current_site.thumbnail_url(file[:path], '210x158') %>" alt="">
<div class="overlay"></div> <div class="overlay"></div>
</div> </div>
<% elsif file[:is_directory] %> <% elsif file[:is_directory] %>
<div class="html-thumbnail folder fileimagehover"> <div class="html-thumbnail folder fileimagehover">
<div class="folder-icon"></div> <div class="folder-icon"></div>
<div class="overlay"></div> <div class="overlay"></div>
</div> </div>
<% else %> <% else %>
<div class="html-thumbnail misc fileimagehover"> <div class="html-thumbnail misc fileimagehover">
<div class="misc-icon"><%= file[:ext] %></div> <div class="misc-icon"><%= file[:ext] %></div>
@ -178,8 +178,8 @@
<p>You are about to delete <strong><span id="deleteFileName"></span></strong>. Are you sure?</p> <p>You are about to delete <strong><span id="deleteFileName"></span></strong>. Are you sure?</p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn cancel" data-dismiss="modal" aria-hidden="true">Cancel</button> <button class="btn cancel" data-dismiss="modal" aria-hidden="true" type="button">Cancel</button>
<button class="btn btn-Action btn-danger" onclick="fileDelete()"><i class="fa fa-trash" title="Delete"></i>Delete</button> <button class="btn btn-Action btn-danger" type="button" onclick="fileDelete()"><i class="fa fa-trash" title="Delete"></i>Delete</button>
</div> </div>
</div> </div>
@ -202,7 +202,7 @@
</form> </form>
<script src="/js/dropzone.min.js"></script> <script src="/js/dropzone.min.js"></script>
<script type="text/javascript"> <script>
function confirmFileDelete(name) { function confirmFileDelete(name) {
$('#deleteFileName').html(name.replace('/','')); $('#deleteFileName').html(name.replace('/',''));
@ -255,7 +255,7 @@
</script> </script>
<div class="modal hide fade" id="createDir" tabindex="-1" role="dialog" aria-labelledby="createDirLabel" aria-hidden="true"> <div class="modal hide fade" id="createDir" tabindex="-1" role="dialog" aria-labelledby="createDirLabel" aria-hidden="true">
<form method="POST" action="/site/create_directory"> <form method="post" action="/site/create_directory">
<input type="hidden" value="<%= csrf_token %>" name="csrf_token"> <input type="hidden" value="<%= csrf_token %>" name="csrf_token">
<input type="hidden" value="<%= @dir %>" name="dir"> <input type="hidden" value="<%= @dir %>" name="dir">
<div class="modal-header"> <div class="modal-header">
@ -266,7 +266,7 @@
<input name="name" type="text" placeholder="folder_name"> <input name="name" type="text" placeholder="folder_name">
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn cancel" data-dismiss="modal" aria-hidden="true">Cancel</button> <button type="button" class="btn cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button type="submit" class="btn btn-Action">Create</button> <button type="submit" class="btn btn-Action">Create</button>
</div> </div>
</form> </form>

View file

@ -5,41 +5,39 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>Donate to Neocities</h1> <h1>Donate to Neocities</h1>
<h3 class="subtitle">Help us keep the creative, independent internet alive!</h3> <h2 class="subtitle">Help us keep the creative, independent internet alive!</h2>
</div> </div>
</div> </div>
<div class="content single-Col misc-page txt-Center"> <div class="content single-Col misc-page txt-Center">
<article> <article role="article">
<section>
<h2>How to Donate</h2> <h2>How to Donate</h2>
<p>If you send a donation and want to become a supporter, send us an email and we'll take care of it. Thanks!</p> <p>If you send a donation and want to become a supporter, send us an email and we'll take care of it. Thanks!</p>
<h3>Gratipay:</h3> <h3>Gratipay:</h3>
<script data-gratipay-username="neocities" src="//gttp.co/v1.js"></script> <script data-gratipay-username="neocities" src="//gttp.co/v1.js"></script>
<h3>Bitcoin:</h3> <h3>Bitcoin:</h3>
<p><img src="/img/bitcoin.png"></p> <p><img src="/img/bitcoin.png"></p>
<p><b>1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T</b></p> <p><b>1MPYyfoWK8CkAzhLzLLtZGa9dwEGT5dm2T</b></p>
<h3>Dogecoin:</h3> <h3>Dogecoin:</h3>
<p><img src="/img/dogecoin.png"></p> <p><img src="/img/dogecoin.png"></p>
<p> <p>
<div><span style="color:#ff0000;">D</span><span style="color:#ff1500;">C</span><span style="color:#ff2a00;">X</span><span style="color:#ff4000;">c</span><span style="color:#ff5500;">J</span><span style="color:#ff6a00;">7</span><span style="color:#ff7f00;">u</span><span style="color:#ff9900;">Q</span><span style="color:#ffb200;">Q</span><span style="color:#ffcc00;">c</span><span style="color:#ffe500;">v</span><span style="color:#ffff00;">X</span><span style="color:#d5ff00;">R</span><span style="color:#aaff00;">8</span><span style="color:#80ff00;">q</span><span style="color:#55ff00;">7</span><span style="color:#2bff00;">A</span><span style="color:#00ff00;">N</span><span style="color:#00ff33;">7</span><span style="color:#00ff66;">2</span><span style="color:#00ff99;">6</span><span style="color:#00ffcc;">g</span><span style="color:#00ffff;">J</span><span style="color:#00d5ff;">L</span><span style="color:#00aaff;">x</span><span style="color:#0080ff;">7</span><span style="color:#0055ff;">t</span><span style="color:#002bff;">g</span><span style="color:#0000ff;">u</span><span style="color:#1c00ff;">q</span><span style="color:#3800ff;">w</span><span style="color:#5300ff;">n</span><span style="color:#6f00ff;">D</span><span style="color:#8b00ff;">5</span></div> <div><span style="color:#ff0000;">D</span><span style="color:#ff1500;">C</span><span style="color:#ff2a00;">X</span><span style="color:#ff4000;">c</span><span style="color:#ff5500;">J</span><span style="color:#ff6a00;">7</span><span style="color:#ff7f00;">u</span><span style="color:#ff9900;">Q</span><span style="color:#ffb200;">Q</span><span style="color:#ffcc00;">c</span><span style="color:#ffe500;">v</span><span style="color:#ffff00;">X</span><span style="color:#d5ff00;">R</span><span style="color:#aaff00;">8</span><span style="color:#80ff00;">q</span><span style="color:#55ff00;">7</span><span style="color:#2bff00;">A</span><span style="color:#00ff00;">N</span><span style="color:#00ff33;">7</span><span style="color:#00ff66;">2</span><span style="color:#00ff99;">6</span><span style="color:#00ffcc;">g</span><span style="color:#00ffff;">J</span><span style="color:#00d5ff;">L</span><span style="color:#00aaff;">x</span><span style="color:#0080ff;">7</span><span style="color:#0055ff;">t</span><span style="color:#002bff;">g</span><span style="color:#0000ff;">u</span><span style="color:#1c00ff;">q</span><span style="color:#3800ff;">w</span><span style="color:#5300ff;">n</span><span style="color:#6f00ff;">D</span><span style="color:#8b00ff;">5</span></div>
</p> </p>
<h3>PayPal:</h3> <h3>PayPal:</h3>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RBASFDBGMTPME"> <input type="hidden" name="hosted_button_id" value="RBASFDBGMTPME">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form> </form>
<h3>Flattr</h3> <h3>Flattr</h3>
<script id='flattrbtn'>(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=kyledrake&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=100;f.width=100;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('flattrbtn');</script> <script id='flattrbtn'>(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=kyledrake&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=100;f.width=100;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('flattrbtn');</script>
<h4 style="margin-top: 30px; margin-bottom: 30px">Thanks. You are great! <a href="/#new">Now go and make an awesome web site!</a></h4> <h4 style="margin-top: 30px; margin-bottom: 30px">Thanks. You are great! <a href="/#new">Now go and make an awesome web site!</a></h4>
</section>
</article> </article>
</div> <!-- end .content --> </div> <!-- end .content -->

View file

@ -6,10 +6,10 @@
</div> </div>
<div class="content single-Col misc-page"> <div class="content single-Col misc-page">
<article> <article role="article">
<h3>We have automatically been notified of the problem.</h3> <h3>We have automatically been notified of the problem.</h3>
<p> <p>
If you need to add any special information or if this error has not been resolved after a few days, <a href="/contact" title="contact us">contact us</a> and report the problem. Thank you, and our apologies for the inconvenience. If you need to add any special information or if this error has not been resolved after a few days, <a href="/contact" title="contact us">contact us</a> and report the problem. Thank you, and our apologies for the inconvenience.
</p> </p>
</article> </article>
</div> </div>

View file

@ -19,11 +19,11 @@
<h4>Welcome to your Neocities news feed!</h4> <h4>Welcome to your Neocities news feed!</h4>
<p>You aren't following any websites yet! Once you do, updates will show up here and you can like and comment on them. Here are some website suggestions based on your tags, or <a href="/browse">check out all the sites on Neocities!</a></p> <p>You aren't following any websites yet! Once you do, updates will show up here and you can like and comment on them. Here are some website suggestions based on your tags, or <a href="/browse">check out all the sites on Neocities!</a></p>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
@ -32,11 +32,11 @@
<a class="tag" href="http://neocities.org">Art</a> <a class="tag" href="http://neocities.org">Art</a>
<a class="tag" href="http://neocities.org">Cooking</a> <a class="tag" href="http://neocities.org">Cooking</a>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
@ -44,43 +44,43 @@
<a class="tag" href="http://neocities.org">Anime</a> <a class="tag" href="http://neocities.org">Anime</a>
<a class="tag" href="http://neocities.org">Art</a> <a class="tag" href="http://neocities.org">Art</a>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
<a class="tag" href="http://neocities.org">Games</a> <a class="tag" href="http://neocities.org">Games</a>
<a class="tag" href="http://neocities.org">Anime</a> <a class="tag" href="http://neocities.org">Anime</a>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
<a class="tag" href="http://neocities.org">Games</a> <a class="tag" href="http://neocities.org">Games</a>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
<a class="tag" href="http://neocities.org">Games</a> <a class="tag" href="http://neocities.org">Games</a>
<a class="tag" href="http://neocities.org">Anime</a> <a class="tag" href="http://neocities.org">Anime</a>
</div> </div>
<div class="site-suggestion"> <div class="site-suggestion">
<div class="site-portrait"> <div class="site-portrait">
<a href="http://dragonquest.neocities.org"> <a href="http://dragonquest.neocities.org">
<img src="http://neocities.org/site_screenshots/dragonquest.jpg"> <img src="http://neocities.org/site_screenshots/dragonquest.jpg" alt="">
<span class="caption">dragonquest</span> <span class="caption">dragonquest</span>
</a> </a>
</div> </div>
@ -88,9 +88,9 @@
</div> </div>
<% end %> <% end %>
<!-- --------------------------------------------------------------------------------------------------------------------------- --> <!-- --------------------------------------------------------------------------------------------------------------------------- -->
<!-- need to add a class of "first" to the first news-item element --> <!-- need to add a class of "first" to the first news-item element -->
<div class="news-item comment"> <div class="news-item comment">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
@ -138,21 +138,21 @@
</div> </div>
</div> </div>
</div> </div>
<div class="news-item follow"> <div class="news-item follow">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
<a href="" class="user">Foo</a> followed <a href="" class="user">Derp's</a> website<span class="date">7h</span> <a href="" class="user">Foo</a> followed <a href="" class="user">Derp's</a> website<span class="date">7h</span>
</div> </div>
</div> </div>
<div class="news-item tip"> <div class="news-item tip">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
You tipped <a href="" class="user">Derp's</a> website: <a href="" class="comment">Wow, great work here! Please keep updating :)</a><span class="date">Apr 23</span> You tipped <a href="" class="user">Derp's</a> website: <a href="" class="comment">Wow, great work here! Please keep updating :)</a><span class="date">Apr 23</span>
</div> </div>
</div> </div>
<div class="news-item comment"> <div class="news-item comment">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
@ -160,14 +160,14 @@
<span class="date">Apr 20</span> <span class="date">Apr 20</span>
</div> </div>
</div> </div>
<div class="news-item follow"> <div class="news-item follow">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
You followed <a href="" class="user">Derp's</a> website<span class="date">Apr 7</span> You followed <a href="" class="user">Derp's</a> website<span class="date">Apr 7</span>
</div> </div>
</div> </div>
<div class="news-item update"> <div class="news-item update">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
@ -194,11 +194,11 @@
<div class="actions"><a href="">Like (1)</a> <a href="">Reply</a></div> <div class="actions"><a href="">Like (1)</a> <a href="">Reply</a></div>
</div> </div>
</div> </div>
<div class="news-item comment for-me"> <div class="news-item comment for-me">
<div class="title"> <div class="title">
<div class="icon" style="background-image:url(https://neocities.org/site_screenshots/codeventurer.jpg);"></div> <div class="icon" style="background-image:url(https://neocities.org/site_screenshots/codeventurer.jpg);"></div>
<a href="" class="user">Derpie</a> <a href="" class="user">Derpie</a>
<span class="date">Apr 7</span> <span class="date">Apr 7</span>
<div class="comment">Your site is amazing. Very helpful information. Would love to see more updates if you have time. Your site is amazing. Very helpful information. Would love to see more updates if you have time. </div> <div class="comment">Your site is amazing. Very helpful information. Would love to see more updates if you have time. Your site is amazing. Very helpful information. Would love to see more updates if you have time. </div>
</div> </div>
@ -209,11 +209,11 @@
<img class="avatar" src="https://neocities.org/site_screenshots/victoria.jpg"> <img class="avatar" src="https://neocities.org/site_screenshots/victoria.jpg">
<a href="" class="user">victoria</a> Indeed, it's great!<span class="date">Apr 7</span> <a href="" class="user">victoria</a> Indeed, it's great!<span class="date">Apr 7</span>
<div class="actions"><a href="">Like (1)</a></div> <div class="actions"><a href="">Like (1)</a></div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="news-item comment"> <div class="news-item comment">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
@ -221,14 +221,14 @@
<span class="date">Apr 7</span> <span class="date">Apr 7</span>
</div> </div>
</div> </div>
<div class="news-item follow"> <div class="news-item follow">
<div class="title"> <div class="title">
<div class="icon"></div> <div class="icon"></div>
You followed <a href="" class="user">Derp's</a> website<span class="date">Apr 7</span> You followed <a href="" class="user">Derp's</a> website<span class="date">Apr 7</span>
</div> </div>
</div> </div>
<div class="news-item tip for-me"> <div class="news-item tip for-me">
<div class="title"> <div class="title">
<div class="icon" style="background-image:url(https://neocities.org/site_screenshots/victoria.jpg);"></div> <div class="icon" style="background-image:url(https://neocities.org/site_screenshots/victoria.jpg);"></div>
@ -241,7 +241,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col col-33"> <div class="col col-33">
<p class="site-url"><a href="http://<%= current_site.username %>.neocities.org" target="_blank">http://<%= current_site.username %>.neocities.org</a></p> <p class="site-url"><a href="http://<%= current_site.username %>.neocities.org" target="_blank">http://<%= current_site.username %>.neocities.org</a></p>
<div class="stats"> <div class="stats">
@ -252,9 +252,9 @@
<div><strong>3</strong> tips ($13.55)</div> <div><strong>3</strong> tips ($13.55)</div>
</div> </div>
</div> </div>
<a href=""><img src="http://neocities.org/site_screenshots/codeventurer.jpg" style="width:340px" class="large-portrait"></a> <a href=""><img src="http://neocities.org/site_screenshots/codeventurer.jpg" style="width:340px" class="large-portrait"></a>
<h3>Following</h3> <h3>Following</h3>
<div class="following"> <div class="following">
<a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a> <a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a>
@ -272,7 +272,7 @@
<a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a> <a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a>
<a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a> <a href=""><img src="http://neocities.org/site_screenshots/dragonquest.jpg" class="avatar"></a>
</div> </div>
<h3>Tags</h3> <h3>Tags</h3>
<a class="tag" href="http://neocities.org">Games</a> <a class="tag" href="http://neocities.org">Games</a>
<a class="tag" href="http://neocities.org">Anime</a> <a class="tag" href="http://neocities.org">Anime</a>
@ -284,4 +284,4 @@
<a class="tag" href="http://neocities.org">Cooking</a> <a class="tag" href="http://neocities.org">Cooking</a>
</div> </div>
</div></div> </div></div>
</div> </div>

View file

@ -40,16 +40,17 @@
<script src='https://www.google.com/recaptcha/api.js'></script> <script src='https://www.google.com/recaptcha/api.js'></script>
</head> </head>
<body class="hp"><a id="new"></a> <body class="hp">
<a id="new"></a>
<div class="page"> <div class="page">
<header class="header-Base"> <header class="header-Base" role="banner">
<nav class="header-Nav clearfix" role="navigation"> <nav class="header-Nav clearfix" role="navigation">
<a href="#!" title="show small screen nav" class="small-Nav"> <a href="#!" title="show small screen nav" class="small-Nav">
<img src="/img/nav-Icon.png" alt="navigation icon" /> <img src="/img/nav-Icon.png" alt="navigation icon" />
</a> </a>
<ul class="h-Nav constant-Nav"> <ul class="h-Nav constant-Nav" role="presentation">
<li> <li>
<a href="/">Neocities</a> <a href="/">Neocities</a>
</li> </li>
@ -84,7 +85,7 @@
<a href="/settings" class="sign-In">Settings</a> <a href="/settings" class="sign-In">Settings</a>
</li> </li>
<li> <li>
<a href="/signout" class="sign-In">Signout</a> <a href="/signout" class="sign-In">Sign Out</a>
</li> </li>
<% end %> <% end %>
</ul> </ul>
@ -117,25 +118,25 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row header-Content content"> <div class="row header-Content content">
<div class="col intro"> <div class="col intro">
<h2 class="section-header">Create your own free web site, and discover new ones.</h2> <h2 class="section-header">Create your own free web site, and discover new ones.</h2>
<p class="intro-text"> <p class="intro-text">
Neocities is a community of <a href="/browse"><%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> sites</a> that are bringing back the lost individual creativity of the web. We provide free hosting and tools that allow anyone to make a web site. Only your imagination is required. Join us! Neocities is a community of <a href="/browse"><%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> sites</a> that are bringing back the lost individual creativity of the web. We provide free hosting and tools that allow anyone to make a web site. Only your imagination is required. Join us!
</p> </p>
<ul class="intro-List"> <ul class="intro-List">
<li class="intro-Social"> <li class="intro-Social">
<span class="intro-Icon"></span> <span class="intro-Icon"></span>
<h2 class="delta">Share your web creation with the world</h2> <h3 class="delta">Share your web creation with the world</h3>
<p class="base"> <p class="base">
Follow your favorite Neocities sites to keep up with all their latest updates. Discover new websites related to your interests using tags, comment on them, and share them. Unlimited creativity, zero ads. Follow your favorite Neocities sites to keep up with all their latest updates. Discover new websites related to your interests using tags, comment on them, and share them. Unlimited creativity, zero ads.
</p> </p>
</li> </li>
<li class="intro-Tools"> <li class="intro-Tools">
<span class="intro-Icon"></span> <span class="intro-Icon"></span>
<h2 class="delta">Powerful new features to help you build</h2> <h3 class="delta">Powerful new features to help you build</h3>
<p class="base"> <p class="base">
Weve made it easier to build your website and explore other sites. Neocities features an in-browser HTML editor, custom domain support, faster site loading, easy file uploading, RSS feeds, folder support, and much more. Weve made it easier to build your website and explore other sites. Neocities features an in-browser HTML editor, custom domain support, faster site loading, easy file uploading, RSS feeds, folder support, and much more.
</li> </li>
</ul> </ul>
</div> </div>
<div class="col signup-Area"> <div class="col signup-Area">
@ -143,15 +144,15 @@
<div class="signup-Form"> <div class="signup-Form">
<div class="content"> <div class="content">
<h2 class="gamma txt-Center">Build your Website!</h2> <h3 class="gamma txt-Center">Build your Website!</h3>
</div> </div>
<p class="txt-Center"> <p class="txt-Center">
Go to your dashboard to<br> start editing your website! Go to your dashboard to<br> start editing your website!
</p> </p>
<br /> <br />
<div class="txt-Center"> <div class="txt-Center">
<a href="/dashboard" class="btn-Action">Get Started</a> <a href="/dashboard" class="btn-Action">Get Started</a>
</div> </div>
</div> </div>
<% else %> <% else %>
<form id="createSiteForm" class="signup-Form" onsubmit="return false"> <form id="createSiteForm" class="signup-Form" onsubmit="return false">
@ -160,7 +161,7 @@
<h2 class="gamma">Sign up for free</h2> <h2 class="gamma">Sign up for free</h2>
<hr /> <hr />
<div class="siteCreateInputs"> <div class="siteCreateInputs">
<label for="create-Input">Username</label> <label for="create-Input">User Name</label>
<input type="text" name="prevent_autofill_username" id="prevent_autofill_username" value="" style="position:absolute; top:-2000px; left:-2000px;" /> <input type="text" name="prevent_autofill_username" id="prevent_autofill_username" value="" style="position:absolute; top:-2000px; left:-2000px;" />
<input type="password" name="prevent_autofill_password" id="prevent_autofill_password" value="" style="position:absolute; top:-2000px; left:-2000px;" /> <input type="password" name="prevent_autofill_password" id="prevent_autofill_password" value="" style="position:absolute; top:-2000px; left:-2000px;" />
<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" /> <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" />
@ -170,18 +171,34 @@
<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" /> <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" />
<div class="col col-50" style="padding-left:0;"> <div class="col col-50" style="padding-left:0;">
<label for="password-input">Password</label> <label for="password-input">
<input type="password" class="input-Area" id="password-input" name="password" placeholder="password" data-placement="left" data-trigger="manual" autocapitalize="off" autocorrect="off" autocomplete="off" /> Password
</label>
<input type="password" class="input-Area" id="password-input"
name="password" placeholder="password"
data-placement="left" data-trigger="manual"
autocapitalize="off" autocorrect="off" autocomplete="off" />
</div> </div>
<div class="col col-50"> <div class="col col-50">
<label for="email-input">Email</label> <label for="email-input">
<input type="text" class="input-Area" id="email-input" name="email" placeholder="me@example.com" data-placement="left" data-trigger="manual" autocapitalize="off" autocorrect="off" autocomplete="off" /> Email
</label>
<input type="email" class="input-Area"
id="email-input" name="email"
placeholder="me@example.com" data-placement="left"
data-trigger="manual" autocapitalize="off"
autocorrect="off" autocomplete="off" />
</div> </div>
<div class="col col-50" style="padding-left:0;"> <div class="col col-50" style="padding-left:0;">
<label for="g-recaptcha">Confirm you are human</label> <label>
<div id="captcha-input" class="g-recaptcha" data-sitekey="<%= $config['recaptcha_public_key'] %>" data-theme="dark" data-placement="left" data-trigger="manual"></div> Confirm you are human
</label>
<div id="captcha-input" class="g-recaptcha"
data-sitekey="<%= $config['recaptcha_public_key'] %>"
data-theme="dark" data-placement="left" data-trigger="manual">
</div>
</div> </div>
<div class="col col-50"> <div class="col col-50">
@ -256,7 +273,7 @@
<p>Follow your favorite sites and see when they get updated. Easily form communities of sites using site tags. Web Rings, reloaded.</p> <p>Follow your favorite sites and see when they get updated. Easily form communities of sites using site tags. Web Rings, reloaded.</p>
</div> </div>
</div> </div>
<div class="row content right"> <div class="row content right">
<div class="col col-50"><div class="screenshot"></div></div> <div class="col col-50"><div class="screenshot"></div></div>
<div class="col col-50 text"> <div class="col col-50 text">
@ -278,12 +295,20 @@
--> -->
<section class="section features"> <section class="section features">
<h2 class="delta">Our mission: To make the web fun again by giving you back control of how you express yourself online.</h2> <h2 class="delta">
<h2 class="delta"><img style="margin-top: .5em;" src="/img/front-editor-screenshot.png"></h2> Our mission: To make the web fun again by giving you back control of how you express yourself online.
</h2>
<img style="margin-top: .5em; max-width: 80%;" src="/img/front-editor-screenshot.png" alt="screen shot of neocities code editor" />
<div class="row"> <div class="row">
<div class="col col-50"> <div class="col col-50">
<h3><i class="fa fa-eye-slash"></i>Zero advertising</h3> <h3>
<p>Neocities will never sell your personal data or embed advertising on your site. Instead, we are funded directly by our community through <a href="/plan">supporter plans</a> and <a href="/donate">donations</a>. This allows us to base all our decisions on making the best possible web building experience for you, rather than on appeasing ad companies.</p> <i class="fa fa-eye-slash"></i>Zero advertising
</h3>
<p>
Neocities will never sell your personal data or embed advertising on your site. Instead, we are funded directly by our community through <a href="/plan">supporter plans</a> and <a href="/donate">donations</a>. This allows us to base all our decisions on making the best possible web building experience for you, rather than on appeasing ad companies.
</p>
</div> </div>
@ -306,7 +331,7 @@
</div> </div>
<div class="col col-100"> <div class="col col-100">
<div class="row press"> <div class="row press">
<a href="http://www.wired.com/2013/07/neocities/" class="logo wired"></a> <a href="http://www.wired.com/2013/07/neocities/" class="logo wired"></a>
@ -319,12 +344,12 @@
<h3> <h3>
"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>" "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>"
<br /> <br />
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>— 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>
</h3> </h3>
</div> </div>
</div> </div>
</section> </section>
<% # erb :'plan/_pricing' %> <% # erb :'plan/_pricing' %>
<section class="section bottom-signup"> <section class="section bottom-signup">
@ -332,44 +357,44 @@
</section> </section>
</main> </main>
<footer class="footer-Base"> <footer class="footer-Base" role="contentinfo">
<section class="footer-Intro"> <div class="footer-Intro">
<div class="footer-Content"> <div class="footer-Content">
<div class="row"> <div class="row">
<div class="col col-33"> <div class="col col-33">
<div class="f-Col f-Col-1 clearfix"> <div class="f-Col f-Col-1 clearfix">
<span class="footer-icon"></span> <span class="footer-icon"></span>
<h2 class="delta">Support Us</h2> <h2 class="delta">Support Us</h2>
<p class="tiny"> <p class="tiny">
Neocities is funded by <a href="/plan">supporters</a> and <a href="/donate">donations</a>. If youd like to contribute, you can help us pay our server costs using credit card, Bitcoin, or PayPal. Neocities is funded by <a href="/plan">supporters</a> and <a href="/donate">donations</a>. If youd like to contribute, you can help us pay our server costs using credit card, Bitcoin, or PayPal.
</p> </p>
<a href="/donate" title="Donate to Neocities" class="action-Link">Donate Today</a> <a href="/donate" title="Donate to Neocities" class="action-Link">Donate Today</a>
</div> </div>
</div> </div>
<div class="col col-33"> <div class="col col-33">
<div class="f-Col f-Col-2 clearfix"> <div class="f-Col f-Col-2 clearfix">
<span class="footer-icon"></span> <span class="footer-icon"></span>
<h2 class="delta">About Us</h2> <h2 class="delta">About Us</h2>
<p class="tiny"> <p class="tiny">
Neocities is here to bring back the creativity and Neocities is here to bring back the creativity and
free expression to the world wide web that made it great. free expression to the world wide web that made it great.
</p> </p>
<a href="/about" title="More about Neocities" class="action-Link">More About Us</a> <a href="/about" title="More about Neocities" class="action-Link">More About Us</a>
</div> </div>
</div> </div>
<div class="col col-33"> <div class="col col-33">
<div class="f-Col f-Col-3 clearfix"> <div class="f-Col f-Col-3 clearfix">
<span class="footer-icon"></span> <span class="footer-icon"></span>
<h2 class="delta">Latest News</h2> <h2 class="delta">Latest News</h2>
<p class="tiny"> <p class="tiny">
The latest news on Neocities can be found on our blog. The latest news on Neocities can be found on our blog.
</p> </p>
<a href="/blog" title="Read about Neocities news and updates" class="action-Link">Read More</a> <a href="/blog" title="Read about Neocities news and updates" class="action-Link">Read More</a>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
</div>
</section>
<%== erb :'_footer', layout: false%> <%== erb :'_footer', layout: false%>
</footer> </footer>

View file

@ -1,24 +1,25 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>Page Not Found (404)</h1> <h1>Page Not Found (404)</h1>
<h3 class="subtitle"></h3>
</div> </div>
</div> </div>
<div class="content single-Col misc-page"> <div class="content single-Col misc-page">
<article> <article role="article">
<div class="txt-Center"><img src="/img/cat-larger.png"></div> <div class="txt-Center">
<img src="/img/cat-larger.png" alt="the neocities cat" />
</div>
<p> <p>
Penelope the Neocities Cat tried very hard to locate the page you were looking for, but she couldn't find it. She's an awesome sysadmin. If she couldn't find it, it's probably not there. Penelope the Neocities Cat tried very hard to locate the page you were looking for, but she couldn't find it. She's an awesome sysadmin. If she couldn't find it, it's probably not there.
</p> </p>
<p> <p>
If you believe this to be in error, please <a href="/contact" title="contact us">contact us</a> and report the problem. Thank you! If you believe this to be in error, please <a href="/contact" title="contact us">contact us</a> and report the problem. Thank you!
</p> </p>
<% if request.referer %> <% if request.referer %>
<div class="txt-Center"> <div class="txt-Center">
<a class="btn-Action" href="<%= request.referer %>">Go Back</a> <a class="btn-Action" href="<%= request.referer %>">Go Back</a>
</div> </div>
<% end %> <% end %>
</article> </article>
</div> </div>

View file

@ -1,6 +1,6 @@
<div class="header-Outro"> <div class="header-Outro">
<div class="row content single-Col"> <div class="row content single-Col">
<h1>Reset Password</h1> <h1>Reset Password</h1>
</div> </div>
</div> </div>
@ -10,11 +10,11 @@
Note: If you provided your e-mail, you can reset your password. If you didn't, you will not be able to reset your password, and instead should create a new account. We cannot change a password without an entered email for security reasons. Note: If you provided your e-mail, you can reset your password. If you didn't, you will not be able to reset your password, and instead should create a new account. We cannot change a password without an entered email for security reasons.
</p> </p>
<form method="POST" action="/send_password_reset" class="content"> <form method="post" action="/send_password_reset" class="content">
<fieldset> <fieldset>
<input name="csrf_token" type="hidden" value="<%= csrf_token %>"> <input name="csrf_token" type="hidden" value="<%= csrf_token %>">
<input name="email" type="email" class="input-Area" placeholder="Your email" style="width: 300px"> <input name="email" type="email" class="input-Area" placeholder="Your email" style="width: 300px">
</fieldset> </fieldset>
<input class="btn-Action" type="submit" value="Send Reset Token"> <input class="btn-Action" type="submit" value="Send Reset Token">
</form> </form>
</div> </div>