Commit 6564203a
Changed files (7)
app
views
creations
home
profiles
app/views/creations/new.html.erb
@@ -2,10 +2,6 @@
Share my creation
<% end %>
-<% content_for :sidebar do %>
- <%= render "shared/my_profile_sidebar" %>
-<% end %>
-
<ul class="tabs">
<li> <%= link_to "Profile", profiles_mine_path %></li>
<li class="active"> <%= link_to "Share", new_creation_path %></li>
@@ -14,13 +10,6 @@
<li><a href="#">Contact</a></li>
</ul>
-<%# <div class="hero-unit">%>
-<%# <h1>Share your creation with other Cake artists, enthusiasts, and eaters!</h1>%>
-<%# <p>We're delighted that you're going to share your latest creation with us.<p>%>
-<%# <p><a class="btn primary large">Learn more »</a></p>%>
-<%# </div>%>
-
-
<div class="row">
<div class="span12">
<%= render 'form' %>
app/views/home/index.html.erb
@@ -2,10 +2,6 @@
Welcome to the CakeSide
<% end %>
-<% content_for :sidebar do %>
- <%= render "shared/categories_sidebar" %>
-<% end %>
-
<div class="hero-unit">
<h1>Hello, cake eater!</h1>
<p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
app/views/profiles/mine.html.erb
@@ -1,12 +1,6 @@
<% content_for :title do %>
My profile
<% end %>
-<% content_for :stylesheets do %>
-<% end %>
-
-<% content_for :sidebar do %>
- <%= render "shared/my_profile_sidebar" %>
-<% end %>
<ul class="tabs">
<li class="active"> <%= link_to "Profile", profiles_mine_path %></li>
app/views/profiles/show.html.erb
@@ -16,6 +16,10 @@
<div class="media-grid">
<a href="<%= url_for profile_path(@profile) %>"><img src="<%= avatar_url @profile %>&s=200" alt="<%= @profile.name %>" /></a>
</div>
+ <% if @profile.email.eql? "mo.khan@gmail.com" %>
+ <a href="https://twitter.com/mocheen" class="twitter-follow-button" data-show-count="false">Follow @mocheen</a>
+ <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
+ <% end %>
</div>
<div class="span12">
<%= render "shared/creation_image_gallery" %>