Release 2025-05-20-0D8p
This commit is contained in:
@@ -86,7 +86,12 @@ const statusInfo = getServiceSuggestionStatusInfo(serviceSuggestion.status)
|
||||
<BaseLayout
|
||||
pageTitle={`${serviceSuggestion.service.name} | Service suggestion`}
|
||||
description="View your service suggestion"
|
||||
ogImage={{ template: 'generic', title: serviceSuggestion.service.name }}
|
||||
ogImage={{
|
||||
template: 'generic',
|
||||
title: 'My service suggestions',
|
||||
description: 'View and manage your service suggestion',
|
||||
icon: 'ri:service-line',
|
||||
}}
|
||||
widthClassName="max-w-screen-md"
|
||||
htmx
|
||||
breadcrumbs={[
|
||||
|
||||
@@ -65,7 +65,12 @@ if (!service) return Astro.rewrite('/404')
|
||||
<BaseLayout
|
||||
pageTitle="Edit service"
|
||||
description="Suggest an edit to service"
|
||||
ogImage={{ template: 'generic', title: 'Edit service' }}
|
||||
ogImage={{
|
||||
template: 'generic',
|
||||
title: 'Edit service',
|
||||
description: 'Suggest an edit to service',
|
||||
icon: 'ri:edit-line',
|
||||
}}
|
||||
widthClassName="max-w-screen-md"
|
||||
breadcrumbs={[
|
||||
{
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import { actions } from 'astro:actions'
|
||||
import { Picture } from 'astro:assets'
|
||||
import { z } from 'astro:content'
|
||||
|
||||
import defaultServiceImage from '../../assets/fallback-service-image.jpg'
|
||||
import Button from '../../components/Button.astro'
|
||||
import MyPicture from '../../components/MyPicture.astro'
|
||||
import TimeFormatted from '../../components/TimeFormatted.astro'
|
||||
import Tooltip from '../../components/Tooltip.astro'
|
||||
import {
|
||||
@@ -72,7 +71,12 @@ const success = !!createResult && !createResult.error
|
||||
<BaseLayout
|
||||
pageTitle="My service suggestions"
|
||||
description="Manage your service suggestions"
|
||||
ogImage={{ template: 'generic', title: 'Service suggestions' }}
|
||||
ogImage={{
|
||||
template: 'generic',
|
||||
title: 'Service suggestions',
|
||||
description: 'Manage your service suggestions',
|
||||
icon: 'ri:service-line',
|
||||
}}
|
||||
widthClassName="max-w-screen-md"
|
||||
breadcrumbs={[
|
||||
{
|
||||
@@ -122,13 +126,13 @@ const success = !!createResult && !createResult.error
|
||||
href={`/service/${suggestion.service.slug}`}
|
||||
class="inline-flex w-full min-w-32 items-center gap-2 hover:underline"
|
||||
>
|
||||
<Picture
|
||||
src={suggestion.service.imageUrl ?? (defaultServiceImage as unknown as string)}
|
||||
<MyPicture
|
||||
src={suggestion.service.imageUrl}
|
||||
fallback="service"
|
||||
alt={suggestion.service.name}
|
||||
width={32}
|
||||
height={32}
|
||||
class="inline-block size-8 min-w-8 shrink-0 rounded-md"
|
||||
formats={['jxl', 'avif', 'webp']}
|
||||
/>
|
||||
<span class="shrink truncate">{suggestion.service.name}</span>
|
||||
</a>
|
||||
|
||||
@@ -65,7 +65,12 @@ const [categories, attributes] = await Astro.locals.banners.tryMany([
|
||||
<BaseLayout
|
||||
pageTitle="New service"
|
||||
description="Suggest a new service to be added to KYCnot.me"
|
||||
ogImage={{ template: 'generic', title: 'New service' }}
|
||||
ogImage={{
|
||||
template: 'generic',
|
||||
title: 'New service',
|
||||
description: 'Suggest a new service to be listed',
|
||||
icon: 'ri:add-circle-line',
|
||||
}}
|
||||
widthClassName="max-w-screen-md"
|
||||
breadcrumbs={[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user