diff --git a/src/App.tsx b/src/App.tsx index 0515ab9..669cf16 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,4 @@ import { Route, Routes } from "react-router-dom"; -import QRCodePage from "./pages/QRCodeGenerator"; import Home from "./pages/home"; import Shooter from "./pages/shooter"; import Yatai from "./pages/yatai"; @@ -11,7 +10,6 @@ const AppRoutes = () => { } /> } /> } /> - } /> ); diff --git a/src/components/responsive/homePC/index.module.css b/src/components/responsive/homePC/index.module.css index f72d257..4f05798 100644 --- a/src/components/responsive/homePC/index.module.css +++ b/src/components/responsive/homePC/index.module.css @@ -48,7 +48,7 @@ max-width: 48%; } .background-logo img { - height: 100vh; + height: 90vh; aspect-ratio: 1 / 1; } @@ -57,26 +57,12 @@ li { padding: 0 32px; } -.go-game-pc { - justify-content: center; - align-items: center; - width: 40%; - text-align: center; - z-index: 10; -} - -.go-game-pc button { - width: 100%; - padding: 16px 0; - font-size: 24px; -} - .red-lite { opacity: 0.8; position: absolute; top: 2%; - width: 500px; - height: 500px; + width: 200px; + height: 200px; right: 0; z-index: -1; } @@ -85,7 +71,7 @@ li { opacity: 0.2; position: absolute; top: 25%; - right: 8%; + right: 12px; transform: scale(-1, 1); } @@ -95,14 +81,13 @@ li { right: 120px; width: 520px; height: 532px; - background-color: rgba(255, 255, 255, 0.8); z-index: 1; } .qr-scan { position: absolute; - bottom: 10%; - right: -50px; + bottom: 10px; + right: 0; z-index: 10; } @@ -134,6 +119,11 @@ li { height: 100%; } +.go-game-pc { + margin-left: 15%; + z-index: 10; +} + .qr-wrapper { display: flex; position: relative; diff --git a/src/components/responsive/homePC/index.tsx b/src/components/responsive/homePC/index.tsx index 188cf3a..dc83571 100644 --- a/src/components/responsive/homePC/index.tsx +++ b/src/components/responsive/homePC/index.tsx @@ -55,15 +55,15 @@ function HomePC() {
- 背景にばーちゃるなつまつりのロゴ + 背景にばーちゃるなつまつりのロゴ
- + 射的へ向かう
@@ -80,13 +80,16 @@ function HomePC() { qr-scan
copyStringToClipboard(url)} underline={true} /> @@ -94,12 +97,7 @@ function HomePC() {
- 赤提灯 + 赤提灯
{ - const [qrCodeUrl, setQrCodeUrl] = useState(null); - - const handleUrlGenerated = (generatedUrl: string) => { - setQrCodeUrl(generatedUrl); - }; - - return ( -
- - {qrCodeUrl && } -
- ); -}; - -export default QRCodePage;