Commits

Scott Nixon  committed 48db88f

Update the landing page text and layout

  • Participants
  • Parent commits df7a7a1

Comments (0)

Files changed (3)

File meals/requirements.txt

-Django>=1.2
+Django==1.2.5

File meals/settings.py

     }
 }
 
-# Local time zone for this installation. Choices can be found here:
-# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
-# although not all choices may be available on all operating systems.
-# On Unix systems, a value of None will cause Django to use the same
-# timezone as the operating system.
-# If running in a Windows environment this must be set to the same as your
-# system time zone.
 TIME_ZONE = 'America/New_York'
-
-# Language code for this installation. All choices can be found here:
-# http://www.i18nguy.com/unicode/language-identifiers.html
 LANGUAGE_CODE = 'en-us'
-
 SITE_ID = 1
-
-# If you set this to False, Django will not format dates, numbers and
-# calendars according to the current locale
 USE_L10N = True
-
-# Absolute path to the directory that holds media.
-# Example: "/home/media/media.lawrence.com/"
 MEDIA_ROOT = ''
-
-# URL that handles the media served from MEDIA_ROOT. Make sure to use a
-# trailing slash if there is a path component (optional in other cases).
-# Examples: "http://media.lawrence.com", "http://example.com/media/"
 MEDIA_URL = ''
-
-# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
-# trailing slash.
-# Examples: "http://foo.com/media/", "/media/".
 ADMIN_MEDIA_PREFIX = '/media/'
 
 # Make this unique, and don't share it with anybody.
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
-    # Always use forward slashes, even on Windows.
-    # Don't forget to use absolute paths, not relative paths.
 )
 
 INSTALLED_APPS = (

File meals/signup/templates/index.html

        Remove this if you use the .htaccess -->
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 
-  <title>You deserve a personal chef thats affordable - Mellow Meals</title>
-  <meta name="description" content="Mellow Meals will feed you 5 healthy meals, for less than the average cost of eating-out once; and we deliver. We are your healthy personal chef!">
+  <title>You deserve a personal chef thats affordable - Meal Revolution</title>
+  <meta name="description" content="Meal Revolution will feed you 5 healthy meals, for less than the average cost of eating-out once; and we deliver. We are your healthy personal chef!">
   <meta name="author" content="Lindsay Nixon and Scott Nixon">
 
   <!-- Mobile viewport optimized: j.mp/bplateviewport -->
 
   <!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects
   <script src="js/libs/modernizr-1.7.min.js"></script> -->
-<link  href="http://fonts.googleapis.com/css?family=Pacifico:regular" rel="stylesheet" type="text/css" >
+<link  href="http://fonts.googleapis.com/css?family=Oswald:regular" rel="stylesheet" type="text/css" >
 <link href='http://fonts.googleapis.com/css?family=Bentham' rel='stylesheet' type='text/css'>
 <style>
 body {
     font-family: 'Bentham', arial, serif;
+    background-color: #eee;
 }
 #container header h1 {
-  font-family: 'Pacifico', serif;
+  font-family: 'Oswald', serif;
   font-size: 72px;
   font-style: normal;
   font-weight: 400;
 }
 #container {
     margin: 1em auto;
-    width: 400px;
+    width: 500px;
 }
-
+a { 
+    color: #C04019;
+    text-decoration: none;
+}
+a:hover {
+color: #C04019;
+}
 </style>
 
 </head>
 
   <div id="container">
     <header>
-      <h1>mellow meals</h1>
+      <h1>Meal Revolution</h1>
+      
       <p class="mission">
-	Mellow Meals will feed you 5 healthy meals, for less than the average cost of eating-out <strong>once</strong>; and we deliver. We are your healthy personal chef in NYC!
+	Meal Revolution will feed you 5 healthy meals, for less than the average cost of eating-out <strong>once</strong>; and we deliver. We are your healthy personal chef in NYC!
       </p>
       <p class="mission">
 	Delivering in Summer 2011
       </p>
