<!doctype html>

<html lang="en" class="full-height">

<head >
    <meta charset="utf-8"></meta>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
    <meta name="viewport" content="width=device-width, initial-scale=1"></meta>

    <title>Toffy</title>

    <!-- Styles -->
    <link href="docs/css/toffy.css" rel="stylesheet"></link>
    <!-- Bootstrap core CSS -->
    <link href="docs/css/bootstrap.min.css" rel="stylesheet"></link>
    <!-- Material Design Bootstrap -->
    <link href="docs/css/material.css" rel="stylesheet"></link>
	
  
    <link rel="stylesheet" href="docs/css/dropify.css"></link>
	
	 <!-- Fonts -->
    <!-- <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css"></link> -->
    <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'></link>
    <link href="/css/fonts.css" rel="stylesheet" type="text/css">
    <!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"></link> -->
	
	
	<link rel="shortcut icon" type="image/x-icon" href="/docs/images/transparent-toffy.png"></link>
	<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet"></link>
	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
	<script src="https://apis.google.com/js/client:platform.js?onload=start" async defer></script>
    <script src="https://apis.google.com/js/platform.js?onload=start" async defer></script>

    <script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-1597965-19"></script>
	 <script>
    function start() {
        console.log("Loaded");
      gapi.load('auth2', function() {
        auth2 = gapi.auth2.init({
          client_id: '34217514049-gfesbnsjomfe96ce2obuto2ugi71r9p8.apps.googleusercontent.com',
          // Scopes to request in addition to 'profile' and 'email'
          //scope: 'additional_scope'
        });
      });
    }
  </script>
	<script>
	  window.dataLayer = window.dataLayer || [];
	  function gtag(){dataLayer.push(arguments);}
	  gtag('js', new Date());
	
	  gtag('config', 'UA-1597965-19');
	</script>
	<script>
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
		
		ga('create', 'UA-1597965-19', 'auto');
		ga('send', 'pageview');
</script>
	
</head>

<body>

<!--Main Navigation-->
<header class="full-ht">

    <!--Navbar-->
    <nav class="navbar navbar-expand-lg navbar-dark fixed-top scrolling-navbar z-depth-0">
        <div class="container">
            <a class="navbar-brand" href="/toffy"><img src="docs/images/toffy/logo-with-caption-white.png"  alt="logo" id="toffyLogo" /></a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent-7" aria-controls="navbarSupportedContent-7" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse nav-toffy-collapse" id="navbarSupportedContent-7">
                <ul class="navbar-nav ml-auto">
                    <li class="nav-item active">
                        <a class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#howItWorks">HOW IT WORKS</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#features">FEATURES</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#clients">CLIENTS</a>
                    </li>
                    <li class="nav-item" style="display:none">
                        <a class="nav-link" href="#pricing">PRICING</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#contactUs">CONTACT</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" id="login">LOG IN</a>
                    </li>
                    <li class="nav-item getting-started">
                        <a class="" id="signUp">SIGN UP NOW</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!--Intro Section-->
    <section class="view intro-2" id="home">
        <div class="full-bg-img">
            <div class="container flex-center intro-container">
                <div class="row mb-5">
                    <div class="col-md-12 text-center margins">
                        <div class="white-text wow zoomIn">
                            <h1 class="h1-responsive">The Modern AI Powered Workplace</h1>
                            <br />
                            <h4 class="h4-responsive">Toffy is your HR virtual assistant that makes employee time management easy using</h4>
                            <h4 class="h4-responsive">Slack, FB Workplace, web/mobile and natural language processing</h4>
                        </div>
                    </div>
                </div>
                <div class="row">
                	<div class="cover-img">
                		<img src="docs/images/toffy/hero-bg-2.png" />
                	</div>
                </div>
            </div>
        </div>
    </section>
</header>
<!--Main Navigation-->
<!-- How it works section -->
<section class="how-it-works" id="howItWorks">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="h1-responsive hit-header-title">How It Works</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12 col-lg-3 mt-5 wow rollIn" data-wow-delay="0.3s">
                <div class="hit-box">
                	<div class="hit-box-body">
                		<p>Request time-off by talking with Toffy, your virtual HR assistant</p>
                	</div>
                </div>
            </div>
            <div class="col-md-6 pt-5 wow zoomIn" data-wow-delay="0.2s">
                <img src="docs/images/toffy/how-it-works-image.png" class="hit-img" />
            </div>
            <div class="col-md-6 col-lg-3 mt-sm-5 wow lightSpeedIn" data-wow-delay="0.3s">
                <div class="hit-box">
                	<div class="hit-box-body">
                		<p>Toffy helps managers and HR admins review and approve requests</p>
               		 </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-5 col-lg-4 col-xl-3 mt-sm-5 wow rollIn" data-wow-delay="0.6s">
                <div class="hit-box">
                	<div class="hit-box-body">
                	 	<p>With Toffy, time-off reporting and analytics are just a question away</p>
                	</div>
                </div>
            </div>
            <div class="col-md-5 col-lg-4 col-xl-3 ml-md-auto mt-sm-5 wow lightSpeedIn" data-wow-delay="0.6s">
               <div class="hit-box">
               		<div class="hit-box-body">
                	 	<p>Check your time-off status and history with a simple question</p>
               		</div>
               </div>
            </div>
            <div class="col-md-12 col-lg-4 col-xl-3 ml-md-auto mt-sm-5 wow lightSpeedIn" data-wow-delay="0.6s">
                <div class="hit-box">
                	 <div class="hit-box-body">
                	 	<p>Find where your co-workers are by asking Toffy</p>
               		 </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- How it works -->

