Skip to content

Commit 0ae57e9

Browse files
Add new card location, colours
1 parent e3b463a commit 0ae57e9

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/components/HomepageCarousel.svelte

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
<Carousel.Item>B</Carousel.Item>
1010
<Carousel.Item>C</Carousel.Item>
1111
</Carousel.Content>
12-
<Carousel.Previous class="top-auto bottom-1 left-10"/>
13-
<Carousel.Next class="top-auto bottom-1 right-auto left-20"/>
12+
<div
13+
class="w-4/5 sm:w-72 bg-background absolute bottom-12 left-8 px-4 py-2"
14+
>
15+
<h1 class="font-display text-lg">Title</h1>
16+
<div class="text-xs">body text</div>
17+
<Button class="h-6">Action</Button>
18+
</div>
19+
<Carousel.Previous class="top-auto -bottom-2 scale-75 left-10" />
20+
<Carousel.Next
21+
class="top-auto -bottom-2 scale-75 right-auto left-[4.5rem]"
22+
/>
1423
</Carousel.Root>

src/components/RoboConLogo.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ let { clickable = true, href="/" } = Astro.props
2121
text-shadow: -0.05em 0.05em black;
2222
cursor: {clickable ? "auto" : "default"};
2323
}
24-
</style>
24+
</style>

0 commit comments

Comments
 (0)