fix merge cflct

This commit is contained in:
Kyle Drake 2014-12-15 12:28:49 -08:00
commit f69312e42e
5 changed files with 42 additions and 35 deletions

View file

@ -30,7 +30,7 @@ class Site < Sequel::Model
audio/midi
}
VALID_EXTENSIONS = %w{
html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff json
html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff woff2 json
geojson csv tsv mf ico pdf asc key pgp xml mid midi
}

View file

@ -145,8 +145,10 @@
border-radius:4px 4px 0 0;
@include box-shadow($signupShadow);
height:700%;
float: left;
position:absolute;
top: -40px;
margin-bottom: 15px;
@media (max-device-width:480px), screen and (max-width:800px){
height:auto;
@ -154,7 +156,7 @@
overflow:visible;
padding-bottom:20px;
position:static;
width:auto;
width:100%;
}
h2{
@ -166,12 +168,13 @@
hr{
border-bottom:1px solid #4a6677;
border-top:1px solid #1d282d;
margin:4px 0 26px;
margin: 4px 0 21px;
}
fieldset{
background:url(/img/sign-up-bg.png) repeat-x center top;
padding: 25px 33px;
background:url(/img/sign-up-bg.png) repeat-x center top;
border-radius: 4px 4px 0 0;
}
label{
@ -180,7 +183,7 @@
label#domain-name {
display: inline;
vertical-align: 51%;
vertical-align: 8px;
color: #C2CFD4;
}
@ -189,7 +192,7 @@
border:0 solid black;
@include box-shadow($inputAreaShadow);
color:#C2CFD4;
margin-bottom:27px;
margin-bottom: 21px;
margin-right:$spacing;
padding: 10px 10px 7px 10px;
width:100%;
@ -215,10 +218,6 @@
padding:10px 25px;
margin-top: 2em;
font-size: 1em;
@media (max-device-width:480px), screen and (max-width:800px){
margin-top: 0;
}
}
}

View file