<!-- Desc Section -->
<section class="desc">
    <div class="container">
        <div class="row">
            <div class="col-12 col-md-12 col-lg-6 col-xl-4 wow bounceInLeft" data-wow-delay="0.5s">
                <div class="desc-box">
                    <img src="docs/images/toffy/video-1.png" />
                    <p class="vd-title">How employees, managers and
                        HR admins use Slack to manage time-off</p>
                </div>
            </div>
            <div class="col-12 col-md-12 col-lg-6 col-xl-4 wow zoomIn" data-wow-delay="0.5s">
                <div class="desc-box">
                    <img src="docs/images/toffy/video-1.png" />
                    <p class="vd-title">How employees, managers and
                        HR admins use Slack to manage time-off</p>
                </div>
            </div>
            <div class="col-12 col-md-12 col-lg-6 col-xl-4 wow bounceInRight" data-wow-delay="0.5s">
                <div class="desc-box">
                    <img src="docs/images/toffy/video-1.png" />
                    <p class="vd-title">How employees, managers and
                        HR admins use Slack to manage time-off</p>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Desc Section -->

<!-- Screenshots section -->
<section class="screenshots" id="screenshots">
	<div class="col-md-12">
		<!--Carousel Wrapper-->
		<div id="screenshotsCarousel" class="carousel slide carousel-fade carousel-thumbnails" data-ride="carousel">
		    <!--Slides-->
		    <div class="carousel-inner" role="listbox">
		        <div class="carousel-item active">
		                <!--Video source-->
		                <video class="video-fluid" id="toffyVideo" controls="controls" poster="docs/images/toffy/screenshots/video_bg.png">
		                    <source src="docs/videos/toffy_marketing_video_v1.2.mp4" type="video/mp4" />
		                </video>
           	    </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_1.png" alt="First slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_2.png" alt="Second slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_3.png" alt="Third slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_4.png" alt="4th slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_5.png" alt="5th slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_6.png" alt="6th slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_7.png" alt="7th slide" />
		        </div>
		        <div class="carousel-item">
		            <img class="d-block w-100" src="docs/images/toffy/screenshots/scsh_8.png" alt="8th slide" />
		        </div>
		    </div>
		    <!--/.Slides-->
		    <!--Controls-->
		    <a class="carousel-control-prev" href="#screenshotsCarousel" role="button" data-slide="prev">
		        <i class="fa fa-chevron-left white-text" aria-hidden="true"></i>
		        <span class="sr-only">Previous</span>
		    </a>
		    <a class="carousel-control-next" href="#screenshotsCarousel" role="button" data-slide="next">
		        <i class="fa fa-chevron-right white-text" aria-hidden="true"></i>
		        <span class="sr-only">Next</span>
		    </a>
		    <!--/.Controls-->
		    <ol class="carousel-indicators">
		    	<li data-target="#screenshotsCarousel" data-slide-to="0" class="active"> <img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/video_bg.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="1"> <img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_1.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="2"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_2.png"  /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="3"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_3.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="4"> <img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_4.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="5"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_5.png"  /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="6"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_6.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="7"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_7.png" /></li>
		        <li data-target="#screenshotsCarousel" data-slide-to="8"><img class="d-block w-100 img-fluid" src="docs/images/toffy/screenshots/scsh_8.png"  /></li>
		    </ol>
		</div>
		<!--/.Carousel Wrapper-->
	</div>
</section>

