Skip to content

Commit 5b6fce0

Browse files
authored
Merge pull request #114 from kc3hack/FE-92
[FE-92] Xにポストを促す内容を修正
2 parents ad777f8 + 23d2b60 commit 5b6fce0

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

frontend/src/Result/Components/ShareModal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import "../Styles/Result.css";
2-
import Button from "@mui/material/Button";
3-
import IconButton from "@mui/material/IconButton";
41
import CloseIcon from "@mui/icons-material/Close";
52
import XIcon from "@mui/icons-material/X";
3+
import Button from "@mui/material/Button";
4+
import IconButton from "@mui/material/IconButton";
5+
import "../Styles/Result.css";
66

77
interface Props {
88
readonly gameId: number;
@@ -11,7 +11,7 @@ interface Props {
1111

1212
function buildShareText(gameId: number): string {
1313
const shareUrl = `${globalThis.location.origin}/board/${gameId}`;
14-
return `偏見で遊ぼうで遊んだよ!\n${shareUrl}\n#偏見で遊ぼう`;
14+
return `「あれちゃう?知らんけど。」で遊んだで!これうちのお気に入りやねん!\n${shareUrl}\n\n#あれ知ら #KC3Hack`;
1515
}
1616

1717
export default function ShareModal({ gameId, onClose }: Props) {
@@ -41,7 +41,7 @@ export default function ShareModal({ gameId, onClose }: Props) {
4141
<CloseIcon />
4242
</IconButton>
4343

44-
<p className="share-modal-label">この内容でポストします</p>
44+
<p className="share-modal-label">ぜひポストしてな!</p>
4545
<div className="share-modal-preview">{shareText}</div>
4646

4747
<Button

frontend/src/Result/Styles/Result.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
text-align: center;
146146
box-sizing: border-box;
147147
word-break: break-all;
148+
white-space: pre-line;
148149
}
149150

150151
/* --- お気に入りボタン --- */

frontend/src/Solo/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@ function Solo() {
342342
<div className="loading-text">
343343
関西あるある
344344
<br />
345-
<div className="aruaru-text">
346-
{loadingMessages[loadingMsgIndex]}
347-
</div>
345+
<div className="aruaru-text">{loadingMessages[loadingMsgIndex]}</div>
348346
</div>
349347
</div>
350348
<div className="spinner" />

0 commit comments

Comments
 (0)