Skip to content

Commit

Permalink
improve landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Mar 26, 2013
1 parent ae65153 commit ad6d6d5
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 22 deletions.
Binary file added public/images/exp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/man.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/stylesheets/index.css
Expand Up @@ -36,3 +36,13 @@ div#indicator {
height: 2px;
}

p.lead.landing {
font-size: 3em;
line-height: 3em;
text-shadow: 0 2px 0 white;
}

p.notice {
font-size: 0.5em;
color: #666;
}
32 changes: 20 additions & 12 deletions views/index.ejs
Expand Up @@ -27,27 +27,35 @@
<% if(!session.user_profile){ %>
<!-- this is not-logined visit -->
<div class="inline_center">
<div class="img-container">
<div class="img-exp">
<img src="/images/exp.png">
</div>
<div class="img-man">
<img src="/images/man.png">
</div>
</div>
<p class="lead landing">
いつも聞いてるプレイリストに<br>
一曲だけ偶然の出会いを
</p>
<a id="signin_first" class="btn btn-large btn-info" href="/auth/twitter"><b>Sign in with twitter</b></a>
<br>
<br>
<div>
<p class="notice">
※ プレイリスト管理用にのみ使用します<br>
※ 自動的なTLへの投稿はありません
</p>
</div>
<!-- Button to trigger modal -->
<a id="foot_title" href="#myModal" role="button" class="footer" data-toggle="modal">What is "SoundHook"?</a>
<a id="foot_title" href="#myModal" role="button" class="footer" data-toggle="modal">もっとくわしく</a>
<!-- Modal -->
<div class="modal hide fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header" style="text-align:left">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="icon-remove"></i></button>
<h3 id="myModalLabel" class="lead"><b>Introductions</b></h3>
</div>
<div class="modal-body" style="text-align:left">
<p class="lead">流動的BGMメーカー、SoundHookちゃんですぞ!</p>
<ul>
<li>Youtubeに転がってる曲で自分だけのプレイリストを作れます</li>
<li>作業用BGMとして聞き流していると、ときどき知らない曲が紛れ込んできたりします</li>
<li>「いいかもー」と思ったらその場で"Hook"(フック)してプレイリストに取り込めます</li>
<li>ひまなときは「Radio Mode」で知らない曲ばっかり聞いてみると良い出会いがあったりなかったり</li>
<li><img id="in_modal_thumbnail" src="images/soundhook.png"> - <a href="https://twitter.com/sound_hook" target="_blank">@sound_hook</a> on Twitter</li>
</ul>
<small>Copyright otiai10 All right reserved</small>
<%- partial('partials/modal.inc.ejs') %>
</div><!--/.modal-body -->
<div class="modal-footer">
<a href="http://otiai10.com/products/soundhook/" target="_blank">More about soundhoook?</a>
Expand Down
10 changes: 1 addition & 9 deletions views/layout.ejs
Expand Up @@ -68,15 +68,7 @@
<h3 id="myModalLabel" class="lead"><b>Introductions</b></h3>
</div><!-- /.modal-header -->
<div class="modal-body">
<p class="lead">流動的BGMメーカー、SoundHookちゃんですぞ!</p>
<ul>
<li>Youtubeに転がってる曲で自分だけのプレイリストを作れます</li>
<li>作業用BGMとして聞き流していると、ときどき知らない曲が紛れ込んできたりします</li>
<li>「いいかもー」と思ったらその場で"Hook"(フック)してプレイリストに取り込めます</li>
<li>ひまなときは「Radio Mode」で知らない曲ばっかり聞いてみると良い出会いがあったりなかったり</li>
<li><img id="in_modal_thumbnail" src="images/soundhook.png"> - <a href="https://twitter.com/sound_hook" target="_blank">@sound_hook</a> on Twitter</li>
</ul>
<small>Copyright otiai10 All right reserved</small>
<%- partial('partials/modal.inc.ejs') %>
</div><!-- /.modal-body -->
<div class="modal-footer">
<a href="http://otiai10.com/products/soundhook/" target="_blank">More about soundhoook</a>
Expand Down
2 changes: 1 addition & 1 deletion views/partials/header.inc.ejs
Expand Up @@ -4,7 +4,7 @@
<div class="navbar fill">
<div class="navbar-inner">
<div class="contents">
<a class="brand" href="<%=rurl%>"><span class="lead um">SoundHook <small>ver0.9.7</small></span></a>
<a class="brand" href="<%=rurl%>"><span class="lead um">SoundHook <small>ver0.9.8</small></span></a>
<small>Reserved-space:</small>
<ul class="nav pull-right">
<% if(session.user_profile){ %>
Expand Down
10 changes: 10 additions & 0 deletions views/partials/modal.inc.ejs
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<p class="lead">いつも聞いてるプレイリストに一曲だけ偶然の出会いを</p>
<ul>
<li>Youtubeに転がってる曲で自分だけのプレイリストを作れます</li>
<li>ランダムで知らない曲が紛れ込んできたりします</li>
<li>いいかもーと思ったらその場で"Hook"(フック)してプレイリストに取り込めます</li>
<li>ひまなときはRadio Modeで知らない曲ばっかり聞いてみると良い出会いがあったりなかったり</li>
<li><img id="in_modal_thumbnail" src="images/soundhook.png"> - <a href="https://twitter.com/sound_hook" target="_blank">@sound_hook</a> on Twitter</li>
</ul>
<small>Copyright otiai10 All right reserved</small>

0 comments on commit ad6d6d5

Please sign in to comment.