Added recipes images

This commit is contained in:
2026-02-01 22:23:24 +01:00
parent c34dcae89d
commit a26c3645ac
37 changed files with 719 additions and 234 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
public/spirits/daiquiri.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
public/spirits/gin fizz.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
public/spirits/martini.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
public/spirits/mi-to.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
public/spirits/mojito.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
public/spirits/negroni.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
public/spirits/paloma.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -5,8 +5,8 @@ let recipesData = [];
async function loadData() {
try {
spiritsData = data.spirits;
recipesData = data.recipes;
spiritsData = data.spirits.sort((a, b) => a.name > b.name);
recipesData = data.recipes.sort((a, b) => a.name > b.name);
renderSpirits();
enableButtonsLogic();
} catch (error) {
@@ -241,7 +241,7 @@ function renderRecipes(recipes) {
</div>
<div class="recipe-img">
<img
src="/public/spirits/${recipe.name?.toLowerCase()}.png"
src="/public/spirits/${recipe.name?.toLowerCase()}.jpg"
alt=""
onerror="this.onerror=null; this.src='/public/spirits/default.png';"
/>

View File

@@ -69,7 +69,7 @@ h1 {
font-family: "Fredoka", sans-serif;
font-size: 4.5rem;
font-weight: 700;
color: var(--cognac);
color: var(--deep-red);
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
text-shadow:
@@ -375,6 +375,7 @@ h2 {
width: 30%;
min-width: 30%;
max-width: 30%;
margin-left: 0.5rem;
}
.recipe-img img {
@@ -415,7 +416,7 @@ h2 {
width: 120px;
padding: 0.2rem 0.3rem;
font-family: "Fredoka", sans-serif;
font-size: 0.5rem;
font-size: 0.8rem;
background: linear-gradient(135deg, var(--deep-red) 0%, var(--cognac) 100%);
color: white;
border: none;