+      <p><a href="http://blog.mealrevolution.com/">Blog</a> + <a href="http://makingarevolution.tumblr.com/">The Making of MR</a></p>
     </header>
     <div id="main" role="main">
+    </div>
+    <footer>
+
+    </footer>
+
 <!-- Begin MailChimp Signup Form -->
 <!--[if IE]>
 <style type="text/css" media="screen">
 </style>
 <![endif]-->
 
-<div id="mc_embed_signup">
-<form action="http://happyherbivore.us1.list-manage1.com/subscribe/post?u=9f583084c8894f99b6706eb11&amp;id=ef44a71ecb" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="font: normal 100% Arial, sans-serif;font-size: 10px;">
+<div id="mc_embed_signup" style="margin: 1.5em 0;">
+<form action="http://mealrevolution.us2.list-manage2.com/subscribe/post?u=e490e3c758b46ea7424a6caec&amp;id=940dcf3b20" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="font: normal 100% Arial, sans-serif;font-size: 10px;">
 	<fieldset style="-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;border: 1px solid #ccc;padding-top: 1.5em;margin: .5em 0;background-color: #fff;color: #000;text-align: left;">
-	<legend style="white-space: normal;text-transform: capitalize;font-weight: bold;color: #000;background: #fff;padding: .5em 1em;border: 1px solid #ccc;-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;font-size: 1.2em;"><span>Join Our Mailing List</span></legend>
-<div class="indicate-required" style="text-align: right;font-style: italic;overflow: hidden;color: #000;margin: 0 9% 0 0;">* indicates required</div>
+	
 <div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
-<label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address <strong class="note-required">*</strong>
-</label>
+<label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address </label>
 <input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
 </div>
-<div align="center"><script type="text/javascript" src="http://happyherbivore.us1.list-manage.com/subscriber-count?b=1&u=ad13ce3d-cfd1-48f1-8fa3-42d3f7d59550&id=ef44a71ecb"></script></div>		<div id="mce-responses" style="float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;">
+		<div id="mce-responses" style="float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;">
 			<div class="response" id="mce-error-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: FBE3E4;color: #D12F19;"></div>
 			<div class="response" id="mce-success-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: #E3FBE4;color: #529214;"></div>
 		</div>
 	<a href="#" id="mc_embed_close" class="mc_embed_close" style="display: none;">Close</a>
 </form>
 </div>
-<script  type="text/javascript">
+<script type="text/javascript">
+var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';
 try {
     var jqueryLoaded=jQuery;
     jqueryLoaded=true;
 } catch(err) {
     var jqueryLoaded=false;
 }
+var head= document.getElementsByTagName('head')[0];
 if (!jqueryLoaded) {
-    var head= document.getElementsByTagName('head')[0];
-    var script= document.createElement('script');
-    script.type= 'text/javascript';
-    script.src= 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
-    head.appendChild(script);    
+    var script = document.createElement('script');
+    script.type = 'text/javascript';
+    script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
+    head.appendChild(script);
+    if (script.readyState && script.onload!==null){
+        script.onreadystatechange= function () {
+              if (this.readyState == 'complete') mce_preload_check();
+        }    
+    }
 }
-</script>
-<script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.form-n-validate.js"></script>
-
-<script type="text/javascript">
-var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';var err_style = '';
+var script = document.createElement('script');
+script.type = 'text/javascript';
+script.src = 'http://downloads.mailchimp.com/js/jquery.form-n-validate.js';
+head.appendChild(script);
+var err_style = '';
 try{
     err_style = mc_custom_error_style;
 } catch(e){
   style.appendChild(document.createTextNode('.mce_inline_error {' + err_style + '}'));
 }
 head.appendChild(style);
