fix gallery?

This commit is contained in:
Martin Quarda 2024-10-07 17:25:03 +02:00
parent 09a63c298a
commit ce042f8599
2 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class Main extends Component {
{this.state.page == "#gallery" &&
<div class="container">
{this.state.photos.map((photos, index) =>
<div class="card" style="width: 18rem;">
<div class="card" style={width: "18rem"}>
<img src={'/photos/plakat_' + photos.index + '.jpg'} class="card-img-top" />
<div class="card-body">
<h5 class="card-title">{photos.name}</h5>

BIN
photos/plakat_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB