             [frontend.components.instrumentation :as instrumentation]
             [frontend.components.license :as license]
             [frontend.components.statuspage :as statuspage]
-            [frontend.components.opt-in :as opt-in]
             [frontend.models.project :as project-model]
             [frontend.models.feature :as feature]
             [frontend.routes :as routes]

            vcs-url (:vcs_url project)]
        (html
          [:div.head-user
           [:ol.breadcrumb
            (when (and (not (feature/enabled? :ui-v2)) (seq crumbs-data))
              [:li
               [:a {:title "home", :href "/"} [:i.fa.fa-home] " "]])
            (crumbs/crumbs crumbs-data)]
           (when (and (#{:dashboard :account} (:navigation-point app))
                      (not (-> app :navigation-data :repo))
                      (not (-> app :navigation-data :org))
                      (feature/enabled? :ui-v2-opt-in-banner)
                      (feature/enabled-in-cookie? :ui-v2))
             (om/build opt-in/ui-v2-opt-out-ui app))
           (when (show-follow-project-button? app)
             (forms/managed-button
               [:button#follow-project-button

    (let [navigation-data (:navigation-data app)]
      (cond (:repo navigation-data) [:a.settings.project-settings
                                     {:href (routes/v1-project-settings navigation-data) }
                                     [:img.dashboard-icon {:src (common/icon-path "QuickLink-Settings")}]
                                     "Project Settings"]
            (:org navigation-data) [:a.settings.org-settings
                                    {:href (routes/v1-org-settings navigation-data)}
                                      [:img.dashboard-icon {:src (common/icon-path "QuickLink-Settings")}]
                                    "Organization Settings"]
            :else nil))))

(defn head-user [app owner]
