Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Add sound #26

Merged
merged 6 commits into from
Aug 10, 2024
Merged

Add sound #26

merged 6 commits into from
Aug 10, 2024

Conversation

Sea10wood
Copy link
Collaborator

No description provided.

Copy link

Lighthouse Report

URL Performance Accessibility Best Practices SEO PWA Details
https://virtual-natsumatsuri.web.app/ 🟡80 🟢100 🟢100 🟡85 🟡56 📝 result

Copy link

Visualizer Report

You can view the results here.

@Sea10wood Sea10wood self-assigned this Aug 10, 2024
<div className={styles["link-copy"]}>
<TextButton
text="共有リンクをコピー"
onClick={handleClick}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここをクリックしてもコピーではなく/yataiに移動している

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここ、この時点で一旦ルームのuuid含むurlが取得できなかったから一旦この実装にしてました!qrcodeを取り込む時に修正します!🙇!

@@ -0,0 +1,91 @@
import { DefaultButton } from "../../components/ui/Button";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/pages以下に直接routerから読み込まないJSXを置くのは望ましくない(技術構成によっては予期せぬページが生成されてしまう)のでできれば避けたい。/components/responsiveや/components/commonなどに置くとベターか?Kizukuさんにも聞いた方が良いかも。homeSPも同様。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正しました!

<div className={styles["go-game-sp"]}>
<DefaultButton color="red" size="lg" onClick={handleClick}>
射的へ向かう
</DefaultButton>
Copy link
Owner

@claustra01 claustra01 Aug 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

homePCではホバー中はボタンのサイズが大きくなったが、homePCではホバー中の変化がないのは仕様?
あと、僕の環境ではhomePCをホバーした時にボタンが画面左に少しはみ出していた

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちらは、いったん、ホバーの方を削除しました、、、

width="200"
height="200"
/>
</div>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style.container以下に全てのcomponentを並列に置くのは表示崩れの原因になる(今回は直さなくてもいいから頭の隅にでも)

container
L 動く文字
L 左半分
 L ロゴ
 L でかいボタン
L 右半分
 L QRコード
  L QRコード本体
  L コピー用ボタン
 L 背景画像

のように階層構造でコンポーネントを管理し、一番外側でサイズを調整して内側のコンポーネントはwidth: 100%にすると実装コストも下がる

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

今は実装速度優先なのでこのハッカソンでは直す必要はない

@claustra01 claustra01 self-requested a review August 10, 2024 21:48
@claustra01 claustra01 merged commit 747bb9c into main Aug 10, 2024
3 checks passed
@claustra01 claustra01 deleted the add_sound branch August 10, 2024 22:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants