Skip to content

Commit 4ff1bb1

Browse files
oletiziruyadorno
authored andcommitted
docs: Updated lorem ipsum with real copy.
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
1 parent c6a5c3a commit 4ff1bb1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/src/components/home/DarkBlock.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,19 @@ const Text = styled.p`
1818
text-align: center;
1919
`
2020

21+
const aStyle = {
22+
color: '#fb3b49',
23+
textDecoration: 'none'
24+
}
25+
2126
const DarkBlock = () => {
2227
return (
2328
<Container>
2429
<ContentWrapper px={4} py={6} m='auto' flexDirection='column'>
2530
<Text>
26-
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
27-
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
31+
<p>The current stable version of npm is <a href={'https://github.com/npm/cli/releases/latest'} style={aStyle}>available on GitHub.</a></p>
32+
<p>To upgrade, run: <code className={'language-text'} style={{color: 'white'}}>npm install npm@latest -g</code></p>
33+
<p>To report bugs or submit feature requests, <a href={'#'} style={aStyle}>please XXX.</a></p>
2834
</Text>
2935
<Box pt={4}><LinkButton to='cli-commands/npm' w={'120px'}>read docs</LinkButton></Box>
3036
</ContentWrapper>

docs/src/components/home/Features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const featureTexts = {
2525
textOne: 'Download, install, and configure.',
2626
textTwo: 'All available npm commands.',
2727
textThree: 'How npm things work.',
28-
textFour: 'Publish your own public or private packages to the registry.'
28+
textFour: 'Publish your own public or private packages to the registry with a free or paid account on npmjs.com from npm, Inc.'
2929
}
3030

3131
const featureTitles = {

0 commit comments

Comments
 (0)