diff --git a/.gitignore b/.gitignore index cbc254b..5393863 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,4 @@ # Ignore all logfiles and tempfiles. /log/*.log /tmp -*.sublime-workspace -*.sublime-project +*.sublime-* diff --git a/app/assets/images/github.png b/app/assets/images/github.png new file mode 100644 index 0000000..186e576 Binary files /dev/null and b/app/assets/images/github.png differ diff --git a/app/assets/images/twitter.png b/app/assets/images/twitter.png new file mode 100644 index 0000000..b9bb3f0 Binary files /dev/null and b/app/assets/images/twitter.png differ diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index 8e8131e..a0bac27 100644 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -936,9 +936,18 @@ img { .note { color: #888; - font-size: 12px; - font-style: italic; margin-top: 5em; + + a { + color: inherit; + &:hover { + color: #555; + } + } + + * { + vertical-align: middle; + } } } diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 673defe..be7ea64 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -7,6 +7,17 @@ <% end %>
- Website made by jomo with design by ColoArtz. | DMCA + <%= link_to "DMCA", dmca_path %> | + <%= link_to "https://github.com/RedstonerServer", title: "Redstoner on GitHub" do %> + GitHub <%=image_tag("github.png") %> + <% end %> + <%= link_to "https://twitter.com/RedstonerServer", title: "Redstoner on Twitter" do %> + Twitter <%= image_tag("twitter.png") %> + <% end %> + <% if current_user %> + <%= link_to "http://slack-redstoner-public.herokuapp.com/?" + {mail: current_user.try(:email)}.to_param do %> + Join us on Slack + <% end %> + <% end %>
\ No newline at end of file