Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

startup pages

  • Loading branch information...
commit ead6626f3950b17ed3ba7e2b6fb2df325928e2dd 1 parent f551289
@te-chris authored
View
6 config.rb
@@ -55,6 +55,10 @@
activate :livereload
+page "/startups/*", :layout => "startup_layout"
+
+hi = "hi"
+
# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
@@ -76,4 +80,4 @@
# Or use a different image path
# set :http_path, "/Content/images/"
-end
+end
View
5 lib/distiller_extension.rb
@@ -0,0 +1,5 @@
+module DistillerLoader
+ class << self
+
+ end
+end
View
BIN  source/images/startups/popin/banner.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  source/images/startups/popin/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
5 source/index.html.haml
@@ -1,14 +1,11 @@
---
title: Welcome to Middleman
---
-
.hero-menu
-
.value-prop.container
%h1 The Distiller helps tech startups achieve growth through collaboration, sharing, and support from the community.
%h1
= link_to 'Get involved.', '/contact'
-
.hero-btns.container
.hero-labs.hero-btn.round-corner.light-shadow
%h3.hero-title.hero-title-labs
@@ -27,12 +24,10 @@ title: Welcome to Middleman
Network
%h5.hero-description
Find out about our broad network of entrepreneurs, backers and more.
-
.main-content
.labs.home-section
.section-title
%h2 Labs
-
.section-logo
.dividing-line
View
3  source/layouts/layout.html.haml
@@ -13,4 +13,5 @@
%body{:class => page_classes}
%header
= partial 'shared/nav'
- = yield
+ .container
+ = yield
View
32 source/layouts/startup_layout.html.haml
@@ -0,0 +1,32 @@
+!!!
+%html
+ %head
+ %meta{:charset => "utf-8"}/
+ / Always force latest IE rendering engine or request Chrome Frame
+ %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
+ / Use title if it's in the page YAML frontmatter
+ %title= data.page.title || "The Distiller"
+ = stylesheet_link_tag 'http://fonts.googleapis.com/css?family=Roboto:400,100,300,700,100italic,300italic,400italic,700italic|Open+Sans:300italic,400italic,700italic,400,300,700'
+ = stylesheet_link_tag "normalize", "all"
+ = javascript_include_tag "all"
+
+ %body{:class => page_classes}
+ %header
+ = partial 'shared/nav'
+ .startup-header
+ %h2= current_page.data.title
+ %table
+ %tr
+ %td Date Started
+ %td= current_page.data.date_started
+ = link_to "The home page", current_page.data.home_url
+ = link_to "Contact Us", current_page.data.contact_url
+ %ul
+ - current_page.data.founders.each do |f|
+ %li= f
+ = image_tag "#{current_page.path[0..-6]}/logo.png"
+ = image_tag "#{current_page.path[0..-6]}/banner.png"
+ .container
+ = yield
+ %footer
+ = partial 'shared/startup_footer'
View
11 source/shared/_nav.html.haml
@@ -2,9 +2,8 @@
.container
.logo
%h1 The Distiller
-
- .menu
- = link_to 'Labs', '/labs'
- = link_to 'Startups', '/startups'
- = link_to 'Network', '/network'
- = link_to 'Contact', 'contact'
+ %ul.menu
+ -# %li= link_to 'Labs', '/labs'
+ -# %li= link_to 'Startups', '/startups'
+ -# %li= link_to 'Network', '/network'
+ %li= link_to 'Contact', '/contact'
View
1  source/shared/_startup_footer.html.haml
@@ -0,0 +1 @@
+%h1 startup footer
View
15 source/startups/popin.md
@@ -0,0 +1,15 @@
+---
+title: popin
+date_started: July 2011
+founders:
+ - Christopher Bull
+ - James Bushell
+ - Steven Mayhew
+contact_url: mailto:chris@usepop.in
+home_url: http://popin.co.nz
+---
+Popin is a private social network for sharing insider information about places with your friends.
+
+Everything is private so the information you get is always from sources that you know. This allows you to have a better idea about whether a place is actually good or not than public services with data from people who you've never met.
+
+We've been working on this for a couple of years now, there are 4 of us, Chris (developer), Stevie (developer), Felix (designer and front-end developer) and James (business type).
View
9 source/stylesheets/all.sass
@@ -85,19 +85,18 @@ h5.hero-description
height: 70px
background: image-url("bg-navbar.jpg") 50% 0 no-repeat
overflow: auto
-
+
.container
@include container
color: white
margin-top: 9px
.logo
- h1
+ @include span-columns(3, 12)
.menu
@include span-columns(4 omega,12)
-
.main-content
margin-top: 30px
@@ -159,7 +158,7 @@ p
a
color: rgb(74,166,255)
text-decoration: none
-
+
a:hover
color: rgb(153,205,255)
@@ -172,4 +171,4 @@ a:hover
@include single-box-shadow(rgba(0,0,0,0.3), 0px, 4px, 4px)
.round-corner
- @include border-radius(4px, 4px)
+ @include border-radius(4px, 4px)
Please sign in to comment.
Something went wrong with that request. Please try again.