Skip to content

Commit

Permalink
some image preloads
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-whitaker committed Dec 18, 2024
1 parent 52da585 commit 8ffd72e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/resume/template/master.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title><%= page.title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex" />
<link rel="preload" href="/image/headshot.jpg" as="image">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<% stylesheets.forEach((stylesheet) => {%>
Expand Down
2 changes: 2 additions & 0 deletions packages/www/template/master.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<!--<link rel="manifest" href="<%= cachebust("/manifest.json") %>">-->
<link rel="canonical" href="https://mattwhitaker.name">

<link rel="preload" href="/image/cubes.png" as="image">
<link rel="preload" href="/image/headshot.jpg" as="image">
<link rel="preload" as="image" href="<%= page.banner %>">

<link rel="preconnect" href="https://fonts.googleapis.com">
Expand Down

0 comments on commit 8ffd72e

Please # to comment.