Skip to content

Commit

Permalink
X out twitter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Nov 10, 2023
1 parent 73c226c commit 8fd939a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"copy-folder src/css/layouts/neon --ext=.jpg dist/layouts/neon"
],
"validate": [
"html-validator"
"html-validator src"
]
},
"scripts": {
Expand All @@ -101,20 +101,20 @@
"dependencies": {
"dna-engine": "~3.0",
"fetch-json": "~3.2",
"highlight.js": "~11.8",
"highlight.js": "~11.9",
"hljs-enhance": "~2.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "~6.4",
"@types/node": "~20.8",
"@typescript-eslint/eslint-plugin": "~6.7",
"@typescript-eslint/parser": "~6.7",
"@types/node": "~20.9",
"@typescript-eslint/eslint-plugin": "~6.10",
"@typescript-eslint/parser": "~6.10",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"copy-file-util": "~1.1",
"copy-folder-util": "~1.1",
"csso-cli": "~4.0",
"eslint": "~8.50",
"eslint": "~8.53",
"esm-to-plain-js": "~1.1",
"jshint": "~2.13",
"less": "~4.2",
Expand All @@ -124,6 +124,6 @@
"run-scripts-util": "~1.2",
"typescript": "~5.2",
"uglify-js": "~3.17",
"w3c-html-validator": "~1.5"
"w3c-html-validator": "~1.6"
}
}
4 changes: 2 additions & 2 deletions src/js/lib-x.ts
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ const libXSocial = {
// Usage:
// <div id=social-buttons></div>
buttons: <LibXSocialButton[]>[
{ title: 'Twitter', icon: 'twitter', x: 580, y: 350, link: 'https://twitter.com/share?text=${title}&url=${url}' },
{ title: 'Twitter', icon: 'x-twitter', x: 580, y: 350, link: 'https://twitter.com/share?text=${title}&url=${url}' },
{ title: 'Facebook', icon: 'facebook-f', x: 580, y: 350, link: 'https://www.facebook.com/sharer.php?u=${url}' },
{ title: 'LinkedIn', icon: 'linkedin-in', x: 580, y: 350, link: 'https://www.linkedin.com/shareArticle?mini=true&url=${url}&title=${title}' },
{ title: 'Reddit', icon: 'reddit', x: 600, y: 750, link: 'https://www.reddit.com/submit?url=${url}&title=${title}' },
Expand All @@ -952,7 +952,7 @@ const libXSocial = {
setup(): Element | null {
// <div id=social-buttons>
// <span>
// <i class=font-icon data-brand=twitter></i>
// <i class=font-icon data-brand=x-twitter></i>
// ...
// </span>
// </div>
Expand Down
2 changes: 1 addition & 1 deletion task-runner.sh.command
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ releaseInstructions() {
echo "When ready to do the next release:"
echo
echo " === Increment version ==="
echo " Edit pacakge.json to bump $version to next version number"
echo " Edit package.json to bump $version to next version number"
echo " $projectHome/package.json"
}
nextActionCommitTagPub() {
Expand Down

0 comments on commit 8fd939a

Please sign in to comment.