.avif tournament logos
@@ -12,7 +12,6 @@ import { Flipped, Flipper } from "react-flip-toolkit";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { z } from "zod";
|
||||
import { Alert } from "~/components/Alert";
|
||||
import { Avatar } from "~/components/Avatar";
|
||||
import { LinkButton } from "~/components/Button";
|
||||
import { Divider } from "~/components/Divider";
|
||||
import { Main } from "~/components/Main";
|
||||
@@ -45,6 +44,7 @@ import { actualNumber } from "~/utils/zod";
|
||||
import * as CalendarRepository from "../CalendarRepository.server";
|
||||
import { canAddNewEvent } from "../calendar-utils";
|
||||
import { Tags } from "../components/Tags";
|
||||
import { Image } from "~/components/Image";
|
||||
|
||||
import "~/styles/calendar.css";
|
||||
|
||||
@@ -416,11 +416,13 @@ function EventsList({
|
||||
<div className="stack xs">
|
||||
<div className="stack horizontal sm-plus items-center">
|
||||
{calendarEvent.tournamentId ? (
|
||||
<Avatar
|
||||
size="sm"
|
||||
url={HACKY_resolvePicture({
|
||||
<Image
|
||||
path={HACKY_resolvePicture({
|
||||
name: calendarEvent.name,
|
||||
})}
|
||||
alt=""
|
||||
size={40}
|
||||
className="rounded-full"
|
||||
/>
|
||||
) : null}
|
||||
<div>
|
||||
|
||||
@@ -171,7 +171,12 @@ function TournamentCard({
|
||||
}}
|
||||
>
|
||||
<div className="stack horizontal justify-between items-center">
|
||||
<Avatar url={HACKY_resolvePicture(tournament)} size="xxs" />
|
||||
<Image
|
||||
path={HACKY_resolvePicture(tournament)}
|
||||
size={24}
|
||||
className="rounded-full"
|
||||
alt=""
|
||||
/>
|
||||
<div
|
||||
className={clsx("front__tournament-card__time", {
|
||||
invisible: !isMounted,
|
||||
|
||||
@@ -269,12 +269,11 @@ export default function TournamentRegisterPage() {
|
||||
return (
|
||||
<div className="stack lg">
|
||||
<div className="tournament__logo-container">
|
||||
<img
|
||||
src={tournament.logoSrc}
|
||||
<Image
|
||||
path={tournament.logoSrc}
|
||||
alt=""
|
||||
className="tournament__logo"
|
||||
width={124}
|
||||
height={124}
|
||||
size={124}
|
||||
/>
|
||||
<div>
|
||||
<div className="tournament__title">{tournament.ctx.name}</div>
|
||||
|
||||
@@ -370,7 +370,7 @@ export const preferenceEmojiUrl = (preference?: Preference) => {
|
||||
return `/static-assets/img/emoji/${emoji}.svg`;
|
||||
};
|
||||
export const tournamentLogoUrl = (identifier: string) =>
|
||||
`/static-assets/img/tournament-logos/${identifier}.png`;
|
||||
`/static-assets/img/tournament-logos/${identifier}`;
|
||||
export const TIER_PLUS_URL = `/static-assets/img/tiers/plus`;
|
||||
|
||||
export const winnersImageUrl = ({
|
||||
|
||||
BIN
public/static-assets/img/tournament-logos/default.avif
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/static-assets/img/tournament-logos/ftiu.avif
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
public/static-assets/img/tournament-logos/itz.avif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
public/static-assets/img/tournament-logos/pg.avif
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
public/static-assets/img/tournament-logos/pn.avif
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/static-assets/img/tournament-logos/pp.avif
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/static-assets/img/tournament-logos/sf.avif
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
public/static-assets/img/tournament-logos/sos.avif
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
public/static-assets/img/tournament-logos/tc.avif
Normal file
|
After Width: | Height: | Size: 14 KiB |