Skip to content
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

Docs/new gatsby site #277

Closed
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
10 changes: 8 additions & 2 deletions docs/src/components/home/DarkBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ const Text = styled.p`
text-align: center;
`

const aStyle = {
color: '#fb3b49',
textDecoration: 'none'
}

const DarkBlock = () => {
return (
<Container>
<ContentWrapper px={4} py={6} m='auto' flexDirection='column'>
<Text>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod Lorem ipsum dolor sit amet, tetuer adipiscing elit, sed diam nonummy nibmod
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod Lorem ipsum dolor sit amet, tetuer adipiscing elit, sed diam nonummy nibmod
<p>The current stable version of npm is <a href={'https://github.com/npm/cli/releases/latest'} style={aStyle}>available on GitHub.</a></p>
<p>To upgrade, run: <code className={'language-text'} style={{color: 'white'}}>npm install npm@latest -g</code></p>
<p>To report bugs or submit feature requests, <a href={'#'} style={aStyle}>please XXX.</a></p>
</Text>
<Box pt={4}><LinkButton to='cli-commands/npm' w={'120px'}>read docs</LinkButton></Box>
</ContentWrapper>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/home/Features.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const featureTexts = {
textOne: 'Download, install, and configure.',
textTwo: 'All available npm commands.',
textThree: 'How npm things work.',
textFour: 'Publish your own public or private packages to the registry.'
textFour: 'Publish your own public or private packages to the registry with a free or paid account on npmjs.com from npm, Inc.'
}

const featureTitles = {
Expand Down