#syrch-home - if Configurations::General.homepage_message? and !cookies.permanent[:homepage_message_closed] .welcome-msg.fs20 = flash_container(:welcome, Configurations::General.homepage_message) #howworkssection.collapse = link_to '#howworkssection', data:{toggle: :collapse}, class:'bx-works tbclose' do | x .row .darkgrey.col-xs-12 p.welcome = phrase('site.main.how_it_works_heading') .clear .vspace15 .clearfix .tab-content .tab-pane.fade.in.active id=Tutor.model_name.human .col-xs-12.no-padding .col-xs-12.col-sm-4 = image_tag 'hp-icon-01.png', style: "display: block; margin: 0 auto;" p.title span= phrase('site.main.how_it_works_subheading1') p.txt-data= phrase('site.main.how_it_works_subheading1_content') .col-xs-12.col-sm-4 = image_tag 'hp-icon-02.png', style: "display: block; margin: 0 auto;" p.title span= phrase('site.main.how_it_works_subheading2') p.txt-data= phrase('site.main.how_it_works_subheading2_content') .col-xs-12.col-sm-4 = image_tag 'hp-icon-03.png', style: "display: block; margin: 0 auto;" p.title span= phrase('site.main.how_it_works_subheading3') p.txt-data= phrase('site.main.how_it_works_subheading3_content') .clearfix section#splash-pic.splash-pic style="background: #263238 url(#{ActsAsTenant.current_tenant.background_image_url}) no-repeat fixed center center / cover;" header nav.navbar role="navigation" .col-xs-12.col-sm-12.col-md-12.no-padding .col-xs-12.col-sm-6.col-md-6.no-padding.mt10 a.txt-logo-home.col-xs-12 href=root_url = image_tag("logo-syrch-new-s.png", width: "117", alt: "SYRCH") .col-xs-12.col-sm-6.col-md-6.no-padding.mt10 .iright.col-xs-12.col-sm-12.col-md-12.col-lg-8 = link_to login_path, class:'bx-login col-xs-5 col-sm-10 col-md-10 col-lg-10', data:{toggle: :modal, target:'#remote-modal'} do | LOGIN - if params[:invitation_token].blank? = link_to signup_path, class:'bx-regis col-xs-7 col-sm-2 col-md-2 col-lg-2' do | SIGN UP - else = link_to signup_path(invitation_token: params[:invitation_token]), class:'bx-regis col-xs-7 col-sm-2 col-md-2 col-lg-2' do | SIGN UP .hbanner.col-sm-12.col-xs-12 .vspace35.visible-xs-block .vspace75.hidden-xs .txtcontent.mxwidth.col-xs-12.no-padding h1.fs120.helve = phrase('site.main.slogan') .p1000-center.col-xs-12 = phrase('site.main.tagline').html_safe .mb15.col-xs-12 = link_to '#howworkssection', data:{toggle: :collapse}, class:'btn-howitworks-new' do .vspace35.visible-xs-block .vspace20.hidden-xs .mainsearch.col-sm-12.col-xs-12.container-fixed = form_tag tutors_path, method: :get, turboboost: true, id: 'search-form', class: 'search-form form-inline text-center mxwidth block' do .col-xs-12.col-sm-12.sboxborder .col-xs-10.col-sm-11.no-padding = text_field_tag Subject.model_name.human.downcase, params[Subject.model_name.human.downcase], placeholder: "#{Subject.model_name.human}, #{Course.model_name.human}, Skills or #{Tutor.model_name.human}", id: 'term', class: 'search-field' .col-xs-2.col-sm-1.pl0.pr0.bg-green button.btn-search.align-center i.fa.fa-search .clearfix .clearfix h2.col-xs-12.no-padding.no-margin.bg-darkblue .grey-strip = phrase('site.main.students_are_learning').html_safe |   span = phrase('site.main.students_are_learning_university_tutors').html_safe .clearfix .bg-darkgrey.vspace5 .clearfix - unless @search_categories.blank? .featured #search_categories_container.relative #search_categories.relative.width-100 - @search_categories.each do |sc| .search_category.inline style=sc.style data-id=sc.id = link_to tutors_path(search_categories: [sc.id]) do .display-table .caption.valignmiddle.text-center.table-cell.height-100.width-100 = sc.caption.try(:html_safe) .clearfix .bg-darkgrey.vspace5 .clearfix - @tutors.each do |tutor| .page .userinfo.max-w1000.m-auto .row.no-padding .col-sm-3.col-xs-12.align-center.no-padding = image_tag tutor.image.url(:big), alt: tutor.name .col-sm-9.no-padding = render 'tutors/details', tutor: tutor .vspace5.bg-darkgrey .bg-mediumgrey.col-xs-12.no-padding .ready-to-book.col-xs-12 | Ready to Book Now? .clearfix.pt50 .container.col-xs-12.no-padding .col-sm-10.col-sm-offset-1.col-xs-12.mb20 .col-sm-6.align-center.col-xs-12 = link_to tutors_path, class: 'btn btn-lgrey' | BOOK A TUTOR .col-sm-6.align-center.col-xs-12.mb20 .btn.btn-lgrey | SEE ALL SERVICES .clearfix .bg-darkblue.relative.align-center.ht65.col-xs-12 button.btn-learnmore.collapsed data-toggle='collapse' data-target='#learnmoresection' .clearfix #learnmoresection.collapse data-scroll-margin=100 - if @testimonials.exists? .page.bg-lightgrey section.container.browse.page85 #carousel-example-generic.carousel.slide.pt30 data-ride="carousel" .carousel-inner.container - @testimonials.each_with_index do |testimonial, index| .item class="#{'active' if index == 0}" p.fs50.bold.ico-testimony |  p.tle.botpad5 p.txt.fs14.lh16.hscroll = "#{testimonial.description}" .bx-info.pt15 .fs14.semibold.lh16.iname= testimonial.name .fs12.semibold.lh16.subinfo= testimonial.position .fs12.semibold.lh16.grey.iinfo.pt10= testimonial.company_name .bx-pic.showoff img= image_tag testimonial.image_url(:big), alt: testimonial.name .clear ol.carousel-indicators.initial.center-block.pt15 = yield :carousel_indicators - @testimonials.size.times do |index| li class="#{'active' if index == 0}" data-slide-to=index data-target="#carousel-example-generic" .clearfix a.left.carousel-control.carousel-navigate-left data-slide="prev" href="#carousel-example-generic" role="button" span.glyphicon.glyphicon-chevron-left a.right.carousel-control.carousel-navigate-right data-slide="next" href="#carousel-example-generic" role="button" span.glyphicon.glyphicon-chevron-right .clearfix .howitworks style="background: #263238 url(#{ActsAsTenant.current_tenant.background_image_url}) no-repeat fixed center center / cover;" .col-sm-10.col-sm-offset-1 .col-sm-4.no-padding.one .imgset = image_tag 'lp1.png', class: 'onetwothree1 img-responsive' .row.blackbox.no-margin.relative .col-sm-12 .imgtitle= phrase('site.main.learnmore_subheading1') .imgdata= phrase('site.main.learnmore_subheading1_content').html_safe .home-link-blue = link_to tutors_path, class: 'blink' do .btn-home-tri.bg-green.mt15 | Search Now .col-sm-4.no-padding.two .imgset = image_tag 'lp2.png', class: 'onetwothree1 img-responsive' .row.blackbox.no-margin.relative .col-sm-12 .imgtitle= phrase('site.main.learnmore_subheading2') .imgdata= phrase('site.main.learnmore_subheading2_content').html_safe .home-link-blue - if params[:invitation_token].blank? = link_to signup_path(type: "tutor"), class:'signuplp blink' do .btn-home-tri.bg-red.mt20 | Register Now - else = link_to signup_path(type: "tutor", invitation_token: params[:invitation_token]), class:'signuplp blink' do .btn-home-tri.bg-red.mt20 | Register Now .col-sm-4.no-padding.three .imgset = image_tag 'lp3.png', class: 'onetwothree1 img-responsive' .row.blackbox.no-margin.relative .col-sm-12 .imgtitle= phrase('site.main.learnmore_subheading3') .imgdata= phrase('site.main.learnmore_subheading3_content').html_safe .home-link-blue - if params[:invitation_token].blank? = link_to signup_path(type: "tutor"), class:'signuplp blink' do .btn-home-tri.bg-white.darkgrey | Learn Now - else = link_to signup_path(type: "tutor", invitation_token: params[:invitation_token]), class:'signuplp blink' do .btn-home-tri.bg-white.darkgrey | Learn Now .clearfix .bg-white .container .row.pt30.pb30.fs10.lh14 .col-sm-4.col-xs-12 .col-sm-3 = image_tag 'footimg1.jpg' .col-sm-9 p.semibold | Reliable, fast and secure payments p | The SYRCH community is powered by a trusted and secure third party online payment processing system that ensures you only pay once you have confirmed that the session has successfully taken place. .col-sm-4.col-xs-12 .col-sm-3 = image_tag 'footimg2.jpg' .col-sm-9 p.semibold | SYRCH Moneyback Guarantee p | We have a 100% Satisfaction Guarantee for all first time sessions. If you are not satisfied with your expert, contact our customer service department and we will refund your payment and work wth you to make sure you have a positive experience. .col-sm-4.col-xs-12 .col-sm-3 = image_tag 'footimg3.jpg' .col-sm-9 p.semibold | 24/7 Customer Support & FAQ p | Get the answers and tips you need 24 hours a day, 7 days a week. At SYRCH, we make sure your needs are first. .clearfix .row.hp-ftr.hidden-xs .col-sm-3 .terms = link_to terms_path target: "_blank" | Terms & Conditions .col-sm-6 .copyright Copyright 2014 - SYRCH INC. .col-sm-3 .social a class="hide" href="#" target="_blank" i.fa.fa-google-plus.ftr-social a class="hide" href="#" target="_blank" i.fa.fa-linkedin.ftr-social a href="http://instagram.com/SYRCH_co" target="_blank" i.fa.fa-instagram.ftr-social a href="https://twitter.com/SYRCH_co" target="_blank" i.fa.fa-twitter.ftr-social a href="https://www.facebook.com/pages/SYRCH/1559696724251146" target="_blank" i.fa.fa-facebook.ftr-social /! Modal #forgotPassword.modal.fade aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" .modal-dialog .modal-content .modal-header button.close aria-hidden="true" data-dismiss="modal" type="button" × h4#myModalLabel.tk-proxima-nova.modal-title Reset Password .modal-body style="height: 100px;" = form_tag passwords_path do .col-lg-12 .col-lg-1 style="padding-top: 8px" Email .col-lg-7 = text_field_tag :email, params[:email], :class => "form-control" .col-lg-4= submit_tag "Submit", class: "btn btn-large btn-primary" - if @invite.present? - content_for :content_for_remote_modal do = render template: 'users/new' - content_for :include_js do javascript: $(document).one('ready', function(){ $('#remote-modal').modal('show') })