Playing around with options for base structure and navigation
This commit is contained in:
8
src/components/Carousel.astro
Normal file
8
src/components/Carousel.astro
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
const { images } = Astro.props;
|
||||
---
|
||||
<div class="carousel">
|
||||
{images.map(img => (
|
||||
<img src={img} alt="carousel item" style="width:100%; max-width:600px; margin: 1rem auto; display:block;" />
|
||||
))}
|
||||
</div>
|
||||
Reference in New Issue
Block a user