Skip to content

Commit 3fa75f8

Browse files
committed
Tweak URLs
1 parent b821449 commit 3fa75f8

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

README.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ import { getFacebookUrl } from "@phntms/react-share";
109109
const ShareToFacebook = () => (
110110
<a
111111
href={getFacebookUrl({
112-
url: "https://www.npmjs.com/package/@phntms/react-share",
112+
url: "https://phantom.land/",
113113
})}
114114
>
115115
Share to Facebook
@@ -134,11 +134,7 @@ Basic component example usage:
134134
import { getLinkedinUrl } from "@phntms/react-share";
135135

136136
const ShareToLinkedin = () => (
137-
<a
138-
href={getLinkedinUrl({
139-
url: "https://www.npmjs.com/package/@phntms/react-share",
140-
})}
141-
>
137+
<a href={getLinkedinUrl({ url: "https://phantom.land/" })}>
142138
Share to Linkedin
143139
</a>
144140
);
@@ -161,13 +157,7 @@ Basic component example usage:
161157
import { getTwitterUrl } from "@phntms/react-share";
162158

163159
const ShareToTwitter = () => (
164-
<a
165-
href={getTwitterUrl({
166-
url: "https://www.npmjs.com/package/@phntms/react-share",
167-
})}
168-
>
169-
Share to Twitter
170-
</a>
160+
<a href={getTwitterUrl({ url: "https://phantom.land/" })}>Share to Twitter</a>
171161
);
172162

173163
export default ShareToTwitter;
@@ -184,23 +174,17 @@ import { getShareUrl, SocialPlatforms } from "@phntms/react-share";
184174

185175
const Share = () => (
186176
<a
187-
href={getShareUrl(SocialPlatforms.Facebook, {
188-
url: "https://www.npmjs.com/package/@phntms/react-share",
189-
})}
177+
href={getShareUrl(SocialPlatforms.Facebook, {url: "https://phantom.land/" })}
190178
>
191179
Share to Facebook
192180
</a>
193181
<a
194-
href={getShareUrl(SocialPlatforms.Linkedin, {
195-
url: "https://www.npmjs.com/package/@phntms/react-share",
196-
})}
182+
href={getShareUrl(SocialPlatforms.Linkedin, { url: "https://phantom.land/" })}
197183
>
198184
Share to Linkedin
199185
</a>
200186
<a
201-
href={getShareUrl(SocialPlatforms.Twitter, {
202-
url: "https://www.npmjs.com/package/@phntms/react-share",
203-
})}
187+
href={getShareUrl(SocialPlatforms.Twitter, { url: "https://phantom.land/" })}
204188
>
205189
Share to Twitter
206190
</a>

0 commit comments

Comments
 (0)