<div class="jumbotron landing">
  <div class="landing-background" ng-class="user.anonymous ? 'landing': 'signedin'"></div>
  <div class="landing-filter" ng-class="user.anonymous ? 'landing': 'signedin'"></div>
  <div class="landing-content">
    <div class="cor-container">
      <div class="row messages">
        <div class="col-md-7">
          <div ng-show="user.anonymous">
            <h1>Secure hosting for <b>private</b> Docker<a class="disclaimer-link" href="/disclaimer" target="_self">*</a> repositories</h1>
            <h3>Use the Docker images <b>your team</b> needs with the safety of <b>private</b> repositories</h3>
            <a href="/plans/?trial-plan=bus-coreos-trial" class="call-to-action">Get 20 free private repos for 6 months<i class="fa fa-arrow-right"></i></a>
          </div>

          <div ng-show="!user.anonymous">
            <span class="namespace-selector" user="user" namespace="namespace" ng-show="user.organizations"></span>

            <div class="resource-view" resource="my_repositories">
              <!-- Repos -->
              <div ng-show="my_repositories.value.length > 0">
                <h2>Top Repositories</h2>
                <div class="repo-listing" ng-repeat="repository in my_repositories.value">
                  <span class="repo-circle no-background" repo="repository"></span>
                  <a ng-href="/repository/{{ repository.namespace }}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
                  <div class="markdown-view description" content="repository.description" first-line-only="true"></div>
                </div>
                <a href="/repository/?namespace={{ namespace }}">See All Repositories</a>
              </div>

              <!-- No Repos -->
              <div ng-show="my_repositories.value.length == 0">
                <div class="sub-message" style="margin-top: 20px">
                  <span ng-show="namespace != user.username">You don't have access to any repositories in this organization yet.</span>
                  <span ng-show="namespace == user.username">You don't have any repositories yet!</span>
                  <div class="options">
                    <a class="btn btn-primary" href="/repository/">Browse all repositories</a>
                    <a class="btn btn-success" href="/new/" ng-show="canCreateRepo(namespace)">Create a new repository</a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div> <!-- col -->

        <div class="col-md-4 col-md-offset-1">
          <div ng-show="user.anonymous">
            <div class="signup-form"></div>
          </div>
          <div ng-show="!user.anonymous" class="user-welcome">
            <span class="avatar" size="128" data="user.avatar"></span>
            <div class="sub-message">Welcome <b>{{ user.username }}</b>!</div>
            <a ng-show="my_repositories.value" class="btn btn-primary" href="/repository/">Browse all repositories</a>
            <a class="btn btn-success" href="/new/">Create a new repository</a>
          </div>
        </div> <!-- col -->
      </div> <!-- row -->
    </div> <!-- container -->
  </div>
</div> <!-- jumbotron -->

