Skip to content

Commit

Permalink
Add Variant A and B on Portfolio Carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmaxime committed Jan 29, 2024
1 parent 1c991e8 commit 693030b
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,20 @@ export default function DashboardPage() {
<Carousel variant="content-card" children={slides} />

Check failure on line 94 in apps/ledger-live-desktop/src/renderer/screens/dashboard/index.tsx

View check run for this annotation

live-github-bot / @Desktop • Test App

react/no-children-prop

Do not pass children as props. Instead, nest children between the opening and closing tags.

Check failure on line 94 in apps/ledger-live-desktop/src/renderer/screens/dashboard/index.tsx

View check run for this annotation

live-github-bot / @Desktop • Test App

react/no-children-prop

Do not pass children as props. Instead, nest children between the opening and closing tags.
</Card>
) : (
<Card style={{ backgroundColor: theme.colors.opacityPurple.c10 }}></Card>
<div
style={{
position: "fixed",
bottom: "30px",
left: "20px",
width: "97.5%",
zIndex: 10000,
backdropFilter: "blur(15px)",
borderRadius: "8px",
backgroundColor: theme.colors.opacityPurple.c10,
}}
>
<Carousel variant="content-card" children={slides} />

Check failure on line 109 in apps/ledger-live-desktop/src/renderer/screens/dashboard/index.tsx

View check run for this annotation

live-github-bot / @Desktop • Test App

react/no-children-prop

Do not pass children as props. Instead, nest children between the opening and closing tags.

Check failure on line 109 in apps/ledger-live-desktop/src/renderer/screens/dashboard/index.tsx

View check run for this annotation

live-github-bot / @Desktop • Test App

react/no-children-prop

Do not pass children as props. Instead, nest children between the opening and closing tags.
</div>
)
) : null}

Expand Down

0 comments on commit 693030b

Please sign in to comment.