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">
|
||||
<ShareIcon
|
||||
href={ getTwitterShareUrl({
|
||||
text: `${title}${twitterUsername ? `by @${twitterUsername}` : ''}`,
|
||||
text: `${title} ${twitterUsername ? `by @${twitterUsername}` : ''}`,
|
||||
url: url
|
||||
})}
|
||||
target="_blank"
|
||||
|
@ -5,7 +5,7 @@
|
||||
"license": "BSD-4-Clause",
|
||||
"scripts": {
|
||||
"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",
|
||||
"sitemap": "node scripts/sitemap.js",
|
||||
"deploy": "NODE_DEBUG=gh-pages gh-pages -d out",
|
||||
|
Reference in New Issue
Block a user