Release 2025-05-20-0D8p
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
---
|
||||
import { z } from 'astro/zod'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import { Picture } from 'astro:assets'
|
||||
import { orderBy } from 'lodash-es'
|
||||
|
||||
import Button from '../components/Button.astro'
|
||||
import FormatTimeInterval from '../components/FormatTimeInterval.astro'
|
||||
import MyPicture from '../components/MyPicture.astro'
|
||||
import TimeFormatted from '../components/TimeFormatted.astro'
|
||||
import {
|
||||
eventTypes,
|
||||
@@ -151,7 +151,12 @@ const createUrlWithoutFilter = (paramName: keyof typeof params) => {
|
||||
description="Discover important events, updates, and news about KYC-free services in chronological order."
|
||||
widthClassName="max-w-screen-lg"
|
||||
className={{ main: 'sm:flex sm:items-start sm:gap-6' }}
|
||||
ogImage={{ template: 'generic', title: 'Events' }}
|
||||
ogImage={{
|
||||
template: 'generic',
|
||||
title: 'Events',
|
||||
description: 'Discover important events, updates, and news about KYC-free services',
|
||||
icon: 'ri:calendar-event-line',
|
||||
}}
|
||||
htmx
|
||||
>
|
||||
<h1 class="font-title mb-6 block text-center text-2xl font-bold text-white sm:hidden">
|
||||
@@ -287,12 +292,11 @@ const createUrlWithoutFilter = (paramName: keyof typeof params) => {
|
||||
class="group flex h-8 items-center gap-2 rounded-full border border-green-500/30 bg-black/40 px-3 text-sm text-white"
|
||||
>
|
||||
{service?.imageUrl && (
|
||||
<Picture
|
||||
<MyPicture
|
||||
src={service.imageUrl}
|
||||
alt={service.name}
|
||||
width={16}
|
||||
height={16}
|
||||
formats={['jxl', 'avif', 'webp']}
|
||||
class="size-4 shrink-0 rounded-xs object-contain"
|
||||
/>
|
||||
)}
|
||||
@@ -385,12 +389,11 @@ const createUrlWithoutFilter = (paramName: keyof typeof params) => {
|
||||
class="-m-1.5 flex w-fit items-center rounded-md p-1.5 leading-none transition-colors hover:bg-zinc-800"
|
||||
>
|
||||
{event.service.imageUrl && (
|
||||
<Picture
|
||||
<MyPicture
|
||||
src={event.service.imageUrl}
|
||||
alt={event.service.name}
|
||||
width={16}
|
||||
height={16}
|
||||
formats={['jxl', 'avif', 'webp']}
|
||||
class="size-4 shrink-0 rounded-xs object-contain"
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user