Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change twitter icon #18

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.13.2
14 changes: 6 additions & 8 deletions build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,8 @@ <h3>Share</h3>
<li>{ReblogButton color="grey" size="20"}</li>
<li>{LikeButton color="grey" size="20"}</li>
<li>
<a href="https://twitter.com/share?text={block:PostSummary}{URLEncodedPostSummary}{/block:PostSummary}&url={ShortURL}">
<img src="https://static.tumblr.com/xlsgtjb/x8lp4rk60/social-twitter.svg" class="social-icon">
<a href="https://x.com/share?text={block:PostSummary}{URLEncodedPostSummary}{/block:PostSummary}&url={ShortURL}">
<img src="https://static.tumblr.com/xxf6ewk/um9skiq6p/social-x.svg" class="social-icon">
</a>
</li>
<li>
Expand Down Expand Up @@ -804,12 +804,10 @@ <h2>{text:Your Name}</h2>
{/block:IfYourWebsiteURL}
{block:IfYourTwitterUsername}
<li class="li-twitter">
<a href="http://twitter.com/{text:Your Twitter Username}" target="_blank">
<svg class="social-accounts-icon" xmlns="http://www.w3.org/2000/svg" viewBox="-623 385 32 32"><path fill="#aaa" d="M-591,391.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6
c-1.2-1.3-2.9-2.1-4.8-2.1c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3
c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1
c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7
c0-0.3,0-0.6,0-0.8C-593,393.5-591.9,392.4-591,391.1L-591,391.1z"/></svg>
<a href="http://x.com/{text:Your Twitter Username}" target="_blank">
<svg class="social-accounts-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.52217 6.77491L15.4785 0H14.0671L8.89516 5.88256L4.76437 0H0L6.24656 8.89547L0 16H1.41155L6.87321 9.78782L11.2356 16H16L9.52183 6.77491H9.52217ZM7.58887 8.97384L6.95596 8.08805L1.92015 1.03974H4.0882L8.15216 6.72795L8.78507 7.61374L14.0677 15.0075H11.8997L7.58887 8.97418V8.97384Z" fill="#aaa"/>
</svg>
</a>
</li>
{/block:IfYourTwitterUsername}
Expand Down
14 changes: 6 additions & 8 deletions templates/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ pageId = "index";
<li>{ReblogButton color="grey" size="20"}</li>
<li>{LikeButton color="grey" size="20"}</li>
<li>
<a href="https://twitter.com/share?text={block:PostSummary}{URLEncodedPostSummary}{/block:PostSummary}&url={ShortURL}">
<img src="https://static.tumblr.com/xlsgtjb/x8lp4rk60/social-twitter.svg" class="social-icon">
<a href="https://x.com/share?text={block:PostSummary}{URLEncodedPostSummary}{/block:PostSummary}&url={ShortURL}">
<img src="https://static.tumblr.com/xxf6ewk/um9skiq6p/social-x.svg" class="social-icon">
</a>
</li>
<li>
Expand Down Expand Up @@ -672,12 +672,10 @@ pageId = "index";
{/block:IfYourWebsiteURL}
{block:IfYourTwitterUsername}
<li class="li-twitter">
<a href="http://twitter.com/{text:Your Twitter Username}" target="_blank">
<svg class="social-accounts-icon" xmlns="http://www.w3.org/2000/svg" viewBox="-623 385 32 32"><path fill="#aaa" d="M-591,391.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6
c-1.2-1.3-2.9-2.1-4.8-2.1c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3
c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1
c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7
c0-0.3,0-0.6,0-0.8C-593,393.5-591.9,392.4-591,391.1L-591,391.1z"/></svg>
<a href="http://x.com/{text:Your Twitter Username}" target="_blank">
<svg class="social-accounts-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.52217 6.77491L15.4785 0H14.0671L8.89516 5.88256L4.76437 0H0L6.24656 8.89547L0 16H1.41155L6.87321 9.78782L11.2356 16H16L9.52183 6.77491H9.52217ZM7.58887 8.97384L6.95596 8.08805L1.92015 1.03974H4.0882L8.15216 6.72795L8.78507 7.61374L14.0677 15.0075H11.8997L7.58887 8.97418V8.97384Z" fill="#aaa"/>
</svg>
</a>
</li>
{/block:IfYourTwitterUsername}
Expand Down