Skip to content

Commit

Permalink
Added footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 committed Oct 16, 2024
1 parent e88f18b commit 1c2d9f7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions assets/css/v2/elevator/elevator_closures.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.elevator-closures {
display: flex;
flex-direction: column;
height: 100%;
position: relative;
font-family: Inter, sans-serif;
background-color: $warm-neutral-90;
Expand Down Expand Up @@ -27,10 +30,12 @@

hr {
height: 24px;
width: 100%;
background-color: $cool-black-15;
}

.outside-alert-list {
height: 100%;
background-color: $warm-neutral-90;

.header {
Expand All @@ -41,4 +46,15 @@
padding: 48px;
}
}

.footer {
display: flex;
height: 184px;
background-color: $cool-black-30;
color: white;
font-size: 48px;
line-height: 62px;
align-items: center;
padding: 26px 48px;
}
}
12 changes: 12 additions & 0 deletions assets/src/components/v2/elevator/elevator_closures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ const OutsideAlertList = (_props: OutsideAlertListProps) => {
);
};

const Footer = () => {
return (
<div className="footer">
<span>
For more info and alternate paths: mbta.com/alerts/access or (617)
222-2828
</span>
</div>
);
};

interface Props {
id: string;
time: string;
Expand All @@ -73,6 +84,7 @@ const ElevatorClosures: React.ComponentType<Props> = ({
<Header id={id} time={time} />
<InStationSummary alerts={inStationAlerts} />
<OutsideAlertList alerts={outsideAlerts} />
<Footer />
</div>
);
};
Expand Down

0 comments on commit 1c2d9f7

Please sign in to comment.