Commit 08a6006f authored by Tonee Young's avatar Tonee Young
Browse files

Update resumé link to PDF that opens in new tab rather than jpg embedded on a page

parent a414e4e6
......@@ -41,7 +41,6 @@ gem 'redcarpet', '~> 3.0.0'
gem 'will_paginate', '>= 3.1.5'
gem 'bootstrap-will_paginate', '>= 1.0.0'
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
......
GIT
remote: https://github.com/MattFenelon/pdfjs_viewer-rails.git
revision: 615bfd2a2f31e8e506500716dc47c2891864729e
ref: 615bfd2
specs:
pdfjs_viewer-rails (0.0.8)
rails (> 4.2.0)
sass-rails (~> 5.0)
GEM
remote: https://rubygems.org/
specs:
......@@ -200,6 +209,7 @@ DEPENDENCIES
devise (~> 4.3.0)
jbuilder (~> 2.5)
listen (>= 3.0.5, < 3.2)
pdfjs_viewer-rails!
pg
puma (~> 3.7)
rails (~> 5.1.4)
......
......@@ -13,11 +13,9 @@
<div id='topnav'>
<ul>
<li class='category'>Here</li>
<%# <li class='home_page_icon'><%= link_to((image_tag('project-2x.png', alt: 'blog home page icon')), root_path)></li> %>
<%# </li> %>
<li><%= link_to 'Blog', root_path %></li>
<li><%= link_to 'About', about_path %></li>
<li><%= link_to 'Resumé', resume_path %></li>
<li><%= link_to 'Resumé', "documents/Tonee_Young_Resume.pdf", target: "_blank" %> </li>
<li class='category'>Elsewhere</li>
<li><a href='https://twitter.com/twoesplease' target ='_blank'>Twitter</a></li>
<li><a href='https://github.com/twoesplease' target ='_blank'>Github</a></li>
......@@ -38,7 +36,6 @@
<% end %>
<% if user_signed_in? %>
<%# Changing these to p tags instead of buttons breaks the styling but fixes the functionality. %>
<p class='buttons'>
<p class='button'><%= link_to 'New Post', new_post_path %></p>
<p class='button'>Log Out</p>
......
<div id='page_wrapper'>
<div>
<%= image_tag("ToneeYoungResume2018.jpg", height: '988.8', width: '765') %>
</div>
</div>
......@@ -11,7 +11,6 @@ Rails.application.routes.draw do
root 'posts#index'
get '/about', to: 'pages#about'
get '/resume', to: 'pages#resume'
namespace :api do
resources :posts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment