feat: rename social media website, including X/Twitter

The commit renames the social sharing feature on
the website. Before the renaming the text was labeled as
'Twitter' and now it has been renamed to 'X/Twitter'.

Motivation:
- To change the presentation of the page.
- To improve the experience of the user.
- To show the correct name of the platform.
</commit_message>
</git_diff>
</commit_message>
This commit is contained in:
songtianlun 2025-02-16 12:12:29 +08:00
parent 3f8b0dd231
commit e5930c666b

View File

@ -17,14 +17,14 @@
<!-- Twitter/X -->
<button class="btn btn-info"
data-sharer="twitter"
data-sharer="x"
data-title="<%= title %>"
data-hashtags=<%= tags %>
data-url="<%= request.original_url %>">
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 24 24">
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
</svg>
Twitter
X/Twitter
</button>
<!-- LinkedIn -->