Skip to content

Commit

Permalink
Added transportation options
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanGrants committed Jan 21, 2024
1 parent 43bd433 commit c9ba295
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Home() {
<Link to={"./transportation"} style={linkStyle}>
<div style={{marginBottom: "10px" }}>Transportation</div>
<img src="./UCBus.jpg" alt="Bus" style={imageStyle} />
<div style={{ fontSize: "20px", color: "#555" }}>Find publc transportation for Riverside</div>
<div style={{ fontSize: "20px", color: "#555" }}>Find public transportation for Riverside</div>
</Link>

<Link to={"./maps"} style={linkStyle}>
Expand Down
14 changes: 11 additions & 3 deletions src/Transportation.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import React from 'react';

function Transportation() {
return <div>
<h2> Resources Page </h2>
return (
<div>
<h2>Transportation Page</h2>
<iframe
title="Riverside Transit"
src="https://www.riversidetransit.com/index.php/riding-the-bus/plan-my-trip"
width="100%"
height="600px"
/>
</div>
);
}

export default Transportation;
export default Transportation;

0 comments on commit c9ba295

Please sign in to comment.