Skip to content

Commit

Permalink
Hero text and CTA updates
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrmn committed Oct 11, 2023
1 parent 97326e5 commit 38af539
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@
width: 90%;
margin: 0 auto;
}

@media(max-width: 800px) {
.hideSm {
display: none;
}
}
}
2 changes: 1 addition & 1 deletion components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Header = () => {
target="_blank"
rel="noopener noreferrer"
>
Suggest a Project
Contribute<span className={styles.hideSm}> to a project</span>
</Button>
</div>
</header>
Expand Down
6 changes: 3 additions & 3 deletions components/HeroContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export const HeroContainer = () => {
return (
<>
<Hero className="hero" data-color-mode="dark">
<Hero.Label>Happy Commits</Hero.Label>
<Hero.Heading size="display">Open Source Social Impact Projects</Hero.Heading>
<Hero.Heading size="display">For Good First Issue</Hero.Heading>
<Hero.Description size="300">
Committing to a better future. Our mission is to curate a list of open source projects with missions that are driven by social impact. Helping others is the best way to feel happy so lets all work together to build a better tomorrow. One commit at a time.
For Good First Issue empowers developers to collaborate on open source projects with missions that are driven by social impact. It is a curated list of open source projects focused on the <a href="https://digitalpublicgoods.net/digital-public-goods/" target="_blank" rel="noopener noreferrer">Digital Public Goods (DPGs)</a> that need your help! Together, we can drive positive and lasting contributions to the world, one commit at a time.
</Hero.Description>
<Hero.PrimaryAction href="https://github.com/rubyforgood/happycommits" rel="noopener noreferrer">Contribute to a project</Hero.PrimaryAction>
</Hero>
</>
);
Expand Down
4 changes: 4 additions & 0 deletions styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ base, html {
> * p {
max-width: 60ch;
}

p > a {
color: #fff;
}
}

.search-form {
Expand Down

0 comments on commit 38af539

Please sign in to comment.