Skip to content

Commit

Permalink
actually use the apple-touch-icon file (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen authored May 22, 2024
1 parent 2c69f82 commit 8a34729
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
Binary file removed assets/static/images/mbta-logo-t-180.png
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/static_page/maintenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="author" content="Massachusetts Bay Transportation Authority">

<title>MBTA.com Under Maintenance</title>
<link rel="apple-touch-icon" href="./mbta-logo-t-180.png" type="image/png">
<link rel="apple-touch-icon" href="./apple-touch-icon.png" type="image/png">
<link rel="icon" href="./mbta-logo-t-favicon.png" sizes="32x32" type="image/png">
<link rel="icon" href="./favicon.ico" sizes="16x16" type="image/vnd.microsoft.icon">

Expand Down
1 change: 0 additions & 1 deletion assets/webpack.config.export-headerfooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ module.exports = (env, argv) => {
{ from: "static/favicon.ico", to: "favicon.ico" },
{ from: "static/images/mbta-logo.svg", to: "images/mbta-logo.svg" },
{ from: "static/images/mbta-name-and-logo.svg", to: "images/mbta-name-and-logo.svg" },
{ from: "static/images/mbta-logo-t-180.png", to: "images/mbta-logo-t-180.png" },
{ from: "static/images/mbta-logo-t-favicon.png", to: "images/mbta-logo-t-favicon.png" },
]}),

Expand Down
2 changes: 1 addition & 1 deletion lib/dotcom_web/templates/layout/root.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<% end %>
<% title = if Phoenix.Controller.view_template(@conn) == "404.html", do: "Page Not Found | MBTA - Massachusetts Bay Transportation Authority", else: title_breadcrumbs(@conn) %>
<title><%= title %></title>
<link rel="apple-touch-icon" href="<%= static_url(@conn, "/images/mbta-logo-t-180.png") %>" type="image/png">
<link rel="apple-touch-icon" href="<%= static_url(@conn, "/apple-touch-icon.png") %>" type="image/png">
<link rel="icon" href="<%= static_url(@conn, "/images/mbta-logo-t-favicon.png") %>" sizes="32x32" type="image/png">
<link rel="icon" href="<%= static_url(@conn, "/favicon.ico") %>" sizes="16x16" type="image/vnd.microsoft.icon">

Expand Down

0 comments on commit 8a34729

Please sign in to comment.