       tagName : "header"
       domId   : "main-header"
 
-    @logo = new KDCustomHTMLView
+    @header.getElement().innerHTML = ''
+
+    @header.addSubView @logo = new KDCustomHTMLView
       tagName   : "a"
       domId     : "koding-logo"
       cssClass  : if entryPoint?.type? is 'group' then 'group' else ''

class MainView extends KDView

  viewAppended:->

    @bindTransitionEnd()
    # @addServerStack()


  createMainPanels:->

    klass = if KD.isLoggedIn() then KDCustomHTMLView else HomeIntroView
    @addSubView @homeIntro = new klass

    @addSubView @panelWrapper = new KDView
      tagName  : "section"
