Skip to content

Commit 4e8c08e

Browse files
authored
docs: change links from google.com to example.com (#4311)
1 parent 61a0873 commit 4e8c08e

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

docs/src/examples/collections/Menu/Content/MenuExampleLinkItem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export default class MenuExampleLinkItem extends Component {
1111
return (
1212
<div>
1313
<Menu vertical>
14-
<Menu.Item href='//google.com' target='_blank'>
15-
Visit Google
14+
<Menu.Item href='//example.com' target='_blank'>
15+
Visit another website
1616
</Menu.Item>
1717
<Menu.Item link>Link via prop</Menu.Item>
1818
<Menu.Item onClick={this.handleClick}>Javascript Link</Menu.Item>

docs/src/examples/elements/Image/Types/ImageExampleLink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const ImageExampleLink = () => (
66
src='/images/wireframe/image-text.png'
77
as='a'
88
size='medium'
9-
href='http://google.com'
9+
href='http://example.com'
1010
target='_blank'
1111
/>
1212
)

docs/src/examples/elements/Step/Content/StepExampleLinkHref.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { Icon, Step } from 'semantic-ui-react'
33

44
const StepExampleLinkHref = () => (
55
<Step.Group>
6-
<Step active href='http://google.com'>
6+
<Step active href='http://example.com'>
77
<Icon name='truck' />
88
<Step.Content>
99
<Step.Title>Shipping</Step.Title>
1010
<Step.Description>Choose your shipping options</Step.Description>
1111
</Step.Content>
1212
</Step>
13-
<Step href='http://google.com'>
13+
<Step href='http://example.com'>
1414
<Icon name='credit card' />
1515
<Step.Content>
1616
<Step.Title>Billing</Step.Title>

test/specs/collections/Breadcrumb/Breadcrumb-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Breadcrumb', () => {
1919

2020
const sections = [
2121
{ key: 'home', content: 'Home', link: true },
22-
{ key: 't-shirt', content: 'T-Shirt', href: 'google.com' },
22+
{ key: 't-shirt', content: 'T-Shirt', href: 'example.com' },
2323
]
2424

2525
it('renders children with `sections` prop', () => {

test/specs/collections/Breadcrumb/BreadcrumbSection-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ describe('BreadcrumbSection', () => {
2626
})
2727

2828
it('should have attr `href` when has prop', () => {
29-
const section = shallow(<BreadcrumbSection href='http://google.com' />)
29+
const section = shallow(<BreadcrumbSection href='http://example.com' />)
3030

3131
section.should.have.tagName('a')
32-
section.should.have.attr('href').and.equal('http://google.com')
32+
section.should.have.attr('href').and.equal('http://example.com')
3333
})
3434
})
3535

test/specs/elements/Image/Image-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('Image', () => {
4949

5050
describe('href', () => {
5151
it('renders an a tag', () => {
52-
shallow(<Image href='http://google.com' />)
52+
shallow(<Image href='http://example.com' />)
5353
.type()
5454
.should.equal('a')
5555
})

test/specs/modules/Embed/Embed-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('Embed', () => {
165165

166166
describe('url', () => {
167167
it('passes url to iframe', () => {
168-
const url = 'https://google.com'
168+
const url = 'https://example.com'
169169

170170
shallow(<Embed active url={url} />)
171171
.find('iframe')

0 commit comments

Comments
 (0)