diff --git a/cspell.json b/cspell.json index 3da8c6e..79138ac 100644 --- a/cspell.json +++ b/cspell.json @@ -2,5 +2,5 @@ "ignorePaths": ["node_modules/**", "*.svg"], "version": "0.2", "language": "en", - "words": ["NATSUMATSURI", "yatai", "Dela", "Yuji", "Syuku", "zustand", "wadaiko", "qrcode"] + "words": ["NATSUMATSURI", "yatai", "Dela", "Yuji", "Syuku", "zustand", "wadaiko", "qrcode","nobori","natsu","matsuri"] } diff --git a/src/components/Gallery/index.module.css b/src/components/Gallery/index.module.css new file mode 100644 index 0000000..b9df346 --- /dev/null +++ b/src/components/Gallery/index.module.css @@ -0,0 +1,61 @@ +h1{ + font-size: 40px; +} + +.title{ + position: absolute; + top: 0; + left: 0; + z-index: 1; + padding: 16px; + margin: 0; +} +.nobori img{ + position: absolute; + bottom: 0; + left: -240px; + height: 80vh; + aspect-ratio: 1 / 1; + z-index: -1; +} + +.light img{ + position: absolute; + top: 0; + left: 0px; + height: 80vh; + aspect-ratio: 1 / 1; + z-index: -1; +} + +.container { + display: flex; + align-items: flex-end; + position: absolute; + bottom: 16px; + left: 4vw; + z-index: 1; +} + +.logo img { + height: 16vh; + aspect-ratio: 1 / 1; + margin-right: 2vw; +} + +.shop { + color: var(--white); + font-size: 4vw; + padding: 16px; + margin: 0; +} + +.light-right img{ + position: absolute; + top: 0; + right: 0px; + height: 80vh; + aspect-ratio: 1 / 1; + z-index: -1; + transform: scale(-1, 1); +} \ No newline at end of file diff --git a/src/components/Gallery/index.tsx b/src/components/Gallery/index.tsx new file mode 100644 index 0000000..af3ee94 --- /dev/null +++ b/src/components/Gallery/index.tsx @@ -0,0 +1,32 @@ +import styles from "./index.module.css"; + +function Gallery() { + return ( +
+ {/* biome-ignore lint/a11y/useMediaCaption: 夏祭りの音を再生します。 */} +
+ ); +} +export default Gallery; diff --git a/src/pages/yatai/index.module.css b/src/pages/yatai/index.module.css index 660bbcf..86e4da0 100644 --- a/src/pages/yatai/index.module.css +++ b/src/pages/yatai/index.module.css @@ -12,6 +12,7 @@ .canvas { width: 100%; height: 100%; + background-color: transparent; } .target { diff --git a/src/pages/yatai/index.tsx b/src/pages/yatai/index.tsx index f43b213..1e2fae5 100644 --- a/src/pages/yatai/index.tsx +++ b/src/pages/yatai/index.tsx @@ -9,6 +9,7 @@ import type { Object3DEventMap, } from "three"; import { randFloat } from "three/src/math/MathUtils.js"; +import Gallery from "../../components/Gallery"; import { useSocketRefStore } from "../../store"; import { type ActionSchema, @@ -216,6 +217,7 @@ function Yatai() {
+
); }