<section class="features" id="features">
    <div class="container features-container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="h1-responsive fea-header-title">Features</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-12 col-md-6 col-lg-6 col-xl-3 text-center wow zoomIn">
                <div class="fea-box">
                    <img src="docs/images/toffy/feature-1-icon.png" class="mt-5"/>
                    <h2 class="h2-responsive fea-nl-title">Natural language</h2>
                    <p>Toffy is your friendly virtual HR assistant</p> 
                    <p>Toffy will answer your questions and guide you in taking actions quickly and efficiently</p>
                </div>
            </div>
            <div class="col-12 col-md-6 col-lg-6 col-xl-3 text-center wow zoomIn">
                <div class="fea-box">
                    <img src="docs/images/toffy/feature-2-icon.png" class="mt-5"/>
                    <h2 class="h2-responsive fea-mp-tittle">Multiple platforms</h2>
                    <p>Toffy is available on Slack and via the web</p>
                    <p> Facebook Workplace integration is coming soon</p>
                </div>
            </div>
            <div class="col-12 col-md-6 col-lg-6 col-xl-3 text-center wow zoomIn">
                <div class="fea-box">
                    <img src="docs/images/toffy/feature-3-icon.png" class="fe3-img"/>
                    <h2 class="h2-responsive fea-ai-title">Alexa Integration</h2>
                    <p>Coming soon</p>
                    <p>Toffy will be available via Alexa and provide meeting coordination/setup and other productivity boosting virtual office assistant features</p>
                </div>
            </div>
             <div class="col-12 col-md-6 col-lg-6 col-xl-3 text-center wow zoomIn">
                <div class="fea-box">
                    <img src="docs/images/toffy/toffy_logo_clock_o2.png" class="fe4-img"/>
                    <h2 class="h2-responsive fea-tc-title">Toffy clock</h2>
                    <p>Coming soon</p>
                    <p>Toffy clock will manage employee clocking in/out of work</p>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Features section -->

<!-- Clients Section -->
<section class="clients" id="clients">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="h1-responsive cli-header-title">Clients</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-md-6 col-lg-6 col-xl-6 mt-5">
                <div class="cli-logo">
                    <img src="docs/images/toffy/clients-1-logo.png" class="mt-sm-2 mt-lg-5 wow fadeIn" data-wow-delay="0.3s"/>
                </div>
            </div>
            <div class="col-sm-12 col-md-6 col-lg-6 col-xl-6 mt-5">
                <div class="cli-logo">
                    <img src="docs/images/toffy/client-2-logo.png" class="mt-sm-2 mt-lg-5 wow fadeIn" data-wow-delay="0.4s"/>
                </div>
            </div>
        
        </div>
    </div>
</section>
<!-- Clients Section -->
<section class="customer-review">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="h1-responsive customer-review-title">Review of customers</h1>
            </div>
        </div>
        <div class="row">
            <!--Carousel Wrapper-->
            <div id="cli-carousel" class="carousel slide carousel-multi-item" data-ride="carousel">

                <!--Control Left -->
                <div class="control-left">
                    <a class="" href="#cli-carousel" data-slide="prev"><i class="fa fa-chevron-left white-text"></i></a>
                </div>
                <!--/.Control Left-->
                <div class="control-right">
                    <a class="" href="#cli-carousel" data-slide="next"><i class="fa fa-chevron-right white-text"></i></a>
                </div>
                <!--Slides-->
                <div class="carousel-inner" role="listbox">

                    <!--First slide-->
                    <div class="carousel-item active">
                        <div class="col-sm-12 col-md-12 col-lg-10 col-xl-10 offset-lg-1">
                            <div class="cli-box">
                                <img src="docs/images/toffy/exalt_logo.png" class="circle" />
                                <div class="cli-box-header">
                                    <span class="cli-name">EXALT Technologies</span>
                                    <span class="cli-pos">Lorem Ipsum</span>
                                </div>
                                <div class="cli-box-body">
                                    <p>Our teams all use Slack, so having our time-off system available through Toffy has been a productivity boost for our employees and managers</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--/.First slide-->

                    <!--Second slide-->
                    <div class="carousel-item">
                        <div class="col-sm-12 col-md-12 col-lg-10 col-xl-10 offset-lg-1">
                            <div class="cli-box">
                                <img src="docs/images/toffy/client-2-logo.png" />
                                <div class="cli-box-header">
                                    <span class="cli-name">INTERTECH</span>
                                    <span class="cli-pos">Lorem Ipsum</span>
                                </div>
                                <div class="cli-box-body">
                                    <p>Our teams all use Slack, so having our time-off system available through Toffy has been a productivity boost for our employees and managers</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--/.Second slide-->
                </div>
                <!--/.Slides-->

            </div>
            <!--/.Carousel Wrapper-->
        </div>
    </div>
