Merge pull request 'chore: resizes images' (#27) from chore/resize-images into main
Some checks failed
CI / build-and-test (push) Has been cancelled

Reviewed-on: #27
This commit was merged in pull request #27.
This commit is contained in:
2026-04-22 10:27:38 +00:00
14 changed files with 13 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

View File

@@ -21,36 +21,36 @@ interface OfficialRaceVisual {
const FALLBACK_VISUALS: Record<RaceVisualVariant, RaceVisual> = { const FALLBACK_VISUALS: Record<RaceVisualVariant, RaceVisual> = {
short: { short: {
variant: "short", variant: "short",
imageSrc: "/images/race-short.png", imageSrc: "/images/race-short.jpg",
fallbackSrc: "/images/race-short.png", fallbackSrc: "/images/race-short.jpg",
imageFit: "cover", imageFit: "cover",
label: "Городской темп", label: "Городской темп",
}, },
half: { half: {
variant: "half", variant: "half",
imageSrc: "/images/race-half.png", imageSrc: "/images/race-half.jpg",
fallbackSrc: "/images/race-half.png", fallbackSrc: "/images/race-half.jpg",
imageFit: "cover", imageFit: "cover",
label: "Полумарафон", label: "Полумарафон",
}, },
marathon: { marathon: {
variant: "marathon", variant: "marathon",
imageSrc: "/images/race-marathon.png", imageSrc: "/images/race-marathon.jpg",
fallbackSrc: "/images/race-marathon.png", fallbackSrc: "/images/race-marathon.jpg",
imageFit: "cover", imageFit: "cover",
label: "Марафон", label: "Марафон",
}, },
trail: { trail: {
variant: "trail", variant: "trail",
imageSrc: "/images/race-trail.png", imageSrc: "/images/race-trail.jpg",
fallbackSrc: "/images/race-trail.png", fallbackSrc: "/images/race-trail.jpg",
imageFit: "cover", imageFit: "cover",
label: "Трейл", label: "Трейл",
}, },
night: { night: {
variant: "night", variant: "night",
imageSrc: "/images/race-night.png", imageSrc: "/images/race-night.jpg",
fallbackSrc: "/images/race-night.png", fallbackSrc: "/images/race-night.jpg",
imageFit: "cover", imageFit: "cover",
label: "Ночной старт", label: "Ночной старт",
}, },

View File

@@ -1290,7 +1290,7 @@ body {
color: #ffffff; color: #ffffff;
background: background:
linear-gradient(90deg, rgba(7, 25, 39, 0.9) 0%, rgba(7, 25, 39, 0.58) 46%, rgba(7, 25, 39, 0.1) 100%), linear-gradient(90deg, rgba(7, 25, 39, 0.9) 0%, rgba(7, 25, 39, 0.58) 46%, rgba(7, 25, 39, 0.1) 100%),
url("/images/runner-hero.png") center / cover; url("/images/runner-hero.jpg") center / cover;
} }
.dashboard-hero__content, .dashboard-hero__content,
@@ -1525,7 +1525,7 @@ body {
padding: var(--space-8); padding: var(--space-8);
background: background:
linear-gradient(90deg, rgba(7, 25, 39, 0.88), rgba(7, 25, 39, 0.48), rgba(7, 25, 39, 0.08)), linear-gradient(90deg, rgba(7, 25, 39, 0.88), rgba(7, 25, 39, 0.48), rgba(7, 25, 39, 0.08)),
url("/images/race-half.png") center / cover; url("/images/race-half.jpg") center / cover;
} }
.races-hero .page__title, .races-hero .page__title,
@@ -1788,7 +1788,7 @@ body {
padding: var(--space-8); padding: var(--space-8);
background: background:
linear-gradient(90deg, rgba(7, 25, 39, 0.9), rgba(7, 25, 39, 0.5), rgba(7, 25, 39, 0.08)), linear-gradient(90deg, rgba(7, 25, 39, 0.9), rgba(7, 25, 39, 0.5), rgba(7, 25, 39, 0.08)),
url("/images/race-short.png") center / cover; url("/images/race-short.jpg") center / cover;
} }
.race-day-hero .page-link { .race-day-hero .page-link {