Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
édouard wautier authored and édouard wautier committed Oct 31, 2023
1 parent 54c394c commit 713eea9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions front/components/sparkle/OnboardingLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export default function OnboardingLayout({
gaTrackingId: string;
children: React.ReactNode;
}) {
const scrollRef1 = useRef<HTMLDivElement | null>(null);
const scrollRef2 = useRef<HTMLDivElement | null>(null);
const scrollRef3 = useRef<HTMLDivElement | null>(null);
const scrollRef0 = useRef<HTMLDivElement | null>(null);

return (
<>
Expand Down Expand Up @@ -75,13 +73,15 @@ export default function OnboardingLayout({
</Head>

{/* Keeping the background dark */}
<div className="fixed bottom-0 left-0 right-0 top-0 -z-50 bg-slate-800" />
<div className="fixed bottom-0 left-0 right-0 top-0 -z-50 bg-slate-900" />
{/* Particle system */}
<div className="fixed bottom-0 left-0 right-0 top-0 -z-40 overflow-hidden">
<Particles
scrollRef1={scrollRef1}
scrollRef2={scrollRef2}
scrollRef3={scrollRef3}
scrollRef0={scrollRef0}
scrollRef1={scrollRef0}
scrollRef2={scrollRef0}
scrollRef3={scrollRef0}
scrollRef4={scrollRef0}
/>
</div>

Expand Down
4 changes: 2 additions & 2 deletions front/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function Home({
</A>
</P> */}
</div>
<div className="flex hidden items-center gap-2">
<div className="flex items-center gap-2">
{!(router.query.signIn && router.query.signIn !== "github") && (
<div className="font-regular font-objektiv text-xs text-slate-400">
Sign in with{" "}
Expand Down Expand Up @@ -165,7 +165,7 @@ export default function Home({
variant="primary"
size="sm"
label="Start with Dust"
className="invisibleFirst opacity-0 transition-all duration-500 ease-out"
className="invisibleFirst hidden opacity-0 transition-all duration-500 ease-out"
icon={RocketIcon}
/>
<DropdownMenu>
Expand Down

0 comments on commit 713eea9

Please sign in to comment.