<div class="rows" ng-show="user.anonymous">
  <div class=" shoutout-row  landing-section">
    <div class="cor-container">
      <div class="row">
        <div class="col-md-4 shoutout">
          <i class="fa fa-lock"></i>
          <b>Private Storage</b>
          <span class="shoutout-expand">
            Push and pull Docker images to a private registry, with a focus on user experience
            for your developers.
          </span>
          <a class="shoutout-link" href="/tour/features">View Features</a>
        </div>

        <div class="col-md-4 shoutout">
          <i class="fa fa-group"></i>
          <b>Teamwork Optimized</b>
          <span class="shoutout-expand">
            Specially designed for teams, organizations and businesses that use Docker.
          </span>
          <a class="shoutout-link" href="/tour/organizations">View Teams and Organizations</a>
        </div>

        <div class="col-md-4 shoutout">
          <i class="fa fa-cogs"></i>
          <b>Deployment Made Easy</b>
          <span class="shoutout-expand">
            Tools and Solutions that help make your application deployment simple and straightforward.
          </span>
          <a class="shoutout-link" href="http://docs.quay.io/solution">View Solutions</a>
        </div>
      </div>
    </div>
  </div> <!--  -->

  <div class=" landing-section">
    <h2>Trusted by companies who use Docker</h2>
    <div class="cor-container">
      <div class="row">
        <div class="trusted-logos">
          <div class="col-md-3 trusted-logo">
            <a href="http://www.modcloth.com" target="_blank" alt="ModCloth"><img src="/static/img/modcloth-logo.png"></a>
          </div>
          <div class="col-md-3 trusted-logo">
            <a href="https://travis-ci.com" target="_blank" alt="Travis CI"><img src="/static/img/travisci-logo.png"></a>
          </div>
          <div class="col-md-3 trusted-logo apptentive">
            <a href="http://www.apptentive.com" target="_blank" alt="Apptentive"><img src="/static/img/apptentive-logo.svg"></a>
          </div>
          <div class="col-md-3 trusted-logo">
            <a href="http://bex.io" target="_blank" alt="Bex.io"><img src="/static/img/bexio-logo.png"></a>
          </div>
        </div>
      </div>
    </div>
  </div> <!--  -->

  <div class="landing-section">
    <h2>Built with our users in mind</h2>
    <div class="cor-container">
      <div class="row">
        <div class="col-lg-8 feature-shoutout">
          <img id="screenshot" ng-src="{{ '/static/img/' + currentScreenshot + '.png' }}" class="img-responsive">
        </div>
        <div class="col-lg-4">
          <div class="screenshot-feature" ng-class="currentScreenshot == 'repo-view' ? 'active' : ''" ng-click="changeScreenshot('repo-view')">
            <i class="fa fa-hdd-o"></i>
            <span class="sf-title">Beautiful repository view</span>
            <div class="sf-text">
              Repository is presented with the maximum amount of useful information, including a full tags list,
              markdown based description and repository push and pull counts.
            </div>
          </div>

          <div class="screenshot-feature" ng-class="currentScreenshot == 'repo-tags' ? 'active' : ''" ng-click="changeScreenshot('repo-tags')">
            <i class="fa fa-tags"></i>
            <span class="sf-title">Repository Operations</span>
            <div class="sf-text">
              Operations on a repository can be performed directly from the user interface, including adding,
              removing, and reverting tags.
            </div>
          </div>

          <div class="screenshot-feature" ng-class="currentScreenshot == 'repo-settings' ? 'active' : ''" ng-click="changeScreenshot('repo-settings')">
            <i class="fa fa-group"></i>
            <span class="sf-title">Share at your control</span>
            <div class="sf-text">
              Set up the exact permissions your team, organization or business needs. Need to grant external access? Create one or more robot accounts to restrict access.
            </div>
          </div>

          <div class="screenshot-feature" ng-class="currentScreenshot == 'build-history' ? 'active' : ''" ng-click="changeScreenshot('build-history')">
            <i class="fa fa-tasks"></i>
            <span class="sf-title">Dockerfile Build</span>
            <div class="sf-text">
              Repositories can be linked to GitHub, BitBucket, GitLab or custom git repositories, with automatic building of the Dockerfile(s) found on push.
            </div>
          </div>
        </div>
      </div>
    </div>
  </div> <!--  -->

  <div class="landing-section">
    <h2>Seamlessly integrate into your Docker-based infrastructure</h2>
    <div class="cor-container">
      <div class="row testimonial">
        <div class="message">
          Quay.io has become an essential part of our infrastructure as we move to Docker-based deploys.
          The support and service that the Quay.io team provides is phenomenal.  We couldn't do it without them!
        </div>

        <div class="speaker-info">
          <img src="/static/img/testimonial-mike.png">
          <span class="speaker-info-internal">
            <span class="speaker">Mike Saffitz</span>
            <span class="speaker-title"><a href="http://www.apptentive.com" target="_blank" alt="Apptentive">Apptentive</a> - CTO & Co-Founder</span>
          </span>
        </div>
        <a class="learn-more" href="/tour">Learn more</a>
      </div>
    </div>
  </div> <!--  -->

  <div class="landing-section">
    <h2>See what other people are saying about Quay.io</h2>
    <div class="cor-container">
      <div class="row">
        <div class="jcarousel-wrapper">
          <div class="jcarousel">
            <ul>
              <li>
                <div class="twitter-view" avatar-url="https://pbs.twimg.com/profile_images/3320588708/9237d8d056e9ce2fa737ea7ab2de345b_bigger.jpeg"
                     author-name="Ross Timson" author-user="rosstimson" message-url="https://twitter.com/rosstimson/statuses/451052618685882368"
                     message-date="April 1, 2014">
                  Pushing Dockerfile changes to Github and having <a href="https://twitter.com/quayio">@quayio</a> build the
                  <a href="https://twitter.com/docker">@docker</a> image/container for you is extremely awesome.
                </div>
              </li>

              <li>
                <div class="twitter-view" avatar-url="https://pbs.twimg.com/profile_images/483391930147954688/pvJAHzy__bigger.jpeg"
                     author-name="Frank Macreery" author-user="fancyremarker" message-url="https://twitter.com/fancyremarker/statuses/448528623692025857"
                     message-date="March 25, 2014">
                  <a href="https://twitter.com/quayio">@quayio</a> releases Docker build flair! <a href="http://t.co/72ULgveLj4">pic.twitter.com/72ULgveLj4</a>
                </div>
              </li>

              <li>
                <div class="twitter-view" avatar-url="https://pbs.twimg.com/profile_images/438406731660394496/UKGDY6xB_bigger.jpeg"
                     author-name="Joshua Goldie" author-user="jdgoldie" message-url="https://twitter.com/jdgoldie/statuses/446622958040408064"
                     message-date="March 20, 2014">
                  Just started playing with <a href="https://twitter.com/quayio">@quayio</a> builds tied to
                  <a href="https://twitter.com/search?q=%23github&amp;src=hash">#github</a> repo. Really liking it. My first experiment:
                  <a href="https://t.co/2LgyagwTEq">https://t.co/2LgyagwTEq</a>
                </div>
              </li>

              <li>
                <div class="twitter-view" avatar-url="https://pbs.twimg.com/profile_images/378800000731516813/e70eae6c4a2c25ae516660e958b3d36b_bigger.jpeg"
                     author-name="Evan Hazlett" author-user="ehazlett" message-url="https://twitter.com/ehazlett/statuses/442351806161510400"
                     message-date="March 8, 2014">
                  Great guys <a href="https://twitter.com/quayio">@quayio</a>. If you haven’t tried it, do.
                </div>
              </li>

              <li>
                <div class="twitter-view" avatar-url="https://pbs.twimg.com/profile_images/463168904320122880/lQG69Wqk_bigger.jpeg"
                     author-name="Jon Morehouse" author-user="JonMorehouse" message-url="https://twitter.com/JonMorehouse/statuses/441719785055739904"
                     message-date="March 6, 2014">
                  <a href="https://twitter.com/quayio">@quayio</a> has awesome support.
                  <a href="https://twitter.com/search?q=%23awesomeTool&amp;src=hash">#awesomeTool</a>
                  <a href="https://twitter.com/search?q=%23awesomeTeam&amp;src=hash">#awesomeTeam</a>
                </div>
              </li>
            </ul>
          </div>

          <a href="#" class="jcarousel-control jcarousel-control-prev">&lsaquo;</a>
          <a href="#" class="jcarousel-control jcarousel-control-next">&rsaquo;</a>

          <p class="jcarousel-pagination"></p>
        </div>
      </div>

      <div class="row">
        <div class="col-md-12 follow-button">
          <iframe allowtransparency="true" frameborder="0" scrolling="no"
                  src="//platform.twitter.com/widgets/follow_button.html?screen_name=quayio&show_count=false"
                  style="width:120px; height:20px;"></iframe>
        </div>
      </div>
    </div>
  </div>

  <div class="landing-section">
    <h2>Start pushing to Quay.io in under a minute</h2>
    <div class="cor-container">
      <div class="row landing-action">
        <a href="/plans" class="btn btn-primary">Start Free Trial</a>
      </div>
    </div>
  </div>

</div>

<div class="cor-container" ng-if="user.anonymous">
  <div class="row">
    <div style="border-top: 1px solid #eee; padding-top: 20px;" class="col-md-12">
      <a href="https://mixpanel.com/f/partner"><img src="//cdn.mxpnl.com/site_media/images/partner/badge_light.png" alt="Mobile Analytics" /></a>
    </div>
  </div>
</div>