diff --git a/lib/dotcom_web/components/components.ex b/lib/dotcom_web/components/components.ex index bb93d7e4df..5e9ab5b60f 100644 --- a/lib/dotcom_web/components/components.ex +++ b/lib/dotcom_web/components/components.ex @@ -307,6 +307,7 @@ defmodule DotcomWeb.Components do slot(:title, required: true) attr(:href, :string, doc: "Optional link to navigate to") attr(:rest, :global, include: ~w(disabled)) + attr(:class, :string, default: "") @doc """ A stylish link or button with a prominent right caret, containing content. @@ -314,7 +315,7 @@ defmodule DotcomWeb.Components do """ def descriptive_link(%{href: _} = assigns) do ~H""" - + <.icon type="icon-svg" name="football" class="c-descriptive-link__football-icon" /> +<.descriptive_link :if={@route.id == "CR-Foxboro"} href="/destinations/gillette-stadium" class="mb-4"> + <:title>Going to a soccer match at Gillette? + + + {DotcomWeb.AlertView.group( alerts: @banner_alerts, route: @route,