-$(document).ready( function($) {
-  var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };
-  var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
-  options = { url: 'http://happyherbivore.us1.list-manage.com/subscribe/post-json?u=9f583084c8894f99b6706eb11&id=ef44a71ecb&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
-                beforeSubmit: function(){
-                    $('#mce_tmp_error_msg').remove();
-                    $('.datefield','#mc_embed_signup').each(
-                        function(){
-                            var txt = 'filled';
-                            var fields = new Array();
-                            var i = 0;
-                            $(':text', this).each(
-                                function(){
-                                    fields[i] = this;
-                                    i++;
-                                });
-                            $(':hidden', this).each(
-                                function(){
-                                	if ( fields[0].value=='MM' && fields[1].value=='DD' && fields[2].value=='YYYY' ){
-                                		this.value = '';
-									} else if ( fields[0].value=='' && fields[1].value=='' && fields[2].value=='' ){
-                                		this.value = '';
-									} else {
-	                                    this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
-	                                }
-                                });
-                        });
-                    return mce_validator.form();
-                }, 
-                success: mce_success_cb
-            };
-  $('#mc-embedded-subscribe-form').ajaxForm(options);
+setTimeout('mce_preload_check();', 250);
 
-});
+var mce_preload_checks = 0;
+function mce_preload_check(){
+    if (mce_preload_checks>40) return;
+    mce_preload_checks++;
+    try {
+        var jqueryLoaded=jQuery;
+    } catch(err) {
+        setTimeout('mce_preload_check();', 250);
+        return;
+    }
+    try {
+        var validatorLoaded=$("#fake-form").validate({});
+    } catch(err) {
+        setTimeout('mce_preload_check();', 250);
+        return;
+    }
+    mce_init_form();
+}
+function mce_init_form(){
+    $(document).ready( function($) {
+      var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };
+      var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
+      options = { url: 'http://mealrevolution.us2.list-manage.com/subscribe/post-json?u=e490e3c758b46ea7424a6caec&id=940dcf3b20&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
+                    beforeSubmit: function(){
+                        $('#mce_tmp_error_msg').remove();
+                        $('.datefield','#mc_embed_signup').each(
+                            function(){
+                                var txt = 'filled';
+                                var fields = new Array();
+                                var i = 0;
+                                $(':text', this).each(
+                                    function(){
+                                        fields[i] = this;
+                                        i++;
+                                    });
+                                $(':hidden', this).each(
+                                    function(){
+                                    	if ( fields[0].value=='MM' && fields[1].value=='DD' && fields[2].value=='YYYY' ){
+                                    		this.value = '';
+									    } else if ( fields[0].value=='' && fields[1].value=='' && fields[2].value=='' ){
+                                    		this.value = '';
+									    } else {
+	                                        this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
+	                                    }
+                                    });
+                            });
+                        return mce_validator.form();
+                    }, 
+                    success: mce_success_cb
+                };
+      $('#mc-embedded-subscribe-form').ajaxForm(options);      
+      
+    });
+}
 function mce_success_cb(resp){
     $('#mce-success-response').hide();
     $('#mce-error-response').hide();
         }
     }
 }
+
 </script>
 <!--End mc_embed_signup-->
-    </div>
-    <footer>
 
-    </footer>
+    <div style="">
 
-    <div>
-      <a href="http://www.twitter.com/mellowmeals"><img src="http://twitter-badges.s3.amazonaws.com/twitter-b.png" alt="Follow Mellow Meals on Twitter"/></a>
+<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMeal-Revolution%2F166613143393252&amp;width=292&amp;colorscheme=light&amp;show_faces=false&amp;stream=false&amp;header=false&amp;height=62" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe>
+
+
+      <a href="http://www.twitter.com/mealrev"><img width="170px" style="vertical-align: top; margin-top: 1em;" src="http://a2.twimg.com/a/1303834694/images/logos/logo_twitter_withbird_1000_allblue.png" alt="Follow Meal Revolution on Twitter"/></a>
 
     </div>
 
+
   </div> <!--! end of #container -->
 
 
   <!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
   <script>
-    var _gaq=[['_setAccount','UA-21382638-1'],['_trackPageview']];
+    var _gaq=[['_setAccount','UA-22630401-1'],['_trackPageview']];
     (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
     g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
     s.parentNode.insertBefore(g,s)}(document,'script'));