</section>
<!-- Customer Review Section -->
<section class="pricing" id="pricing">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="h1-responsive pricing-title">Pricing</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-md-6 col-lg-4 mt-sm-5 mt-md-5">
                <div class="pri-box">
                    <div class="pri-header text-center">
                        <span>Free</span>
                    </div>
                    <div class="pri-offer text-center">
                        <i class="fa fa-usd" aria-hidden="true"></i>
                        <span class="pri-value">0</span>
                        <span class="pri-per-month">/ month</span>
                    </div>
                    <div class="pri-features">
                        <ul>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>5 Users</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>1 GB Space</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Email Support </li>
                        </ul>
                    </div>
                    <div class="pri-sign-up">
                        <button type="button" class="btn z-depth-0">Sign Up</button>
                    </div>
                </div>
            </div>
            <div class="col-sm-12 col-md-6 col-lg-4 mt-sm-5 mt-md-5">
                <div class="pri-box pri-box-standard">
                    <div class="pri-header pri-header-standard text-center">
                        <span>Standard</span>
                    </div>
                    <div class="pri-offer text-center">
                        <i class="fa fa-usd" aria-hidden="true"></i>
                        <span class="pri-value">50</span>
                        <span class="pri-per-month">/ month</span>
                    </div>
                    <div class="pri-features">
                        <ul>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>100 Users</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>50 GB Space</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Email Support</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Advanced options </li>
                        </ul>
                    </div>
                    <div class="pri-sign-up pri-sing-up-standard">
                        <button type="button" class="btn standard z-depth-0">Sign Up</button>
                    </div>
                    <div class="standard-recommended text-center">
                        <span>Recommended</span>
                    </div>
                </div>
            </div>
            <div class="col-sm-12 col-md-6 col-lg-4 mt-sm-5 mt-md-5">
                <div class="pri-box">
                    <div class="pri-header text-center">
                        <span>Premium</span>
                    </div>
                    <div class="pri-offer text-center">
                        <i class="fa fa-usd" aria-hidden="true"></i>
                        <span class="pri-value">100</span>
                        <span class="pri-per-month">/ month</span>
                    </div>
                    <div class="pri-features">
                        <ul>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Unlimited Users </li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>200 GB Space</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Email Support</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Live chat support</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>Advanced options</li>
                            <li><i class="fa fa-check text-left" aria-hidden="true"></i>&amp; Customization </li>
                        </ul>
                    </div>
                    <div class="pri-sign-up pri-sing-up-premium">
                        <button type="button" class="btn z-depth-0">Sign Up</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
    
    <!--Modal: Login / Register Form-->
    <div class="modal fade" id="loginRegisterModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog cascading-modal modal-lg" role="document">
            <!--Content-->
            <div class="modal-content">
    
                <!--Modal cascading tabs--> 
                <div class="modal-c-tabs">
    
                    <!-- Nav tabs -->
                    <ul class="nav nav-tabs tabs-2 toffy" role="tablist" id="loginRegisterTabs">
                        <li class="nav-item">
                            <a class="nav-link active" data-toggle="tab" href="#loginPanel" role="tab"><i class="fa fa-user mr-1"></i> Login</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" data-toggle="tab" href="#signupPanel" role="tab"><i class="fa fa-user-plus mr-1"></i> Sign up</a>
                        </li>
                    </ul>
    
                    <!-- Tab panels -->
                    <div class="tab-content">
                        <!--Panel 7-->
                        <div class="tab-pane fade in show active" id="loginPanel" role="tabpanel">
    
                            <!--Body-->
                            <div class="modal-body mb-1">
                            	<div class="col-md-7 offset-md-2">
	                                <div class="md-form form-sm">
	                                    <i class="fa fa-envelope prefix"></i>
	                                    <input type="text" id="loginEmail" class="form-control" name="username"/>
	                                    <label for="loginEmail" data-error="">Enter your email address</label>
	                                </div>
                                </div>
                                 <div class="row">
				            		<img id="login_loader" src="docs/images/toffy/signup_loader.gif"/>
				            	</div>
                            </div>
                            <!--Footer-->
                            <div class="modal-footer display-footer">
                            	<button type="button" class="btn btn-flat waves-effect waves-light" data-dismiss="modal" id="cancel-login-modal">Cancel</button>
                                <button type="button" class="btn waves-effect toffy" id="nextLoginBtn">Next</button>
                            </div>
    
                        </div>
                        <!--/.Panel 7-->
    
                        <!--Panel 8-->
                        <div class="tab-pane fade" id="signupPanel" role="tabpanel">
    
                            <!--Body-->
                            <div class="modal-body mb-0 singup-modal-body">
			                    <div class="row ml-lg-5 mb-3">
			                    	 <div class="col-sm-12 col-lg-6 offset-lg-2">
					                    <form id="logo-form" action="" method="post">
											<div class="image-upload">
												<label for="tenantLogo"><img id="comp_logo" src="docs/images/logo_placeholder.png" class="" style="display:none;width:100px;height:80px;cursor: pointer;" /></label> 
												<input id="tenantLogo" name="tenantLogo" type="file" class="dropify" accept="image/gif, image/jpeg, image/png" data-height="80" />
											</div>
										</form>
				                    </div>
			                    </div>
			                    <div class="row">
				                    <div class="col-md-6">
				                    	<div class="md-form form-sm">
					                        <input type="text" id="compName" class="form-control" />
					                        <label for="compName">Company Name</label>
				                   		 </div>
				                    </div>
				        			<div class="col-md-6">
				        				<div class="md-form form-sm">
					                        <input type="text" id="compDomain" class="form-control" />
					                        <label for="compDomain">Company domain</label>
				                    	</div>
				        			</div>            	                    
			                    </div>
			                	<div class="row">
				                    <div class="col-md-6">
				                    	<div class="md-form form-sm">
					                        <input type="text" id="contactName" class="form-control"/>
											<label for="contactName">Contact Name</label>
				                   		 </div>
				                    </div>
				        			<div class="col-md-6">
				        				<div class="md-form form-sm">
					                        <input type="text" id="compPhone" class="form-control"/>
											<label for="compPhone">Phone No#</label>
				                    	</div>
				        			</div>            	                    
			                    </div>
			                    <div class="row">
				                    <div class="col-md-6">
				                    	<div class="md-form form-sm">
					                        <input type="text" id="compEmail" class="form-control"/>
											<label for="compEmail">Email address</label>
				                   		 </div>
				                    </div>
				        			<div class="col-md-6">
				        				<div class="md-form form-sm">
					                        <input type="text" id="compWebsite" class="form-control"/>
											<label for="compWebsite">Website</label>
				                    	</div>
				        			</div>            	                    
			                    </div>
			                    <div class="row ml-1 mb-2 mt-2">
			                    	<span class="mod-sec-title">Address</span>
			                    </div>
			                   	<div class="row">
			                   		<div class="col-sm-6 col-md-3">
			                   			<div class="md-form form-sm">
				                   			<input type="text" id="country" class="form-control"/>
											<label for="country">Country</label>
										</div>
			                   		</div>
			                   		<div class="col-sm-6 col-md-3">
			                   			<div class="md-form form-sm">
				                   			<input type="text" id="zipcode" pattern="[0-9]*" maxlength="5" class="form-control"/>
											<label for="zipcode">Zipcode</label>
										</div>
			                   		</div>
			                   		<div class="col-sm-6 col-md-3">
			                   			<div class="md-form form-sm">
				                   			<input type="text" id="city" class="form-control"/>
											<label for="city">City</label>
										</div>
			                   		</div>
			                   		<div class="col-sm-6 col-md-3">
			                   			<div class="md-form form-sm">
				                   			<input type="text" id="state" class="form-control"/>
											<label for="state">State</label>
										</div>
			                   		</div>
			                   	</div>
			                   	<div class="section pt-2 ml-1">
			                   		<div class="row ml-1">
			                   			<span class="mod-sec-title">Login Type</span>
			                   		</div>
			                   		<div class="row ml-1">
										<span id="loginTypeError" class="error" style="font-size:13px;"></span>
									</div>
			                   		<div class="row mt-2">
			                   			<div class="col-md-6">
			                   				<div class="form-group radio-toffy">
									        	<input name="loginType" type="radio" id="native" value="native" />
									        	<label for="native">Toffy native login</label>
									   		 </div>
			                   			</div>
			                   			<div class="col-md-6">
			                   				<div class="form-group radio-toffy">
									        	<input name="loginType" type="radio" id="google" value="google" />
									        	<label for="google">Google authentication</label>
									   		 </div>
			                   			</div>
			                   		</div>
			                   	</div>
				                 <div class="row">
				            		<img id="signup_loader" src="docs/images/toffy/signup_loader.gif"/>
				            		<p class="toffy-text">Signing up. Please wait...</p>
				            	</div>
                            </div>
                            <!--Footer-->
                            <div class="modal-footer display-footer">
                            	<button type="button" class="btn btn-flat" data-dismiss="modal">Cancel</button>
                                <button type="button" class="btn toffy waves-effect waves-light" id="signUpBtn">Sign up</button>
                            </div>
                         </div>
                        </div>
                        <!--/.Panel 8-->
                    </div>
    
                </div>
            </div>
            <!--/.Content-->
        </div>
    <!--Modal: Login / Register Form-->
    
                                                
    <!-- Central Modal Medium Success -->
    <div class="modal fade" id="signupSuccess" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-notify modal-success" role="document">
            <!--Content-->
            <div class="modal-content">
                <!--Header-->
                <div class="modal-header toffy">
                    <p class="heading lead">Successfully registered</p>
    
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true" class="white-text">&times;</span>
                    </button>
                </div>
    
                <!--Body-->
                <div class="modal-body">
                    <div class="text-center">
                        <i class="fa fa-check fa-4x mb-3 animated rotateIn toffy-text"></i>
                        <p>Thanks for registering !</p>
						<p>We are working to setup your account and will contact you soon.</p>
                    </div>
                </div>
    
                <!--Footer-->
                <div class="modal-footer justify-content-center">
                    <a type="button" class="btn toffy" data-dismiss="modal" onclick="$('.modal').modal('hide')">OK</a>
                </div>
            </div>
            <!--/.Content-->
        </div>
    </div>
    <!-- Central Modal Medium Success-->
    <!-- contact modal success -->
    <div class="modal fade show" id="contactSuccess" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog modal-notify modal-success" role="document">
        <!--Content-->
        <div class="modal-content">
            <!--Header-->
            <div class="modal-header">
                <p class="heading lead">contact Success</p>

                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true" class="white-text">×</span>
                </button>
            </div>

            <!--Body-->
            <div class="modal-body">
                <div class="text-center">
                    <i class="fa fa-check fa-4x mb-3 animated rotateIn"></i>
                    <p>
                        success send the message
                    </p>
                </div>
            </div>

            <!--Footer-->
            <div class="modal-footer justify-content-center">
                <a type="button" class="btn toffy" data-dismiss="modal">OK</a>
            </div>
        </div>
        <!--/.Content-->
    </div>
