Permalink
Browse files

Added blog & github links

  • Loading branch information...
1 parent 58b1793 commit 38f610d19352e1badca541116ecf500cd28912a9 @zk committed Oct 16, 2010
Showing with 26 additions and 11 deletions.
  1. +18 −11 app/views/layouts/_header.html.erb
  2. +8 −0 public/stylesheets/main.css
@@ -34,16 +34,23 @@
<div class="header_content">
<div class="user_area">
<div class="grid_16">
- <span class="user_area_content">
- <% if current_user_session %>
- <%= image_tag(grav_url_for(current_user.email, 16), :class => 'user_area_gravatar') %>
- Logged in as <%= link_to current_user.login, :controller => 'user', :action => 'profile', :login => current_user.login %>
- |
- <a href="/logout">logout</a>
- <% else %>
- <a href="/login" id="login">login / sign up</a>
- <% end%>
- </span>
+ <span class="main_nav">
+ <a href="http://clojuredocs.wordpress.com">blog</a>
+ &nbsp;
+ <a href="http://github.com/zkim/clojuredocs">github</a>
+ </span>
+ &nbsp;
+ &nbsp;
+ <span class="user_area_content">
+ <% if current_user_session %>
+ <%= image_tag(grav_url_for(current_user.email, 16), :class => 'user_area_gravatar') %>
+ Logged in as <%= link_to current_user.login, :controller => 'user', :action => 'profile', :login => current_user.login %>
+ |
+ <a href="/logout">logout</a>
+ <% else %>
+ <a href="/login" id="login">login / sign up</a>
+ <% end%>
+ </span>
</div>
<div class="clear"></div>
</div>
@@ -70,4 +77,4 @@
<div class="clear"></div>
</div>
<div class="header_filler"></div>
-<div class="clear"></div>
+<div class="clear"></div>
@@ -42,6 +42,14 @@
margin-left: 6px;
}
+.user_area .main_nav a {
+ color: #888
+}
+
+.user_area .main_nav a:visited {
+ color: #888;
+}
+
.user_area {
margin: 0px;
padding: 0px;

0 comments on commit 38f610d

Please sign in to comment.