Building the Billion Dollar Landing Page with Bootstrap

37
Building the Billion Dollar Page $

description

This presentation focuses on the best practices when building with Bootstrap & Django.

Transcript of Building the Billion Dollar Landing Page with Bootstrap

Page 1: Building the Billion Dollar Landing Page with Bootstrap

Building the Billion Dollar Page $

Page 2: Building the Billion Dollar Landing Page with Bootstrap

goal

increase # of leads

Page 3: Building the Billion Dollar Landing Page with Bootstrap
Page 4: Building the Billion Dollar Landing Page with Bootstrap

but how?

Page 5: Building the Billion Dollar Landing Page with Bootstrap
Page 6: Building the Billion Dollar Landing Page with Bootstrap

focusing on conversion

first impression ~3 seconds attention span

responsiveneeds to adapt all devices

high performancesmall footprint and fast loading time

Page 7: Building the Billion Dollar Landing Page with Bootstrap
Page 8: Building the Billion Dollar Landing Page with Bootstrap
Page 9: Building the Billion Dollar Landing Page with Bootstrap

what’s under the hood?

Page 10: Building the Billion Dollar Landing Page with Bootstrap
Page 11: Building the Billion Dollar Landing Page with Bootstrap

http://services.homedepot.com/admin/landing/programdetails/5/

one page fits all

Page 12: Building the Billion Dollar Landing Page with Bootstrap

#django-pipeline

http://django-pipeline.readthedocs.org

Page 13: Building the Billion Dollar Landing Page with Bootstrap
Page 14: Building the Billion Dollar Landing Page with Bootstrap

building the front-end with

Page 15: Building the Billion Dollar Landing Page with Bootstrap

customizing bootstrapbootstrap-custom.sass

Page 16: Building the Billion Dollar Landing Page with Bootstrap

define your variables before bootstrap variables

because some internal variables are dependent on each other. ie. $link-color

Page 17: Building the Billion Dollar Landing Page with Bootstrap

disable unused components

Page 18: Building the Billion Dollar Landing Page with Bootstrap

define your own variablesvariables.sass

Page 19: Building the Billion Dollar Landing Page with Bootstrap

leverage !default _variables.scss

Page 20: Building the Billion Dollar Landing Page with Bootstrap

wrestling with bootstrap

Page 21: Building the Billion Dollar Landing Page with Bootstrap

always include vars & mixins

Page 22: Building the Billion Dollar Landing Page with Bootstrap

do not nest more than 3 levels deep

Page 23: Building the Billion Dollar Landing Page with Bootstrap
Page 24: Building the Billion Dollar Landing Page with Bootstrap

leverage existing mixins

• clearfix

• rounded corners

• gradients

• sass utilities [sass_functions.scss]

Page 25: Building the Billion Dollar Landing Page with Bootstrap

mobile first!

write your responsive styles starting with mobilethen incrementally add styles for larger screens

Page 26: Building the Billion Dollar Landing Page with Bootstrap
Page 27: Building the Billion Dollar Landing Page with Bootstrap

responsive utilities

Page 28: Building the Billion Dollar Landing Page with Bootstrap

responsive grid

• Make sure to read docs as the grid system is created from ground up in Bootstrap 3http://getbootstrap.com/css/#grid

Page 29: Building the Billion Dollar Landing Page with Bootstrap
Page 30: Building the Billion Dollar Landing Page with Bootstrap

after the fluff...

Page 31: Building the Billion Dollar Landing Page with Bootstrap

progressive images

Page 32: Building the Billion Dollar Landing Page with Bootstrap

adapt to viewport

Page 33: Building the Billion Dollar Landing Page with Bootstrap
Page 34: Building the Billion Dollar Landing Page with Bootstrap

open issues

• best way to load mobile & desktop components [user-agent sniffing]

• best way build js bundles for progressive loading [requirejs]

• loading images for different resolutions [modernizr]

• making grunt & bower part of the build process [animate.css]

Page 35: Building the Billion Dollar Landing Page with Bootstrap

customizing animate.css

Page 36: Building the Billion Dollar Landing Page with Bootstrap

Questions?

Page 37: Building the Billion Dollar Landing Page with Bootstrap

supercharging your front-end with the best UX practices

speaking at codefront.io