Skip to content

feat: Update UI for card component #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Home() {
<div className={styles.card}>
<div className={styles.cardContent}>
<h3>Becoming a Maintainer</h3>
<p>This course is designed to aid people who are interested in becoming open source project maintainers. It guides you through maintainers' best practices and provides resources and tools that help maintainers perform their tasks. This course is equipped with a tutorial for you to get practical.</p>
<p>This course is designed to aid people who are interested in becoming open source project maintainers. It guides you through maintainers' best practices and provides resources and tools that help maintainers perform their tasks.</p>
<Link className={styles.cardLink} to="/becoming-a-maintainer">
Start the Becoming a Maintainer Course
</Link>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
display: flex;
flex-direction: column;
align-items: flex-start;
height: 100%; /* card content takes the full height */
}

.cardIcon {
Expand All @@ -92,6 +93,7 @@
}

.cardLink {
margin-top: auto; /* Push the button to the bottom */
background: linear-gradient(to right, #e74c3c, #e67e22);
border-radius: 50px;
color: #fff;
Expand Down
Loading