LogoItem
apps/www/src/components/LogoItem.astro · 23 lines · group Logos & partners
Used by
- pages.gitt.one / × 16
Live sites: pages.gitt.one.
Samples 1
<LogoSection>POWERS THE WEBSITES OF








MDX of this sample
<LogoSection title="POWERS THE WEBSITES OF">
<LogoItem title="codeexpert" imgPath="logos/codeexpert.webp" />
<LogoItem title="itgrows" imgPath="logos/itgrows.webp" />
<LogoItem title="redmine" imgPath="logos/redmine.png" />
<LogoItem title="posexpert" imgPath="logos/posexp.webp" />
<LogoItem title="srv4pos" imgPath="logos/logosrv4pos.webp" />
<LogoItem title="posplus" imgPath="logos/posplus.webp" />
<LogoItem title="skattedosan" imgPath="logos/skat.webp" />
<LogoItem title="gitt" imgPath="logos/gitt.png" />
</LogoSection>Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | |||
| imgPath | string | yes |
Source apps/www/src/components/LogoItem.astro @ gitt.one
---
import { Image } from 'astro:assets';
import { resolveImage } from '../lib/images';
interface Props {
title?: string;
imgPath: string;
}
const { title, imgPath } = Astro.props;
const image = await resolveImage(imgPath);
---
<div class="col-span-1 flex items-center justify-center md:col-span-2 lg:col-span-1">
<Image
src={image}
alt={title ?? ''}
widths={[400]}
class="h-12 w-full max-w-[180px] object-contain"
/>
</div>Source links point to engine-astro@e857a859. Samples are cut from the sites' own content by scripts/gallery-extract.mjs; nothing is merged or removed yet.