a brand new styleguide: Headers and Footers

Normal Header with Dropdowns

  • normal header w/ dropdowns
    .contain-to-grid.full-top-bar
      %nav.top-bar( data-topbar role="navigation")
        %ul.title-area
          %li.name
            %img.logo(src="dyson_sphere/launch-logo.png")
            %h1
              %a
                Launch
                %strong Academy
          %li.toggle-topbar.menu-icon
            %a(href="#")
              %span
    
        %section.top-bar-section
          %ul.left
            %li.has-dropdown
              %a.menu-item Admin
              %ul.dropdown
                %li
                  %a Users
                %li
                  %a Users
    
          %ul.right
            %li
              %a Github
            %li.has-dropdown
              %a.menu-item Account Details
              %ul.dropdown
                %li
                  %a Profile
                %li
                  %a Sign Out

Fixed Headers

  • header
    .sticky
      %nav.top-bar(data-topbar role="navigation" data-options="sticky_on: [small, medium, large]")
        %ul.plm.title-area
          %li.name
            %img.logo(src="dyson_sphere/launch-logo.png")
            %h1
              %a
                Launch
                %strong Academy
          %li.toggle-topbar.menu-icon
            %a(href="#")
              %span
    
        %section.top-bar-section
          %ul.left
            %li
              %a.menu-item Admin
            %li.menu-item
              %a.menu-item Sign Out
    
          %ul.right
            %li
              %a Learn on Campus
            %li
              %a Learn Online
            %li
              %a.btn-pink.cta Apply

By default, fixed headers will be `$la-blue` no matter where you are on the page.

To make your header transparent when at the top of the page, on a particular page, add the class `.has-transparent-header` to some later element on the page. (I recommend the first element of the page, such as the hero image or video.)

Header w/ Search Bar

  • header w/ search bar
    .contain-to-grid.full-top-bar
      %nav.top-bar( data-topbar role="navigation")
        %ul.title-area
          %li.name
            %img.logo(src="dyson_sphere/launch-logo.png")
            %h1
              %a
                Launch
                %strong Academy
          %li.toggle-topbar.menu-icon
            %a(href="#")
              %span
    
        %section.top-bar-section
          %ul.left
            %li.has-form
              .row.collapse.search
                %form
                  %input.left(id="query" name="query" placeholder="Search" type="text")
                  %button.search-button(name="button" type="submit")
                    %i.fa.fa-search

Footer

Here's the code for making the classic Launch footer.

Note: The icky-looking visual bugs you see here (the photos not existing and looking weird, the content being pressed up right against the edges, etc.) won't actually be present when you use this as an actual footer in your site.

To keep your footer at the bottom of the page no matter what, add a div with the class of `container` right inside your `body` tag, and wrap all the rest of your content EXCEPT the footer inside this div.

  • basic footer
    %footer
      .row
        .address.large-3.columns
          %h5 About Launch Academy
          %p 33 Harrison Ave #501
          %p Boston, MA 02111
          %br
          %p
            T:
            %a.blue-text 857.600.2250
          %p
            E:
            %a.blue-text hello@launchacademy.com
        .team.large-9.columns
          %h5.pbm About The Team
    
          .large-4.profile.columns
            .photo
              %img(src="" alt="dan-photo")
            .text
              %h6.name Dan Pickett
              %p.role Co-Founder
              %p.bio Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.
          .large-4.profile.columns
            .photo
              %img(src="" alt="dan-photo")
            .text
              %h6.name Dan Pickett
              %p.role Co-Founder
              %p.bio Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.
          .large-4.profile.columns
            .photo
              %img(src="" alt="dan-photo")
            .text
              %h6.name Dan Pickett
              %p.role Co-Founder
              %p.bio Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.
          .columns.view-more
            %a.cta View More
    
      .row.sub-footer
        .columns
          %ul
            %li
              %a Blog
            %li
              %a Careers
            %li
              %a Codedabulary
            %li
              %a Contact Us
            %li
              %a Privacy
            %li.social-media
              %a
                %i.fa.fa-facebook-square
            %li.social-media
              %a
                %i.fa.fa-twitter-square
    
          .copyright
            © Copyright 2015 Launch Academy.
            %a Terms and Conditions
  • About Launch Academy

    33 Harrison Ave #501

    Boston, MA 02111


    T: 857.600.2250

    E: hello@launchacademy.com

    About The Team
    dan-photo
    Dan Pickett

    Co-Founder

    Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.

    dan-photo
    Dan Pickett

    Co-Founder

    Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.

    dan-photo
    Dan Pickett

    Co-Founder

    Founder & Principle at LaunchWare Co-Organizer of Boston Ruby Group Formally Dir. of Engineering @ Gazelle Coding professionally since 2002.

This documentation generated using Hologram