Skip to content

Instantly share code, notes, and snippets.

@hfase01
Created June 23, 2012 07:51
Show Gist options
  • Save hfase01/2977457 to your computer and use it in GitHub Desktop.
Save hfase01/2977457 to your computer and use it in GitHub Desktop.
Diaspora HAML landing page.
.navbar.navbar-fixed-top
.navbar-inner
.container-fluid
%a.btn.btn-navbar{"data-target" => ".nav-collapse", "data-toggle" => "collapse"}
%span.icon-bar
%span.icon-bar
%span.icon-bar
%a.btn.btn-success.pull-left{:href => "/users/sign_in"} Login
%a.brand{:href => "/"} hfase.com
.nav-collapse
%ul.nav
%li
%a{:href => "/blog/"} Blog
%li
%a{:href => "/blog/archives/"} Archives
%li
%a{:href => "/about/"} About
%li
%a{:href => "/@privacy"} Privacy
%li
%a{:href => "/terms"} Terms
.subnav
%ul.nav.nav-pills
%li
%a{:href => "https://twitter.com/hfase"} @hfase
%li
%a{:href => "https://github.com/hfase01/diaspora"} GitHub
%li
%a{:href => "https://github.com/hfase01/diaspora/tarball/master"} Code
%li
%a{:href => "https://github.com/diaspora/diaspora/wiki/Changelog"} What's New?
%li
%a{:href => "https://goo.gl/1UR7m"} Dev-Blog
.container
.hero-unit
%h1 Hello, world!
%p This is a template for a simple marketing or informational website.
%p
%a.btn.btn-primary.btn-large{:href => "/users/sign_up"} Start an account! »
.row
.span4
%h2 Heading
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.
%p
%a.btn{:href => "#"} View details »
.span4
%h2 Heading
%p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum ni.
%p
%a.btn{:href => "#"} View details »
.span4
%h2 Heading
%p Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis.
%p
%a.btn{:href => "#"} View details »
%hr/
%footer
%p © Company 2012
/ /container
%script{:src => "/js/jquery.js"}
%script{:src => "/js/bootstrap-dropdown.js"}
%script{:src => "/js/bootstrap-typeahead.js"}
%script{:src => "https://w.sharethis.com/button/buttons.js", :type => "text/javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment