From 37a2644734593e9e622090558f3e43f049b7e8ae Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Thu, 5 Mar 2026 15:36:49 -0500 Subject: [PATCH] feat: Add link to Gillette guide from Foxboro timetable page --- lib/dotcom_web/components/components.ex | 3 ++- lib/dotcom_web/templates/schedule/_timetable.html.heex | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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,