LogoItem

apps/www/src/components/LogoItem.astro · 23 lines · group Logos & partners

Used by

Live sites: pages.gitt.one.

Samples 1

pages.gitt.one/shown inside <LogoSection>

POWERS THE WEBSITES OF

codeexpert
itgrows
redmine
posexpert
srv4pos
posplus
skattedosan
gitt
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

NameTypeRequiredDefaultDescription
titlestring
imgPathstringyes

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.