Skip to content

Commit

Permalink
remove mobile app banner (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull authored Nov 13, 2024
1 parent 8b3a82c commit 24ddd2a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.
4 changes: 0 additions & 4 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ import { accordionInit } from "../ts/ui/accordion";
import initializeSentry from "../ts/sentry";
import DotcomHooks from "../ts/phoenix-hooks/index.ts";

import mobileAppBanner from "./mobile-app-banner.js";

// Establish Phoenix Socket and LiveView configuration.
import { Socket } from "phoenix";
import { LiveSocket } from "phoenix_live_view";
Expand Down Expand Up @@ -158,5 +156,3 @@ eventPageSetup();
previousEventsButton();
pslPageSetup();
accordionInit();

mobileAppBanner();
52 changes: 0 additions & 52 deletions assets/js/mobile-app-banner.js

This file was deleted.

5 changes: 0 additions & 5 deletions lib/dotcom_web/templates/layout/root.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
</div>
</div>
<% end %>
<div id="mobile-app-banner" style="background: #DCD3E8; display: none; margin: 0; padding: 10px; text-align: center">
<a href="https://mbta.com/app" rel="noreferrer" style="color: black; display: block" target="_blank">
Sign up to test the new <strong>MBTA app &#x2192;</strong>
</a>
</div>
<%= if assigns[:search_header?] do %>
<%= render "_searchbar.html", assigns %>
<% end %>
Expand Down

0 comments on commit 24ddd2a

Please sign in to comment.