Skip to content

Commit

Permalink
fix: Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekCornerGH authored Jul 2, 2024
1 parent 0134958 commit 13f5b99
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 17 deletions.
20 changes: 19 additions & 1 deletion src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,26 @@
}
}

.buttons {
.buttonsContainer {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
margin: 0 auto;
justify-content: center;
}

.buttons {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
width: 100%;
}

.buttons > div {
flex: 1 1 auto;
margin: 5px;
text-align: center;
}
35 changes: 19 additions & 16 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,25 @@ function HomepageHeader() {
{siteConfig.title}
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
href="/docs/getting-started/discord"
style={{ margin: "30px" }}
>
Get started
</Link>

<Link
className="button button--secondary button--lg"
href="/maps"
style={{ margin: "30px" }}
>
Take a look at our maps
</Link>
<div className={styles.buttonsContainer}>
<div className={styles.buttons}>
<div>
<Link
className="button button--secondary button--lg"
href="/docs/getting-started/discord"
>
Get started
</Link>
</div>
<div>
<Link
className="button button--secondary button--lg"
href="/maps"
>
Take a look at our maps
</Link>
</div>
</div>
</div>
</div>
</header>
Expand Down

0 comments on commit 13f5b99

Please sign in to comment.