Skip to content

Remove videos #80

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
Apr 17, 2024
Merged
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
9 changes: 2 additions & 7 deletions src/components/landing/Package.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,13 @@ const Package = ({
<hr />
<li>
<div className={classNames('Package-feature-list', { full })}>
{pro ? (
<Fragment>
Videos:<Sup>2</Sup>
</Fragment>
) : (
<Fragment>More videos:</Fragment>
{full && (
<Fragment>Videos:</Fragment>
)}
</div>
{videos.map((video, i) => (
<div className="Package-extra-item" key={i}>
{video}
{full && i === 0 ? <Sup>2</Sup> : null}
</div>
))}
</li>
Expand Down
8 changes: 0 additions & 8 deletions src/components/landing/Pricing.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ const Pricing = () => (
'Apollo Federation',
'Server Analytics',
]}
videos={[
'Introduction to the codebases',
'Apollo Devtools',
'Apollo Studio',
]}
/>
<Package
full
Expand All @@ -40,7 +35,6 @@ const Pricing = () => (
'Preventing DoS Attacks',
]}
videos={[
'Code run-throughs of Chapters 6–11',
<span>
Interview with{' '}
<a
Expand Down Expand Up @@ -95,8 +89,6 @@ const Pricing = () => (
to date for at least 4 years, but we hope to continue for as long as
GraphQL is the best data-fetching system out there. (Which is probably a
long time—REST has been around for {REST_LIFESPAN} years!)
<br />
<sup>2</sup> Coming soon.
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/landing/Stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Stats = () => (
</div>
<div className="Stat">
<FontAwesomeIcon icon={faVideo} />
<h3 className="Stat-number">11</h3>
<h3 className="Stat-number">2</h3>
<div className="Stat-caption">Videos</div>
</div>
</div>
Expand Down