@ -1101,10 +1101,8 @@ a.tag:hover {
background: #4F7E89;
text-align: center;
.row:first-child {
@media (max-device-width:480px), screen and (max-width:800px){
margin-bottom: 0;
}
.row:first-of-type {
margin-bottom: 0;
}
}
.section.features .col {
@ -1116,6 +1114,7 @@ a.tag:hover {
@media (max-device-width:480px), screen and (max-width:800px){
padding-left: 20px;
width: 100%;
}
}
@ -1181,6 +1180,9 @@ a.tag:hover {
@media (max-width:1170px) and (min-width:900px){
width: 170px;
}
@media (max-device-width:480px), screen and (max-width:900px){
margin-right: auto!important;
}
}
.section .logo.fastco {
width: 262px;
@ -1221,6 +1223,7 @@ a.tag:hover {
margin: 0 auto .5em auto;
h3 {
margin-top: .5em;
text-align: center;
font-style: italic;
font-size: 1.4em;
@ -1397,10 +1400,15 @@ a.tag:hover {
}
}
.section.bottom-signup {
padding-top: 1em;
padding-bottom: 6.5em;
// padding-top: 1em;
// padding-bottom: 6.5em;
padding-top: 0;
background: #4F7E89;
padding-bottom: 7em;
a {
color: white;
text-decoration: underline;
font-weight:bold;
&:hover {
@ -1408,6 +1416,7 @@ a.tag:hover {
}
}
h2 {
color: white;
max-width: none;
}
}

View file

@ -119,21 +119,21 @@
<div class="col intro">
<h2 class="section-header">Create your own free web site, and discover new ones.</h2>
<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 by giving everyone in the world free web space. Anyone can make a 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>
<ul class="intro-List">
<li class="intro-Social">
<span class="intro-Icon"></span>
<h2 class="delta">Share your web creation with the world</h2>
<p class="base">
Follow your favorite Neocities sites to keep up with all their latest updates. Discover new websites related to your interests using Site 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>
</li>
<li class="intro-Tools">
<span class="intro-Icon"></span>
<h2 class="delta">Powerful new features to help you build</h2>
<p class="base">
Weve made it easier to build your website and explore other sites. Neocities has an in-browser HTML editor, custom domain support, tag browsing (webrings), faster site loading, easy file uploading, RSS, subdirectory 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>
</ul>
</div>
@ -180,8 +180,8 @@
</div>
<div class="col col-50" style="padding-left:0;">
<label for="g-recaptcha">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>
<label for="g-recaptcha">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 class="col col-50">
@ -278,30 +278,30 @@
-->
<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"><img src="/img/front-editor-screenshot.png"></h2>
<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"><img style="margin-top: .5em;" src="/img/front-editor-screenshot.png"></h2>
<div class="row">
<div class="col col-50">
<h3><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 <a href="/plan">supporter</a> and <a href="/donate">donation</a> driven.</p>
<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 class="col col-50">
<h3><i class="fa fa-tachometer"></i>More space, speed, and security</h3>
<p>Neocities now uses distributed, globally-cached web servers in datacenters all over the world to serve your site. Whether its your personal home page, or a busy professional site, your site loads fast. And if you need more space, <a href="/plan">we've got you covered</a>. We also provide Snowden-grade SSL cryptography on all sites, preventing snoops from seeing what you browse.</p>
<p>Neocities now uses distributed, globally-cached web servers in datacenters all over the world to serve your site. Whether its your personal home page or a busy professional site, your site loads fast. And if you need more space, <a href="/plan">we've got you covered</a>. We also provide Snowden-grade SSL cryptography on all sites, preventing snoops from seeing what you browse.</p>
</div>
</div>
<div class="row">
<div class="col col-50">
<h3><i class="fa fa-wrench"></i>Developer tools</h3>
<p>We have an in-browser HTML editor, file uploading, mounting your site to your computer (just like Dropbox), powerful APIs for building developer applications, and much more!</p>
<p>We have an in-browser HTML editor, easy file uploading, WebDAV publishing, support for custom domains, RSS feeds for every site, powerful APIs for building developer applications, and much more!</p>
</div>
<div class="col col-50">
<h3><i class="fa fa-university"></i>Open Company</h3>
<p>Neocities is a member of the <a href="http://www.opencompany.org/" target="_blank">Open Company Initative</a>, working to help improve trustability in tech companies. We <a href="https://github.com/neocities" target="_blank">publish</a> the code that powers the site for inspection, and strive for openness in our company's operations. We want to win your trust - not lock you in.</p>
<p>Neocities is a member of the <a href="http://www.opencompany.org/" target="_blank">Open Company Initative</a>, working to help improve trustability in tech companies. We <a href="https://github.com/neocities" target="_blank">publish</a> the code that powers the site for inspection, and strive for openness in our company's operations. We want to win your trustnot lock you in.</p>
</div>
@ -341,8 +341,7 @@
<span class="footer-icon"></span>
<h2 class="delta">Support Us</h2>
<p class="tiny">
Neocities is funded exclusively by supporters and donations. If youd like to contribute, you can help us
pay our server costs using CC, 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>
<a href="/donate" title="Donate to Neocities" class="action-Link">Donate Today</a>
</div>

View file

@ -13,24 +13,24 @@
<li>JavaScript (.js, .json, .geojson)</li>
<li>CSS (.css)</li>
<li>Text (.txt, .text, .csv, .tsv)</li>
<li>Web Fonts (.eot, .ttf, .woff, .svg)</li>
<li>Web Fonts (.eot, .ttf, .woff, .woff2, .svg)</li>
<li>MIDI Files (.mid, .midi)</li>
</ul>
<h2>Why are there restricted file types?</h2>
<p>
<strong>At the moment, Neocities is trying to grow sustainably.</strong> Our goal is to provide you with a free web site so you can arrange content in any way you want. In order to make sure we can continue to do this, we need to put in place measures to prevent Neocities from becoming a "file dump host". We don't currently have the resources to deal with preventing this from happening if we let users upload anything they want, so the temporary solution for now is to only allow file types that we know are useful for making web sites.
<p>For example, allowing users to host executable (EXE) files provides a way for attackers to host malicious content, and we want to minimize that. Also, if the site starts being used to host malicious content, it is possible that search engines like Google will punish us in rankings, or that our datacenter operators would tell us we can't do business with them, which would affect everyone's site on Neocities.
</p>
<p>
MP3 music and MP4 video has similar problems, because if the uploaded content became very popular ("goes viral"), it would overwhelm our servers and make our bandwidth much more costly. And hosting rich-media content directly is almost never the best way to do it. <a href="http://soundcloud.com">Soundcloud</a> provides a great way to host music, and <a href="http://youtube.com">Youtube</a> does a very good job with taking your video, processing it, making sure it works on all browsers, and then provides an easy way for you to embed that content in your web page.
</p>
<p>
If you have a file type you believe should be allowed, please <a href="/contact">contact us</a> and we will see if we can put it in for you.
</p>
<p>
We are working on upgrading our infrastructure to deal with these problems more effectively (such as automatic virus scanning for executables, and using globally-distributed site caching to improve performance for sites and increase our bandwidth capabilities). Until then, we have a whitelist of allowed file types, but we will let you know if this changes in the future (and we expect it to). Thank you for your understanding and patience.
</p>
@ -42,4 +42,4 @@
<p>
Keep in mind that it's still better to host things like videos on Youtube. They've spent a lot of time and invested a lot of money into building a platform for sharing high-bandwidth video very efficiently all over the world, which is not something we have the capital to perfect. And they don't charge you for bandwith, even if your video becomes very popular (infact, you can make money by sharing their advertising revenue with them).
</p>
</div>
</div>