metamaps--metamaps/app/views/main/home.html.erb

53 lines
2.4 KiB
Text
Raw Normal View History

<%#
# @file
# Located at /
# Shows 3 most recently created topics, synapses, and maps.
2014-08-10 17:06:58 +00:00
#%>
2014-08-02 02:50:23 +00:00
<% if !authenticated? %>
2014-08-10 23:13:25 +00:00
<% content_for :title, "Home | Metamaps" %>
<div id="yield">
<div class="homeWrapper homeText">
<div class="homeTitle">Make sense with Metamaps.</div>
2014-08-10 23:13:25 +00:00
<div class="homeIntro">
<span class="green din-medium">METAMAPS.CC</span> is a free and open source platform that supports real-time sense-making, distributed collaboration, and collective intelligence within individuals, communities, and organizations. We are currently in an <span class="din-medium">invite-only beta.</span>
2014-08-10 23:13:25 +00:00
</div>
</div>
<div class="fullWidthWrapper withVideo">
<div class="homeWrapper">
<img class="homeVideo" src="/assets/video-screen.png" width="560" height="350" />
<div class="callToAction">
<h3>Who finds it useful?</h3>
<p>Designers, inventors, artists, educators, strategists, consultants, facilitators, organizers, systems thinkers, changemakers, analysts, students, researchers... maybe you!</p>
<a href="/request" class="requestInviteCTA" data-bypass="true">REQUEST INVITE</a>
<a href="/explore/featured" class="exploreFeaturedCTA">EXPLORE FEATURED MAPS</a>
<button type="button" class="button learnMoreCTA" onclick="Metamaps.GlobalUI.openLightbox('about');">LEARN MORE</button>
</div>
<div class="clearfloat"></div>
</div>
</div>
<div class="fullWidthWrapper withPartners">
<div class="homeWrapper homePartners">
<% # our partners %>
2014-08-10 23:13:25 +00:00
</div>
</div>
2014-09-16 01:57:34 +00:00
</div><!-- end yield -->
<div class="github-fork-ribbon-wrapper left-bottom">
<div class="github-fork-ribbon">
<a href="https://github.com/connoropolous/metamaps_gen002" target="_blank">Fork me on GitHub</a>
</div>
</div>
2014-08-10 23:13:25 +00:00
<script>
Metamaps.currentSection = "";
Metamaps.currentPage = "";
</script>
2014-08-02 02:50:23 +00:00
<% elsif authenticated? %>
2014-08-10 23:13:25 +00:00
<% content_for :title, "My Maps | Metamaps" %>
<script>
2014-08-10 17:06:58 +00:00
Metamaps.Maps.Mine = <%= @maps.to_json.html_safe %>;
Metamaps.currentSection = "";
Metamaps.currentPage = "";
Metamaps.GlobalUI.Search.isOpen = true;
Metamaps.GlobalUI.Search.lock();
2014-08-10 23:13:25 +00:00
</script>
2014-08-10 17:06:58 +00:00
<% end %>