Skip to content

Commit

Permalink
Merge pull request #11 from nekko-lab/special-thanks
Browse files Browse the repository at this point in the history
specialThanksの作成
  • Loading branch information
cyokozai authored Nov 24, 2024
2 parents dc54daa + d2f2032 commit e32c82d
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 4 deletions.
26 changes: 22 additions & 4 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default component$(() => {
>
<div
class={css({
display: { md: "flex", base: "none" },
display: { lg: "flex", base: "none" },
justifyContent: "space-between",
fontWeight: 300,
fontSize: 20,
Expand Down Expand Up @@ -66,12 +66,18 @@ export default component$(() => {
<li>
<HeaderLink value="Venue" />
</li>
<li>
<HeaderLink value="SpecialThanks" />
</li>
<li>
<HeaderLink value="Ads" />
</li>
</ul>
</nav>
</div>
<div
class={css({
display: { md: "none", base: "inline-block" },
display: { lg: "none", base: "inline-block" },
marginY: "40px",
position: "relative",
marginLeft: "2em",
Expand Down Expand Up @@ -169,7 +175,7 @@ export default component$(() => {

maskImage:
"linear-gradient(to top, rgb(0 0 0 / 100%) 85%, rgb(0 0 0 / 0%) 100%), \
linear-gradient(to bottom, rgb(0 0 0 / 100%) 85%, rgb(0 0 0 / 0%) 100%), \
linear-gradient(to bottom, rgb(0 0 0 / 100%) 90%, rgb(0 0 0 / 0%) 100%), \
linear-gradient(to left, rgb(0 0 0 / 100%) 85%, rgb(0 0 0 / 0%) 100%), \
linear-gradient(to right, rgb(0 0 0 / 100%) 85%, rgb(0 0 0 / 0%) 100%)",
maskComposite: "intersect",
Expand All @@ -186,7 +192,7 @@ export default component$(() => {
paddingTop: 15,
paddingLeft: 19,
position: "relative",
w: 140,
w: 220,

"& li": {
position: "relative",
Expand Down Expand Up @@ -248,6 +254,18 @@ export default component$(() => {
<HeaderLink value="Venue" />
</span>
</li>
<li>
<span></span>
<span>
<HeaderLink value="SpecialThanks" />
</span>
</li>
<li>
<span></span>
<span>
<HeaderLink value="Ads" />
</span>
</li>
</ul>
</nav>
</div>
Expand Down
60 changes: 60 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import Footer from "~/components/footer";
import { animate } from "motion";
import Map from "./map.png?jsx";
import Character from "./character.png?jsx";
import Nekoreru_menu from "./nekoteru_menu.jpg?jsx";
import Nekoteru from "./nekoteru.jpg?jsx";

export default component$(() => {
// eslint-disable-next-line qwik/no-use-visible-task
Expand Down Expand Up @@ -343,6 +345,64 @@ export default component$(() => {
</div>
</budoux-ja>
</Section>

{/* --- Venue --- */}
<Section>
<Heading value="SpecialThanks" description="協力" />
<Block Title="ステージ共同制作">
<p
class={css({
marginBottom: 20,
})}
>
けんとけん かずま
</p>
</Block>
<Heading value="Ads" description="広告" />
<budoux-ja>
<div
class={css({
display: "flex",
flexDir: { md: "row", base: "column" },
margin: 5,
gap: 4,
flexWrap: "wrap",
opacity: 0,
transform: "translateX(-10px)",
})}
onQVisible$={(e) => {
animate(
e.detail.target,
{ opacity: 1, transform: "translateX(0px)" },
{
duration: 0.6,
delay: base_delay + 0.45,
easing: "ease-in-out",
},
);
}}
>
<div>
<Nekoteru
class={css({
height: "500px",
width: "auto",
})}
alt="ネコテル ポスター"
/>
</div>
<div>
<Nekoreru_menu
class={css({
height: "500px",
width: "auto",
})}
alt="ネコテル メニュー"
/>
</div>
</div>
</budoux-ja>
</Section>
</div>
</main>
<Footer />
Expand Down
Binary file added src/routes/nekoteru.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/routes/nekoteru_menu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e32c82d

Please sign in to comment.