   (nav/defpath
    :policy
    {:public? true
-    :component Policy
+    :component PolicyPage
     :regex #"policy"
     :make-props (fn [_] {})
     :make-path (fn [] "policy")}))


(react/defc- Policy
  {:render
   (fn []
     [:div {:style {:maxWidth 600 :paddingTop "2em"}}
      [:p {:style {:fontWeight "bold"}} "WARNING NOTICE"]
      [:p {}
       "You are accessing a US Government web site which may contain information that must be
          protected under the US Privacy Act or other sensitive information and is intended for
          Government authorized use only."]
      [:p {}
       "Unauthorized attempts to upload information, change information, or use of this web site
          may result in disciplinary action, civil, and/or criminal penalties. Unauthorized users
          of this website should have no expectation of privacy regarding any communications or
          data processed by this website."]
      [:p {}
       "Anyone accessing this website expressly consents to monitoring of their actions and all
          communications or data transiting or stored on related to this website and is advised
          that if such monitoring reveals possible evidence of criminal activity, NIH may provide
          that evidence to law enforcement officials."]
      [:p {:style {:fontWeight "bold"}} "WARNING NOTICE (when accessing controlled data)"]
      [:p {:style {:fontWeight "bold"}}
       "You are reminded that when accessing controlled access information you are bound by the
          dbGaP TCGA "
       [:a {:href "http://cancergenome.nih.gov/pdfs/Data_Use_Certv082014" :target "_blank"}
        "DATA USE CERTIFICATION AGREEMENT (DUCA)"] "."]])})

(react/defc LoggedOut
  {:render

  (:require
   [dmohs.react :as react]
   [clojure.string :as string]
   [broadfcui.common.links :as links]
   [broadfcui.common.style :as style]
   [broadfcui.components.buttons :as buttons]
   [broadfcui.components.spinner :refer [spinner]]
