Skip to content

Commit

Permalink
Optimize astro
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKiwi committed Jan 9, 2024
1 parent 8187cee commit a1f71c9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/Browse.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
position: absolute;
bottom: -5rem;
left: 6rem;
width: 100%;
width: 60%;
height: 50%;
background: rgba(255, 255, 255, 0.5);
border-radius: 50%;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Browse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ const uwus: UwuType[] = [
width: 25,
speed: 0.375,
left: 1,
top: 135,
top: 120,
over: false,
},
{
width: 40,
speed: 0.39,
left: 35,
top: 160,
top: 170,
over: false,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/Team.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.7) 100%
rgba(0, 0, 0, 0.8) 100%
);
transform: translateY(200%);
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/derivatives.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DerivativesComponent from "../components/Derivatives";
<Layout title="uwucrew: the future of anime art ✨">
<main>
<Header />
<DerivativesComponent client:load />
<DerivativesComponent client:idle />
</main>
</Layout>

Expand Down
10 changes: 5 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import Community from "../components/Community";

<Layout title="uwucrew: the future of anime art ✨">
<main>
<Hero client:load />
<Why client:idle />
<Hero />
<Why client:visible />
<Browse client:idle />
<Team client:idle />
<Blog client:idle />
<Community client:idle />
<Team />
<Blog />
<Community client:visible />
</main>
</Layout>

Expand Down

0 comments on commit a1f71c9

Please sign in to comment.