</div>
    <!-- contact modal success -->

    <!-- Login modal -->
    <div class="modal fade" id="modalLoginAvatar" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
	    <div class="modal-dialog modal-sm cascading-modal modal-avatar login-modal" role="document">
			<!--Content-->
			<div class="modal-content">
				<!-- Back arrow -->
				<div class="login-back">
					<i class="fa fa-chevron-left toffy-text" aria-hidden="true" id="loginBack"></i>
				</div>
				<!-- Close icon -->
				<div class="close-modal-icon">
					<i class="fas fa-times" aria-hidden="true" data-dismiss="modal"></i>
				</div>
				<!--Header-->
				<div class="modal-header avatar-login-modal-header">
					<img id="t_img"  class="img-responsive" alt="Avator photo" />
				</div>
				<!--Body-->
				<div class="modal-body text-center mb-1">

					<h5 class="mb-5" id="t_name">Maria Doe</h5>
					<div class="native-login">
						<div class="md-form ml-0 mr-0 mt-2">
							<input id="loginPassword" class="form-control ml-0" type="password" />
							<label for="loginPassword" class="ml-0">Enter password</label>
						</div>
						<div class="forgot-password">
							<a class="toffy-text" target="_blank" href="#" id="forget-button">Forgot?</a>
						</div>
						<div class="text-center avatar-modal-login-btn">
							<button class="btn mt-1 waves-effect waves-light toffy" id="nativeLoginBtn">
                                <input type="hidden" id="tenant_id">
								Login <i class="fas fa-sign-in-alt ml-1"></i>
							</button>
						</div>
						<div class="row">
				            <img id="native_login_loader" src="docs/images/toffy/signup_loader.gif"/>
				        </div>
					</div>
					<div class="google-login">
						<div class="text-center">
							<button class="btn mt-1 waves-effect waves-light toffy" id="signInWithGoogle">
								Sign in with Google <i class="fab fa-google-plus-g ml-1" aria-hidden="true"></i>

							</button>
						</div>
						<div class="row">
				            <img id="google_login_loader" src="docs/images/toffy/signup_loader.gif"/>
				        </div>
					</div>
				</div>
	
			</div>
			<!--/.Content-->
	</div>
