Skip to content

Commit

Permalink
homepage frontend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jul 26, 2024
1 parent fc15b74 commit 620aa18
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,11 @@ const Home: React.FC = () => {
<p className="lead">Buy and sell robots and robot parts</p>
</Row>
<Row className="row-two">
<Col md={6} sm={12}>
<Col sm={12}>
<Card onClick={() => navigate(`/robots/1`)}>
<Card.Body>
<Card.Title>Browse Robots</Card.Title>
<Card.Text>Buy and sell robots</Card.Text>
</Card.Body>
</Card>
</Col>
<Col md={6} sm={12}>
<Card onClick={() => navigate(`/parts/1`)}>
<Card.Body>
<Card.Title>Browse Listings</Card.Title>
<Card.Text>Buy and sell robot parts</Card.Text>
<Card.Text>Buy and sell robots or robot parts</Card.Text>
</Card.Body>
</Card>
</Col>
Expand All @@ -39,7 +31,7 @@ const Home: React.FC = () => {
<Row className="row-two">
<Col md={6} sm={12}>
<TCButton
variant={theme === "dark" ? "outline-light" : "outline-dark"}
variant="primary"
size="lg"
style={{
width: "100%",
Expand Down

0 comments on commit 620aa18

Please sign in to comment.