feat: add peaks of the balkan page
Some checks failed
Deploy to SFTP Server / build (push) Failing after 8m22s
Some checks failed
Deploy to SFTP Server / build (push) Failing after 8m22s
This commit is contained in:
11
src/components/Picture.astro
Normal file
11
src/components/Picture.astro
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
import Image from "./Image.astro";
|
||||
const {src, alt, caption} = Astro.props;
|
||||
---
|
||||
|
||||
<figure style="display: inline-block; text-align: center; margin-block: 1em;">
|
||||
<Image src={src} alt={alt} style="max-width: 100%; height: auto;" />
|
||||
<figcaption style="font-size: 0.9rem; text-align: center; color: #666; margin-top: 0.5rem;">
|
||||
{caption}
|
||||
</figcaption>
|
||||
</figure>
|
Reference in New Issue
Block a user