Permalink
Browse files

first part of winh

  • Loading branch information...
1 parent 7b6938f commit 104f0db7d1516f80057f06d107be29b54534181d Tammer Saleh committed Aug 23, 2011
Showing with 191 additions and 7 deletions.
  1. +2 −4 Gemfile
  2. +7 −3 Gemfile.lock
  3. +87 −0 views/warisnothell.com/index.haml
  4. +94 −0 views/warisnothell.com/screen.scss
  5. +1 −0 views/warisnothell.local
View
@@ -1,11 +1,9 @@
source :rubygems
-#gem 'sinatra', :git => "git://github.com/sinatra/sinatra.git"
+
gem 'sinatra'
-
gem 'haml'
gem 'sass'
-gem "shotgun"
gem "RedCloth"
gem "heroku"
-
+gem "thin"
View
@@ -3,6 +3,8 @@ GEM
specs:
RedCloth (4.2.7)
configuration (1.2.0)
+ daemons (1.1.4)
+ eventmachine (0.12.10)
haml (3.1.1)
heroku (2.1.1)
launchy (>= 0.3.2)
@@ -17,12 +19,14 @@ GEM
rest-client (1.6.1)
mime-types (>= 1.16)
sass (3.1.1)
- shotgun (0.9)
- rack (>= 1.0)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
term-ansicolor (1.0.5)
+ thin (1.2.11)
+ daemons (>= 1.0.9)
+ eventmachine (>= 0.12.6)
+ rack (>= 1.0.0)
tilt (1.3.2)
PLATFORMS
@@ -33,5 +37,5 @@ DEPENDENCIES
haml
heroku
sass
- shotgun
sinatra
+ thin
@@ -0,0 +1,87 @@
+!!! 5
+%head
+ %title War is not Hell
+
+ %meta{:content=>"SCA, war, boffer, LARP, Dungeons and Dragons, heavy weapons, archery, medieval reenactment", :name=>"keywords"}
+ %meta{:content=>"Share the dream of medieval war.", :name=>"description"}
+ %script{:type=>"text/javascript", :src=>"javascript/jquery-1.4.2.min.js"}
+ %script{:type=>"text/javascript", :src=>"javascript/application.js"}
+ %link{:rel=>"stylesheet", :href=>"blueprint/screen.css", :type=>"text/css", :media=>"screen"}
+ %link{:rel=>"stylesheet", :href=>"screen.css", :type=>"text/css", :media=>"screen"}
+ -# %link{:href=>'http://fonts.googleapis.com/css?family=Oswald', :rel=>'stylesheet', :type=>'text/css'}
+ -# %link{:href=>'http://fonts.googleapis.com/css?family=Allerta+Stencil', :rel=>'stylesheet', :type=>'text/css'}
+ -# %link{:href=>'http://fonts.googleapis.com/css?family=Just+Another+Hand', :rel=>'stylesheet', :type=>'text/css'}
+%body
+ .container
+ .launching_soon
+ %h2 We're working hard to launch as soon as possible!
+ #banner
+ %h1 War is not Hell!
+ %h3.tagline
+ %p Share the dream of medieval war.
+ .span-1
+ &nbsp;
+ #inner.span-22
+ #middle
+ %hr
+ .span-22.last
+ .main_description.span-11
+ %p
+ Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
+ %p
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
+ .span-11.last
+ .signup_form
+ :erb
+ <a href="https://tammersaleh.wufoo.com/forms/r7x3s5/" onclick="window.open(this.href, null, 'height=242, width=680, toolbar=0, location=0, status=1, scrollbars=1, resizable=1'); return false" title="Be the first to join War is not Hell!">Sign up to be invited to the private beta!</a>
+ #features
+ %hr
+ #feature_map.feature.span-11
+ .inner
+ %h3.title
+ Cool feature #1!
+ %p.description
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
+
+ #feature_hardcopy.feature.span-11.last
+ .inner
+ %h3.title
+ Another cool feature!
+ %p.description
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
+
+ #feature_discuss.feature.span-11
+ .inner
+ %h3.title
+ This feature is alright.
+ %p.description
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
+
+ #feature_share.feature.span-11.last
+ .inner
+ %h3.title
+ This feature is the best!
+ %p.description
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
+
+ #footer
+ %hr
+ &copy; 2011
+ Tammer Saleh
+ .span-1.last
+ &nbsp;
+ :erb
+ <script type="text/javascript">
+ var _gauges = _gauges || [];
+ (function() {
+ var t = document.createElement('script');
+ t.type = 'text/javascript';
+ t.async = true;
+ t.id = 'gauges-tracker';
+ t.setAttribute('data-site-id', '4e542ceaf5a1f572b3000001');
+ t.src = '//secure.gaug.es/track.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(t, s);
+ })();
+ </script>
+
@@ -0,0 +1,94 @@
+body {
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ background-image: url("/images/myevacplan/hazard-tile-subtle.jpg");
+ * { font-family: 'Oswald', arial, serif; }
+}
+
+.container {
+ background-image: url("/images/myevacplan/map.jpg");
+}
+
+#banner {
+ background: rgba(0, 0, 0, 0.8);
+ padding: 50px 0 10px 40px;
+
+ * { color: white; }
+
+ h1 {
+ font-family: 'Allerta Stencil', arial, serif;
+ color: yellow;
+ }
+}
+
+.main_description {
+ font-size: 1.2em;
+ line-height: 1.5em;
+}
+
+.launching_soon {
+ -webkit-transform: rotate(25deg);
+ -moz-transform: rotate(25deg);
+
+ -moz-box-shadow: 10px 10px 20px black;
+ -webkit-box-shadow: 10px 10px 20px black;
+ box-shadow: 10px 10px 20px black;
+
+ padding: 10px;
+ margin: 30px;
+ background: yellow;
+ z-index: 3;
+ position: absolute;
+ width: 200px;
+ right: 100px;
+ top: 70px;
+
+ * {
+ font-family: 'Just Another Hand', arial, serif;
+ line-height: 1em;
+ }
+}
+
+.signup_form {
+ padding: 10px;
+ background: rgba(255, 255, 255, 0.5);
+ border: 3px solid gray;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+}
+
+#features {
+ .inner {
+ padding: 10px;
+ margin: 10px;
+
+ background: rgba(255, 255, 255, 0.5);
+ -moz-border-radius: 15px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
+ border: 3px solid white;
+ height: 150px;
+ }
+
+ .description {
+ padding-left: 80px;
+ }
+
+ .feature {
+ background-repeat: no-repeat;
+ background-position: 20px 70px;
+ -moz-background-size: 70px 70px;
+ -webkit-background-size: 70px 70px;
+ }
+
+ #feature_map { background-image: url("/images/myevacplan/map.png"); }
+ #feature_hardcopy { background-image: url("/images/myevacplan/hardcopy.png"); }
+ #feature_discuss { background-image: url("/images/myevacplan/discuss.png"); }
+ #feature_share { background-image: url("/images/myevacplan/share.png"); }
+}
+
+#footer {
+ text-align: right;
+}

0 comments on commit 104f0db

Please sign in to comment.