Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
elpotatoslayer committed Apr 12, 2021
1 parent dd9838c commit 6270dad
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
Binary file added app/assets/images/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions app/assets/stylesheets/application.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,10 @@ h3 {
background-image: url(<%= asset_path 'no_image.svg.png' %>);
}

.article__image--order-second {
order: 1;
}

.article__card {
width: 50%;
background-color: $white-ish;
Expand Down Expand Up @@ -458,3 +462,7 @@ h3 {
font-weight: 600;
text-align: end;
}

.main-nav {
background: #4E443E;
}
11 changes: 10 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@
</nav>

<%= yield %>

<footer class="footer">
<%= link_to 'Tech Articles', root_path, class: 'footer__brand' %>
<%= link_to 'Privacy Policy', '', class: 'footer__link footer__link--first' %>
<%= link_to 'Terms & Conditions', '', class: 'footer__link' %>
<span class="footer__link footer__link--inactive">&copy; Copyright 2020. All rights reserved.</span>
<span class="footer__link footer__link--inactive footer__link--first">Connect with us: </span>
<%= link_to fa_icon('linkedin-square'), '#', class: 'footer__icon' %>
<%= link_to fa_icon('github-square'), '#', class: 'footer__icon' %>
<%= link_to fa_icon('twitter-square'), '#', class: 'footer__icon' %>
</footer>
</div>
</body>
</html>

0 comments on commit 6270dad

Please sign in to comment.