Skip to content

Commit

Permalink
docs: Updated lorem ipsum with real copy.
Browse files Browse the repository at this point in the history
Modified the copy of the "Publish" card to make the transition to
npmjs.com/products less jarring

PR-URL: #277
Credit: @oletizi
Close: #277
Reviewed-by: @ruyadorno
  • Loading branch information
oletizi authored and ruyadorno committed Nov 5, 2019
1 parent c6a5c3a commit 4ff1bb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions docs/src/components/home/DarkBlock.js
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
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

0 comments on commit 4ff1bb1

Please sign in to comment.