</div>



<div class="modal fade" id="tenant_select_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog modal-sm cascading-modal modal-avatar login-modal" role="document">
        <div class="modal-content" >
            <div class="login-back">
                <i class="fa fa-chevron-left toffy-text" aria-hidden="true" id="selectTenantBack"></i>
            </div>

            <!-- Close icon -->
            <div class="close-modal-icon">
                <i class="fas fa-times" aria-hidden="true" data-dismiss="modal"></i>
            </div>
            <!--Header-->
            <h5 class="mb-5 r-address" >Please Select Tenant</h5>
            <div class="modal-body select-tenant-body"  style="height: 320px;"  id="tenant_select_modal_list">


            </div>

        </div>

    </div>
</div>


<footer class="page-footer center-on-small-only toffy-footer">

    <!--Footer Links-->
    <div class="container-fluid">
        <section class="contact-us" id="contactUs">
            <div class="row">
                <div class="col-md-12 text-center">
                    <h1 class="h1-responsive contact-us-title">Contact Us</h1>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12 col-md-6 col-lg-1 col-xl-2 mt-sm-5">
                    <img src="docs/images/toffy/logo-with-caption-white.png" class="footer-logo" />
                </div>
                <div class="col-sm-12 col-md-6 col-lg-6 mt-sm-5">
                    <div class="contact-us-form">
                        <div class="contact-us-header">
                            <span>Get in touch</span>
                        </div>
                        <div class="md-form">
                            <input type="text" class="input-alternate" placeholder="Name" id="contactFormName" />
                            <div class="contact-us-form-error" >required</div>
                        </div>
                        <div class="md-form">
                            <input type="text" class="input-alternate" placeholder="Email Address" id="contactEmail"/>
                            <div class="contact-us-form-error" >required</div>

                        </div>
                        <div class="md-form">
                            <input type="text" class="input-alternate" placeholder="Phone number" id="contactPhoneNumber" />
                            <div class="contact-us-form-error" >required</div>

                        </div>
                        <div class="md-form">
                            <input type="text" class="input-alternate" placeholder="Company name" id="contactCompanyName" />
                            <div class="contact-us-form-error" >required</div>

                        </div>
                        <div class="md-form">
                            <textarea type="text" class="input-alternate contact-us-text-area" placeholder="Message" id="contactMessage" ></textarea>
                            <div style ="margin:-0.7em 0.3em 0em 0em;"class="contact-us-form-error" >required</div>

                        </div>
                        <div class="md-form">
                            <img id="contact_loader" src="docs/images/toffy/signup_loader.gif" >
                        </div>
                        <div class="contact-us-send-msg">
                            <button type="button" class="btn z-depth-0 waves-effect waves-light" id="contactSendBtn" >Send</button>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12 col-md-6 col-lg-5 col-xl-4 mt-sm-5">
                    <div class="r-address">
                        <ul>
                            <li>United States</li>
                            <li>412 Pratt Ln, Palo Alto, CA,</li>
                            <li>94306</li>
                            <li>Cellular: (650) 576 2619</li>
                            <li>Telephone: (650) 587 8786</li>
                            <li>Google: (650) 453 8786</li>
                        </ul>
                    </div>
                    <div class="e-address">
                        <ul>
                            <li>Off Shore</li>
                            <li>26 Naji Al-Ali Street, Al-</li>
                            <li>Massyoun Heights</li>
                            <li>PO Box 1133, Ramallah, W603,</li>
                            <li>Palestine</li>
                            <li>Tel: +972 2 296 5740</li>
                            <li>Fax:+972 2 296 5742</li>
                            <li>Cell.+972 59 928 39 64</li>
                        </ul>
                    </div>
                    <div class="find-us">
                        <ul>
                            <li><a class="fb-icon" href=""><i class="fab fa-facebook-square" aria-hidden="true"></i></a></li>
                            <li><a class="twitter-icon" href="https://twitter.com/AiTalk2" target="_blank"><i class="fab fa-twitter" aria-hidden="true"></i></a></li>
                            <li><a class="linked-in-icon" href="https://www.linkedin.com/company/17915938/" target="_blank"><i  class="fab fa-linkedin" aria-hidden="true"></i></a></li>
                            <li><a class="blog-icon" href="http://talk2ai.blogspot.com/" target="_blank"><i class="fab fa-blogger-b" aria-hidden="true"></i></a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <!--/.Footer Links-->

    <!--Copyright-->
    <div class="footer-copyright toffy-copyright">
        <div class="container-fluid text-left">
            Copyright © 2017 Talk2AI LLC. All rights reserved.
        </div>
    </div>
    <!--/.Copyright-->

