                     "Run one of your Ruby projects on Circle"]
                    [:div.languages-cta-step
                     "That's it! If you hit any problems just us a message and we'll help you out."]
-                  [:a.languages-cta-button {:href="#"}
+                   [:a.languages-cta-button {:href="#"}
                     "Sign Up With GitHub"]
-                   ]
-                  
-                  ]])))))
+                   ]]
+                 
+                 ])))))

                   [:img {:src (:ss-1 template)}]
                   [:img {:src (:ss-2 template)}]
                   [:img {:src (:ss-3 template)}]]]
                 [:div.languages-body
                  [:div.languages-features
                   "Features"
                   [:div.feature
                    "Feature 1"
                    [:img {:src "/assets/img/outer/languages/gear-icon.png"}]]
                   [:div.feature
                    "Feature 2"
                    [:img {:src "/assets/img/outer/languages/book-icon.png"}]]
                   [:div.feature
                    "Feature 3"
                    [:img {:src "/assets/img/outer/languages/file-icon.png"}]]
                   [:a {:href="#"}
                    [:div.button "Read documentation on " (:language template)]]]
                  [:div.languages-testimonials
                   [:div.testimonial
                    [:img {:src (:logo-path template)}]
                    [:div.testimonial-text (:testimonial-1 template)]]
                   [:div.testimonial
                    [:img {:src (:logo-path template)}]
                    [:div.testimonial-text (:testimonial-2 template)]]
                   [:div.testimonial
                    [:img {:src (:logo-path template)}]
                    [:div.testimonial-text (:testimonial-3 template)]]
                   ]
                  [:div.languages-cta
                   [:div.languages-cta-headline
                    "How do I start using my " (:language template) " app with Circle?"] 

            [frontend.utils :as utils :include-macros true]
            [om.core :as om :include-macros true])
  (:require-macros [frontend.utils :refer [defrender html]]))

(defn arrow-class [selected-testimonial]
  (case selected-testimonial 
    0 "arrowLeft"
    1 "arrowCenter"
    2 "arrowRight"
    "arrowLeft"
    ))

(def templates {"ruby" {:language "Ruby"
                        :headline "CircleCI makes Continous Integration and Deployment for Ruby projects a breeze."
                        :logo-path "/assets/img/outer/languages/ruby-logo.png"
                        :ss-1 "/assets/img/outer/languages/ruby-ss-1.png"
                        :ss-2 "/assets/img/outer/languages/ruby-ss-1.png"
                        :ss-3 "/assets/img/outer/languages/ruby-ss-1.png"
                        :testimonial-author-1 "/assets/img/outer/stories/john.jpg"
                        :testimonials [{:text "Nullam id dolor id nibh ultricies vehicula ut id elit. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Integer posuere erat a ante venenatis."
                                       :img "/assets/img/outer/stories/john.jpg"
                                       :author "Kevin Rose"
                                       :title "Entrepneur @Google"}
                                       {:text "text 2"
                                        :img "/assets/img/outer/stories/john.jpg"
                                        :author "Clark Kent"
                                        :title "superman"}
                                       {:text "text 3"
                                        :img "/assets/img/outer/stories/john.jpg"
                                        :author "Bruce Wayne"
                                        :title "Batman"}]}})

(defn language-landing [app owner]
  (reify
    om/IRender
    (render [_]
            (let [subpage (get-in app [:navigation-data :language])
                  template (get templates subpage)
                  selected-testimonial (get-in app state/language-testimonial-tab-path 0)
                  controls-ch (om/get-shared owner [:comms :controls])]
              (html
                [:div.languages.page
                 [:div.languages-head
