Fix twitter share URL issue
This commit is contained in:
@ -13,7 +13,7 @@ const SharePage = ({
|
|||||||
<ShareIconsList className="d-sm-none d-md-none d-lg-flex d-xl-flex">
|
<ShareIconsList className="d-sm-none d-md-none d-lg-flex d-xl-flex">
|
||||||
<ShareIcon
|
<ShareIcon
|
||||||
href={ getTwitterShareUrl({
|
href={ getTwitterShareUrl({
|
||||||
text: `${title}${twitterUsername ? `by @${twitterUsername}` : ''}`,
|
text: `${title} ${twitterUsername ? `by @${twitterUsername}` : ''}`,
|
||||||
url: url
|
url: url
|
||||||
})}
|
})}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"license": "BSD-4-Clause",
|
"license": "BSD-4-Clause",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next",
|
"dev": "next",
|
||||||
"html": "next build && next export && echo 'roadmap.sh' > out/CNAME && '' > out/.nojekyll",
|
"html": "next build && next export && echo 'roadmap.sh' > out/CNAME && echo '' > out/.nojekyll",
|
||||||
"serve:out": "serve out",
|
"serve:out": "serve out",
|
||||||
"sitemap": "node scripts/sitemap.js",
|
"sitemap": "node scripts/sitemap.js",
|
||||||
"deploy": "NODE_DEBUG=gh-pages gh-pages -d out",
|
"deploy": "NODE_DEBUG=gh-pages gh-pages -d out",
|
||||||
|
Reference in New Issue
Block a user