Skip to content

Commit

Permalink
special thanks animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pantyetta committed Nov 23, 2024
1 parent d63d20d commit 56934df
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
9 changes: 9 additions & 0 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export default component$(() => {
<li>
<HeaderLink value="SpecialThanks" />
</li>
<li>
<HeaderLink value="Ads" />
</li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -257,6 +260,12 @@ export default component$(() => {
<HeaderLink value="SpecialThanks" />
</span>
</li>
<li>
<span></span>
<span>
<HeaderLink value="Ads" />
</span>
</li>
</ul>
</nav>
</div>
Expand Down
37 changes: 23 additions & 14 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,16 @@ export default component$(() => {
{/* --- Venue --- */}
<Section>
<Heading value="SpecialThanks" description="協力" />
<Block Title="ステージ共同制作">
<p
class={css({
marginBottom: 20,
})}
>
けんとけん かずま
</p>
</Block>
<Heading value="Ads" description="広告" />
<budoux-ja>
<div
class={css({
Expand All @@ -354,22 +364,21 @@ export default component$(() => {
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
class={css({
height: "500px",
width: "353px",
display: "flex",
alignItems: "center",
justifyContent: "center",
border: "white 1px solid",
fontSize: "30px",
backdropFilter: "blur(1px)",
})}
>
Kazuma
</div>
<div>
<Nekoteru
class={css({
Expand Down

0 comments on commit 56934df

Please sign in to comment.