fix(gallery): change row count calculation, add new screenshots
This commit is contained in:
parent
2fa5d28001
commit
ab03e0d0fa
10 changed files with 5 additions and 1 deletions
BIN
public-src/cinema/whisper-of-the-heart/1.jpg
Normal file
BIN
public-src/cinema/whisper-of-the-heart/1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 506 KiB |
BIN
public-src/cinema/whisper-of-the-heart/2.jpg
Normal file
BIN
public-src/cinema/whisper-of-the-heart/2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 443 KiB |
BIN
public-src/cinema/whisper-of-the-heart/3.jpg
Normal file
BIN
public-src/cinema/whisper-of-the-heart/3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 375 KiB |
BIN
public-src/cinema/whisper-of-the-heart/4.jpg
Normal file
BIN
public-src/cinema/whisper-of-the-heart/4.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 521 KiB |
BIN
public/cinema/whisper-of-the-heart/1.avif
Normal file
BIN
public/cinema/whisper-of-the-heart/1.avif
Normal file
Binary file not shown.
BIN
public/cinema/whisper-of-the-heart/2.avif
Normal file
BIN
public/cinema/whisper-of-the-heart/2.avif
Normal file
Binary file not shown.
BIN
public/cinema/whisper-of-the-heart/3.avif
Normal file
BIN
public/cinema/whisper-of-the-heart/3.avif
Normal file
Binary file not shown.
BIN
public/cinema/whisper-of-the-heart/4.avif
Normal file
BIN
public/cinema/whisper-of-the-heart/4.avif
Normal file
Binary file not shown.
|
@ -7,7 +7,7 @@ interface Props {
|
|||
images: Image[]
|
||||
}
|
||||
const { images } = Astro.props
|
||||
const rowCount = Math.round(images.length/3)
|
||||
const rowCount = Math.ceil(images.length/3)
|
||||
---
|
||||
|
||||
<div>
|
||||
|
|
|
@ -19,6 +19,10 @@ import Gallery from '../components/Gallery.astro'
|
|||
{src: "/cinema/yokohama-kaidashi-kikou/1.avif", alt: "Yokohama Kaidashi Kikou"},
|
||||
{src: "/cinema/yokohama-kaidashi-kikou/2.avif", alt: "Yokohama Kaidashi Kikou"},
|
||||
{src: "/cinema/yokohama-kaidashi-kikou/3.avif", alt: "Yokohama Kaidashi Kikou"},
|
||||
{src: "/cinema/whisper-of-the-heart/1.avif", alt: "Шёпот сердца"},
|
||||
{src: "/cinema/whisper-of-the-heart/2.avif", alt: "Шёпот сердца"},
|
||||
{src: "/cinema/whisper-of-the-heart/3.avif", alt: "Шёпот сердца"},
|
||||
{src: "/cinema/whisper-of-the-heart/4.avif", alt: "Шёпот сердца"},
|
||||
{src: "/cinema/john-wick-chapter-4/1.avif", alt: "John Wick: Chapter 4"},
|
||||
{src: "/cinema/night-in-the-woods/1.avif", alt: "Night in the Woods"},
|
||||
{src: "/cinema/night-in-the-woods/2.avif", alt: "Night in the Woods"},
|
||||
|
|
Loading…
Reference in a new issue