-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from lion-packages/design
Redesign for libraries
- Loading branch information
Showing
12 changed files
with
158 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
import { Card } from "react-bootstrap"; | ||
import { LinkContainer } from "react-router-bootstrap"; | ||
|
||
function CardLink({ title, uri }) { | ||
export default function CardLink({ title, description, uri }) { | ||
return ( | ||
<LinkContainer to={uri}> | ||
<Card bg="dark-blue" role="button"> | ||
<Card.Body> | ||
<Card.Link className={"text-decoration-none"}> | ||
<Card.Title> | ||
<span className={"fs-4 text-warning"}>{title}</span> | ||
<div className={"p-4 rounded border-lion-light h-100"} role="button"> | ||
<span className={"fs-4 text-warning text-shadow"}>{title}</span> | ||
|
||
<i className="bi bi-arrow-right text-white float-end fs-3"></i> | ||
</Card.Title> | ||
</Card.Link> | ||
</Card.Body> | ||
</Card> | ||
<i className="bi bi-arrow-right text-warning text-shadow float-end fs-3"></i> | ||
|
||
<hr /> | ||
|
||
<p className="lead text-white text-shadow">{description}</p> | ||
</div> | ||
</LinkContainer> | ||
); | ||
} | ||
|
||
export default CardLink; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.