</footer>
<!--/.Footer-->

<!-- JQuery -->
    <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>

    <!-- Bootstrap tooltips -->
    <script type="text/javascript" src="docs/js/popper.min.js"></script>
    <!-- MDB core JavaScript -->
    <script type="text/javascript" src="docs/js/mdb.min.js"></script>
    
    <!-- Bootstrap core JavaScript -->
    <script type="text/javascript" src="docs/js/bootstrap.min.js"></script>
   

    <script type="text/javascript" src="docs/js/toffy.js"></script>
    <!-- WOW js -->
    <script type="text/javascript" src="docs/js/wow.min.js"></script>
    
    <script type="text/javascript" src="docs/js/dropify.js"></script>
    <script type="text/javascript">
  //<![CDATA[
        
        
        $(document).ready(function() {
        	  /*  $('.carousel').carousel({
        	        interval: 2000
        	    }) */
        	    
        	    //$("#signupModal").modal('show');


        	    new WOW().init();
            var query=location.search.substr(1);
            if(!(query==null||query==undefined)){
                if(query.indexOf("code")>-1){
                    query=query.split('&');

                    var platform = window.navigator.platform
                    var iosPlatform = ['iPhone',"iPad","iPod"]
                    if (iosPlatform.indexOf(platform) !== -1) {
                        console.log(platform)
                        document.location.replace("toffyclock://?"+query[0]);
                    }
                }
            }
        	    $("#signUpBtn").on("click", function(){
        	    	if(validate()) {
        	    		logo = new FormData($("#logo-form")[0]);
        	    		block(true);
        	    		showSignupLoader();
        	    		setTimeout(function(){signup();}, 200);
        	    		ga('send', 'event', { eventCategory: 'Actual sign up', eventAction: 'click', eventLabel: 'Sign up button clicked'});
        	    	}
                });
               /* $("#forget-button").on("click", function(){
                    var tId= $("#tenant_id").val();
                    window.location.href = "/password-reset/"+tId;
                });*/
                $("#contactSendBtn").on("click",function(){
                    if(validateContactForm()){
                        blockContactForm(true);
                        showContactLoader();
                        sendContactUsForm();
                    }

                });
        	    
        	    $("#nextLoginBtn").on("click", function() {
        	    	if(validateLoginInput()) {
        	    		block(true);
        	    		showLoginLoader();
        	    		setTimeout(function(){login();}, 200);
        	    	}
        	    });
        	    
        	    // nativeLoginBtn
        	    $("#nativeLoginBtn").on("click", function() {
        	    	if(validateNativeLoginInput()) {
        	    		block(true);
        	    		showNativeLoginLoader();
        	    		setTimeout(function(){nativeLogin();}, 200);
        	    		ga('send', 'event', { eventCategory: 'Actual login', eventAction: 'click', eventLabel: 'Login button clicked'});
        	    	}
        	    });
        	    
        	 // Sign in
     	 		$('#signInWithGoogle').click(function(){
     	 			auth2.disconnect();
     	 			$('#google_login_loader').show();
     	 			
     	 			$('#signInWithGoogle').hide();
     	 			auth2.grantOfflineAccess().then(signInCallback);
     	 			ga('send', 'event', { eventCategory: 'Actual login', eventAction: 'click', eventLabel: 'Login button clicked'});
     	 		});
     	 		
     	 		function signInCallback(authResult) {
     	 			  if (authResult['code']) {

     	 			    // Send the code to the server 	 			   
     	 			    $.ajax({
     	 			      type: 'POST',
     	 			      url: '/api/v1/employee/login-gmail/' + $("#tenant_id").val(),
     	 			      // Always include an `X-Requested-With` header in every AJAX request,
     	 			      // to protect against CSRF attacks.
     	 			      headers: {
     	 			        'X-Requested-With': 'XMLHttpRequest' 	 			    
     	 			      },
     	 			      contentType: 'application/octet-stream; charset=utf-8',
     	 			      success: function(result) {
     	 			      	// Redirect to home page
     	 			      	
     	 			        window.location.href = "/?ref=signIn";
     	 			      },
     	 			      error: function(data) {
     	 			    	$('#signInWithGoogle').hide();
     	 			    	$('#gmail_login_loader').hide();
     	 			    	$('#gmail_login_loader').next("p").hide();
     	 			    	$('#error_msg').text("Sorry! Your account is not authorized to use Toffy App");
     	 			      },
     	 			      processData: false,
     	 			      data: authResult['code']
     	 			    });
     	 			  } else {
     	 				$('#gmail_login_loader').hide();
     	 				$('#gmail_login_loader').next("p").hide();
     	 				$('#signInBtn').show();
     	 			    // There was an error.
     	 			    alert("error");
     	 			  }
     	 			}
     	 		
     	 		$("#loginBack").on("click", function() {
     	 			$("#modalLoginAvatar").modal('hide');

                    if($(".tenant-info").length>1){
                        $("#tenant_select_modal").modal('show');

                    }else{
                        $('#loginRegisterModal').modal('show');
                        $('#loginRegisterTabs a:first').tab('show');
                    }
     	 		});
            $("#selectTenantBack").on("click", function() {
                $("#tenant_select_modal").modal('hide');
                $('#loginRegisterModal').modal('show');
                $('#loginRegisterTabs a:first').tab('show');
            });
     	 		
     	 		$("#loginPanel").on("keypress", function(e){
     	 			if(e.keyCode == 13) {
     	 				$("#nextLoginBtn").click();
     	 			}
     	 		});
     	 		
     	 		$("#loginPassword").on("keypress", function(e){
     	 			if(e.keyCode == 13) {
     	 				$("#nativeLoginBtn").click();
     	 			}
     	 		});
            var query=location.search.substr(1);
            if(!(query==null||query==undefined)){
                if(query.indexOf("code")>-1){
                    query=query.split('&');


                    var platform = window.navigator.platform
                    var iosPlatform = ['iPhone',"iPad","iPod"]
                    if (iosPlatform.indexOf(platform) !== -1) {
                        console.log(platform)
                        document.location.replace("toffyclock://?"+query[0]);
                    }
                }
            }


     	 		$(window).resize(function () {
     	 		   resizeHandle();

                });
                resizeHandle();

        });
        
        
        //]]>
    </script>
</body>
</html>