<%
  if (@tag)
    provide(:title, "#{@tag[:adjective]} Projects")
    provide(:meta_description, "Paul Bogard’s #{@tag[:description]}.")
  else
    provide(:meta_description, "Paul Bogard’s portfolio of programming, engineering, mapping, and other projects.")
  end
%>

<%= link_buttons(
  LinkButton.new("Paul’s <strong>Résumé</strong>", "resume", resume_path),
  LinkButton.new("Paul’s <strong>GitHub</strong> repositories", "github", "https://github.com/bogardpd/", target: :_blank)
  ) %>

<h1><% if @tag %><%= @tag[:adjective] %> <% end %>Projects</h1>

<div class="project-tags">
  <%= project_tag_badges(@tags) %>
</div>

<% if @projects.any? %>
  <div class="row cover-row">
    <%= render partial: "project_tile", collection: @projects, as: :project %>
  </div>
<% elsif params[:tag] %>
  <p>No projects have the tag <code><%= params[:tag] %></code>!</p>
  <p><%= link_to("All projects", projects_path) %></p>
<% else %>
  <p>Could not load projects!</p>
<% end %>
<%
  if (@tag)
    provide(:title, "#{@tag[:adjective]} Projects")
    provide(:meta_description, "Paul Bogard’s #{@tag[:description]}.")
  else
    provide(:meta_description, "Paul Bogard’s portfolio of programming, engineering, mapping, and other projects.")
  end
%>

<h2>Paul Bogard’s Portfolio has been moved to <a href="https://paulbogard.net/">paulbogard.net</a>.</h2>

<p>For a while, I’ve run this portfolio and a separate blog. Over the years, they started to overlap enough that a lot of content was duplicated. I’ve now merged the two into a single site, hosted at <a href="https://paulbogard.net/">paulbogard.net</a>.</p>

<h3>Quick Links</h3>

<ul>
  <li><a href="https://paulbogard.net/projects/">Projects</a></li>
  <li><a href="https://paulbogard.net/">About</a></li>
  <li><a href="https://paulbogard.net/blog/">Blog</a></li>
</ul>
Update front page to link to paulbogard.net
Update front page to link to paulbogard.net
