Skip to content

Commit

Permalink
A simple landing page to index the signup forms
Browse files Browse the repository at this point in the history
  • Loading branch information
slaporte committed Jan 21, 2014
0 parents commit d68e242
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Weeklypedia-landing

Landing page for [Weeklypedia](https://github.com/hatnote/weeklypedia) signups.
9 changes: 9 additions & 0 deletions conf/weekly.nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
server {
server_name weekly.hatnote.com;
listen 80;
root /home/hatnote/weeklypedia-landing/static/;
access_log /home/hatnote/weeklypedia-landing/logs/access.log combined buffer=128k flush=10s;
error_log /home/hatnote/weeklypedia-landing/logs/error.log;

expires 1d;
}
Binary file added static/.DS_Store
Binary file not shown.
Binary file added static/css/.DS_Store
Binary file not shown.
64 changes: 64 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
body {
margin: 5em 0;
background-color: rgb(237, 224, 206);
}
article, header {
background-color: #fff;
color: #222222;
margin: auto;
padding: 1.5em;
width: 600px;
}
header {
background-color: #fff;
text-align: center;
}
header h1 {
border-top: 1px solid #222222;
color: #222;
margin: 1em 0 0 0;
}
header h1 span {
background: #fff;
padding: 0 20px;
position: relative;
top: -20px;
}
header p {
font-style: italic;
margin-top: -10px;
}
section.announce {
width: 600px;
padding: 0.1em 1.5em;
margin: 0 auto;
background: rgb(245, 245, 245);
}
section.announce p {
padding: 0.5em;
font: 800 12pt serif;
}
section.announce .date {
font: 300 12pt serif;
}
p {
color: #666;
line-height: 1.5em;
font: 400 12pt serif;
}
h2 {
margin: 0;
}
a {
color: #348eda;
}
a:hover {
color: red;
}
.buttons li {
font: 400 12pt serif;
line-height: 1.5em;
}
.button {
width: 20em;
}
50 changes: 50 additions & 0 deletions static/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<html>
<head>
<title>Weeklypedia</title>
<meta name="description" content="A weekly email digest with the most active Wikipedia articles">
<meta name="keywords" content="Wikipedia,email,digest,top,weeklypedia,hatnote">
<meta charset="utf-8" />
<link href="css/style.css" rel="stylesheet" media="all">

</head>
<body>
<header>
<h1><span>Weeklypedia</span> </h1>
<p>A list the most edited Wikipedia articles and discussions from the last week.</p>
<p>Delivered every friday by email.</p>
</header>
<section class="announce">
<p>Next issue: <span class="date">January 24, 2013 (Volume 1)</span></p>
</section>
<article>
<section>
<h2>Sign up!</h2>
<p>Join a list to receive a weekly email with the top twenty Wikipedia articles and top five Wikipedia discussions from this week.</p>
<ul class="buttons">
<li><a href="http://eepurl.com/MMlpX">English Wikipedia Edition</a></li>
<li><a href="http://eepurl.com/MMlG9">German Wikipedia Edition</a></li>
<li><a href="http://eepurl.com/MMmVX">French Wikipedia Edition</a></li>
<li><a href="http://eepurl.com/MMm8n">Korean Wikipedia Edition</a></li>
<li><a href="http://eepurl.com/MMnlf">Estonian Wikipedia Edition</a></li>
</ul>
</section>
<section>
<h2>Other lanugages</h2>
<p>Wikipedia is available in over 280 languages. To request a list in any other language (or help internationalizing the template text) please <a href="mailto:[email protected]">email me</a> or submit an <a href="https://github.com/hatnote/weeklypedia/issues">issue on github</a>.
</section>
<section>
<h2>About</h2>
<p>This project retrieves a list of the week's recent changes using <a href="http://tools.wmflabs.org/">Wikimedia Tool Labs</a>, and delivers emails using MailChimp. Code and more information <a href="https://github.com/hatnote/weeklypedia">available on github</a>. Built by <a href="https://github.com/slaporte">Stephen LaPorte</a> and <a href="https://github.com/mahmoud">Mahmoud Hashemi</a>.</p>
<p><a href="http://blog.hatnote.com/">Learn more on the Hatnote blog</a>.</p>
</section>
</article>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40320359-1', 'hatnote.com');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit d68e242

Please sign in to comment.