Skip to content

Commit

Permalink
Merge pull request #35 from rubyforgood/andrewrmn-patch-1
Browse files Browse the repository at this point in the history
Update HeroContainer.tsx
  • Loading branch information
andrewrmn authored Oct 18, 2023
2 parents 761ef0d + 0e1b53e commit 102a6f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 11 additions & 0 deletions components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,16 @@
.hideSm {
display: none;
}

a:not(.homeLink) {
padding: 8px 12px;
grid-gap: 4px;
}

.btnText {
font-size: 12px !important;
line-height: 1 !important;
white-space: nowrap;
}
}
}
4 changes: 2 additions & 2 deletions components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const Header = () => {
<>
<header className={styles.siteHeader} data-color-mode="dark">
<div>
<Link href="/">
<Link href="/" className={styles.homeLink}>
<Image
src="/for-good-first-issue.svg"
width={144}
Expand All @@ -23,7 +23,7 @@ export const Header = () => {
target="_blank"
rel="noopener noreferrer"
>
Contribute<span className={styles.hideSm}> to a project</span>
<span className={styles.btnText}>Recommend a project</span>
</Button>
</div>
</header>
Expand Down
3 changes: 2 additions & 1 deletion components/HeroContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export const HeroContainer = () => {
<Hero.Heading size="display">Committing to a better&nbsp;future</Hero.Heading>
<Hero.Description size="300">
Lend your skills to an open source project focused on the <a href="https://digitalpublicgoods.net/digital-public-goods/" target="_blank" rel="noopener noreferrer">Digital Public Goods (DPGs)</a> From fighting climate change, to solving world hunger, your efforts will contribute to creating a better future for everyone. Together, we can drive positive and lasting contributions to the world, one commit at a time.
<br /><br />
Explore a DPG repo below to get started.
</Hero.Description>
<Hero.PrimaryAction href="https://github.com/rubyforgood/happycommits/issues/new?assignees=&labels=💪+New+Project&projects=&template=suggest_project.yml&title=%5BNew+Project%5D%3A+%3Ctitle%3E">Contribute to a project</Hero.PrimaryAction>
</Hero>
</>
);
Expand Down

0 comments on commit 102a6f8

Please sign in to comment.