Skip to content

Docs: Updated UI of Page[Help] #1323

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

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
16 changes: 10 additions & 6 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ html[data-theme='dark'] {
.wrapper {
margin: 0 auto;
max-width: 1100px;
padding: 0 20px;
padding: 0 70px;
}

.headings {
font-size: 50px;
margin: 30px 0;
}

.center {
Expand Down Expand Up @@ -121,16 +126,12 @@ html[data-theme='dark'] {
padding-bottom: 40px;
padding-top: 40px;
}

.wrapper {
max-width: 1400px;
}
}

.mainContainer {
flex: 1 1 0%;
max-width: 100%;
padding: 40px 0;
margin-bottom: 50px;
}

.mainContainer .wrapper {
Expand Down Expand Up @@ -396,6 +397,9 @@ html[data-theme='dark'] {
}

@media only screen and (max-width: 735px) {
.wrapper {
padding: 0 20px;
}
.showcaseSection .logos img {
max-height: 64px;
padding: 20px;
Expand Down
12 changes: 9 additions & 3 deletions src/pages/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ export default function Help(props) {
<div className="mainContainer documentContainer postContainer helpContainer">
<div>
<header>
<h1>Need help?</h1>
<h1>
<p className="headings">Need help?</p>
</h1>
</header>
<GridBlock
contents={supportLinks.slice(0, 3)}
Expand All @@ -74,7 +76,9 @@ export default function Help(props) {
align="left"
/>
<section>
<h2>Buy a Course</h2>
<h1>
<p className="headings">Buy a course</p>
</h1>
<p>
Learn how to test JavaScript with{' '}
<ExternalLink href="https://kentcdodds.com">
Expand All @@ -96,7 +100,9 @@ export default function Help(props) {
</div>
</section>
<header className="postHeader">
<h1>Want to help?</h1>
<h1>
<p className="headings">Want to help?</p>
</h1>
</header>
<p>
Thanks! The Testing Library maintainers are happy to maintain this
Expand Down