README.mdを追加し,index.htmlではTwitterをx.comに変更

This commit is contained in:
2025-11-17 17:30:11 +09:00
parent 2a2b24d11a
commit 7c58848869
2 changed files with 53 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JSON to TOON Converter</title>
<title>渡辺橋のJSON TOON 変換ツール</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style>
.io-box {
@@ -11,7 +11,7 @@
overflow-y: auto;
}
</style>
</head>
</head>
<body>
<div class="container mt-4">
@@ -88,7 +88,7 @@
const pageTitle = encodeURIComponent(document.title);
const twitterShare = document.getElementById('shareTwitter');
twitterShare.href = `https://twitter.com/intent/tweet?url=${pageUrl}&text=${pageTitle}`;
twitterShare.href = `https://x.com/intent/post?url=${pageUrl}&text=${pageTitle}`;
const facebookShare = document.getElementById('shareFacebook');
facebookShare.href = `https://www.facebook.com/sharer/sharer.php?u=${pageUrl}`;