 
     @changeHomeLayout isLoggedIn
     @utils.wait 300, => @notifyResizeListeners()
-  
+
   _windowDidResize:->
 
     {winHeight} = @windowController
     @panelWrapper.setHeight winHeight - 51
 
   putWhatYouShouldKnowLink:->
-    
+
     @header.addSubView link = new KDCustomHTMLView
       tagName     : "a"
       domId       : "what-you-should-know-link"

          appManager.openApplication "Home"

    @addLoginButtons()
  
  addLoginButtons:->
    @header.addSubView @buttonHolder = new KDView
      cssClass  : "button-holder hidden"

    mainController = @getSingleton('mainController')
    
    # @buttonHolder.addSubView new KDButtonView
    #   title     : "About Koding"
    #   domId     : "about-button"
    #   callback  : =>
    #     mainController.propagateEvent KDEventType : "AboutButtonClicked", globalEvent : yes
    # 
    @buttonHolder.addSubView new KDButtonView
      title     : "Sign In"
      style     : "koding-blue"

    @sidebar = new Sidebar domId : "sidebar", delegate : @
    @emit "SidebarCreated", @sidebar
    @sidebarPanel.addSubView @sidebar

  changeHomeLayout:(isLoggedIn)->

  decorateLoginState:(isLoggedIn = no)->
