Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
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
22 changes: 0 additions & 22 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,28 +71,6 @@ export default function Index(): JSX.Element {
<NodeFeature img={featureImg} featureText={nodeFeature3} />
</section>

<section className="join-node">
<h4 className="t-headline">
<span className="accent">Join</span> the community
</h4>
<div className="join-node-form-container">
<p className="t-body2">
We’ll never share your information and always respect your inbox -
quality content only, we promise.{' '}
</p>
<div style={{ display: `flex`, alignItems: 'flex-start' }}>
<input
type="email"
placeholder="node@nodejs.dev"
className="input-subscribe"
/>
<button className="btn-subscribe t-body1" type="button">
Subscribe
</button>
</div>
</div>
</section>

<section className="trusted-by">
<h4 className="t-headline">
Trusted by development teams around the world
Expand Down
3 changes: 3 additions & 0 deletions test/components/__snapshots__/author.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exports[`Author component renders correctly 1`] = `
"styles": "
list-style: none;
",
"toString": [Function],
}
}
>
Expand All @@ -26,6 +27,7 @@ exports[`Author component renders correctly 1`] = `
transform: scale(1.1);
}
",
"toString": [Function],
}
}
href="https://github.com/test-author"
Expand All @@ -50,6 +52,7 @@ exports[`Author component renders correctly 1`] = `
border: 1px solid var(--brand-light);
transition: all 0.2s ease-in-out;
",
"toString": [Function],
}
}
src="https://github.com/test-author.png?size=60"
Expand Down
7 changes: 7 additions & 0 deletions test/components/__snapshots__/authors-list.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ exports[`AuthorsList component renders correctly 1`] = `
font-size: 1.4rem;
}
",
"toString": [Function],
}
}
>
Expand All @@ -44,6 +45,7 @@ exports[`AuthorsList component renders correctly 1`] = `
"styles": "
list-style: none;
",
"toString": [Function],
}
}
>
Expand All @@ -60,6 +62,7 @@ exports[`AuthorsList component renders correctly 1`] = `
transform: scale(1.1);
}
",
"toString": [Function],
}
}
href="https://github.com/test-author"
Expand Down Expand Up @@ -88,6 +91,7 @@ exports[`AuthorsList component renders correctly 1`] = `
border: 1px solid var(--brand-light);
transition: all 0.2s ease-in-out;
",
"toString": [Function],
}
}
src="https://github.com/test-author.png?size=60"
Expand All @@ -103,6 +107,7 @@ exports[`AuthorsList component renders correctly 1`] = `
"styles": "
list-style: none;
",
"toString": [Function],
}
}
>
Expand All @@ -119,6 +124,7 @@ exports[`AuthorsList component renders correctly 1`] = `
transform: scale(1.1);
}
",
"toString": [Function],
}
}
href="https://github.com/another-test-author"
Expand All @@ -143,6 +149,7 @@ exports[`AuthorsList component renders correctly 1`] = `
border: 1px solid var(--brand-light);
transition: all 0.2s ease-in-out;
",
"toString": [Function],
}
}
src="https://github.com/another-test-author.png?size=60"
Expand Down
2 changes: 2 additions & 0 deletions test/components/__snapshots__/banner.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`Tests for Header component renders correctly 1`] = `
text-align: center;
padding-top: 5px;
",
"toString": [Function],
}
}
>
Expand Down Expand Up @@ -50,6 +51,7 @@ exports[`Tests for Header component renders correctly 1`] = `
font-weight: var(--font-weight-semibold);
border: 1px solid transparent;
",
"toString": [Function],
}
}
type="button"
Expand Down
3 changes: 3 additions & 0 deletions test/components/__snapshots__/edit-link.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ exports[`EditLink component renders correctly 1`] = `
display: flex;
flex-wrap: wrap;
",
"toString": [Function],
}
}
>
Expand Down Expand Up @@ -38,6 +39,7 @@ exports[`EditLink component renders correctly 1`] = `
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="https://github.com/nodejs/nodejs.dev/edit/master/src/documentation/0002-node-history/index.md"
Expand All @@ -56,6 +58,7 @@ exports[`EditLink component renders correctly 1`] = `
margin-left: 0.5rem;
vertical-align: middle;
",
"toString": [Function],
}
}
fill="currentColor"
Expand Down
1 change: 1 addition & 0 deletions test/components/__snapshots__/footer.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ exports[`Tests for Footer component renders correctly 1`] = `
border: none;
color: var(--color-text-accent);
",
"toString": [Function],
}
}
onBlur={[Function]}
Expand Down
9 changes: 9 additions & 0 deletions test/components/__snapshots__/pagination.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`Pagination component only renders links to pages that has a title 1`] =
list-style: none;
padding: 5rem 0;
",
"toString": [Function],
}
}
>
Expand All @@ -37,6 +38,7 @@ exports[`Pagination component only renders links to pages that has a title 1`] =
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="/test-slug"
Expand All @@ -63,6 +65,7 @@ exports[`Pagination component renders correctly when there is no next page 1`] =
list-style: none;
padding: 5rem 0;
",
"toString": [Function],
}
}
>
Expand All @@ -86,6 +89,7 @@ exports[`Pagination component renders correctly when there is no next page 1`] =
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="/test-slug"
Expand All @@ -112,6 +116,7 @@ exports[`Pagination component renders correctly when there is no previous page 1
list-style: none;
padding: 5rem 0;
",
"toString": [Function],
}
}
>
Expand All @@ -136,6 +141,7 @@ exports[`Pagination component renders correctly when there is no previous page 1
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="/test-slug"
Expand All @@ -161,6 +167,7 @@ exports[`Pagination component renders links to the next and previous page 1`] =
list-style: none;
padding: 5rem 0;
",
"toString": [Function],
}
}
>
Expand All @@ -184,6 +191,7 @@ exports[`Pagination component renders links to the next and previous page 1`] =
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="/test-slug"
Expand Down Expand Up @@ -212,6 +220,7 @@ exports[`Pagination component renders links to the next and previous page 1`] =
color: var(--brand-light) !important;
}
",
"toString": [Function],
}
}
href="/test-slug"
Expand Down