Skip to content

Commit f93e8ac

Browse files
committed
feat: allow explicit img w/o zoom
1 parent 3e1fc05 commit f93e8ac

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

app/[[...slug]]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { ImageZoom, type ImageZoomProps } from "fumadocs-ui/components/image-zoo
44
import { Step, Steps } from "fumadocs-ui/components/steps";
55
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
66
import { TypeTable } from "fumadocs-ui/components/type-table";
7+
import Image, { type ImageProps } from "next/image";
78
import { notFound } from "next/navigation";
89
import { HTMLAttributes } from "react";
910

@@ -26,6 +27,7 @@ const defaultMdxComponents = {
2627
Tab,
2728
Tabs,
2829
TypeTable,
30+
ImageNoZoom: (props: ImageProps) => <Image {...props} />,
2931
img: (props: ImageZoomProps) => <ImageZoom {...props} />,
3032
Card: (props: CardProps) => <Card {...props} />,
3133
Cards: (props: HTMLAttributes<HTMLDivElement>) => <Cards {...props} />,

docs/partners.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ platform.
1818
description="Eliza is a powerful multi-agent simulation framework designed to create, deploy, and manage autonomous AI agents. Built with TypeScript, it provides a flexible and extensible platform for developing intelligent agents that can interact across multiple platforms while maintaining consistent personalities and knowledge."
1919
icon={
2020
<>
21-
<img
21+
<ImageNoZoom
2222
src="/img/partners/eliza-light.svg"
2323
alt="Eliza"
2424
width={100}
2525
height={48}
2626
className="hidden h-12 w-auto object-contain dark:block"
2727
/>
28-
<img
28+
<ImageNoZoom
2929
src="/img/partners/eliza-dark.svg"
3030
alt="Eliza"
3131
width={100}
@@ -41,14 +41,14 @@ platform.
4141
description="Gaia is building a decentralized ecosystem to support AI applications that learn, improve, and grow over time."
4242
icon={
4343
<>
44-
<img
44+
<ImageNoZoom
4545
src="/img/partners/gaia-network-light.svg"
4646
alt="Gaia Network"
4747
width={100}
4848
height={48}
4949
className="hidden h-12 w-auto object-contain dark:block"
5050
/>
51-
<img
51+
<ImageNoZoom
5252
src="/img/partners/gaia-network-dark.svg"
5353
alt="Gaia Network"
5454
width={100}
@@ -65,14 +65,14 @@ platform.
6565
description="Lilypad is a serverless, distributed compute network that enables internet-scale data processing for AI, ML, and other arbitrary computation. Unleashing idle processing power by leveraging decentralized infrastructure networks, Lilypad unlocks a new marketplace for compute, making AI more accessible, efficient, and transparent for developers and users."
6666
icon={
6767
<>
68-
<img
68+
<ImageNoZoom
6969
src="/img/partners/lilypad-light.svg"
7070
alt="Lilypad"
7171
width={100}
7272
height={48}
7373
className="hidden h-12 w-auto object-contain dark:block"
7474
/>
75-
<img
75+
<ImageNoZoom
7676
src="/img/partners/lilypad-dark.svg"
7777
alt="Lilypad"
7878
width={100}
@@ -88,14 +88,14 @@ platform.
8888
description="Lit is the programmable key management network powering interoperability, user-owned data, and agent wallets."
8989
icon={
9090
<>
91-
<img
91+
<ImageNoZoom
9292
src="/img/partners/lit-protocol-light.svg"
9393
alt="Lit"
9494
width={100}
9595
height={48}
9696
className="hidden h-12 w-auto object-contain dark:block"
9797
/>
98-
<img
98+
<ImageNoZoom
9999
src="/img/partners/lit-protocol-dark.svg"
100100
alt="Lit"
101101
width={100}
@@ -111,14 +111,14 @@ platform.
111111
description="Rhinestone provides infrastructure and tooling for intent-powered smart wallets, allowing agents to request onchain permissions from users and instantly transact across anychain with a users balance from any chain. Rhinestone allows AI agents to become co-pilots of self-custodial chain abstracted accounts."
112112
icon={
113113
<>
114-
<img
114+
<ImageNoZoom
115115
src="/img/partners/rhinestone-light.svg"
116116
alt="Rhinestone"
117117
width={100}
118118
height={48}
119119
className="hidden h-12 w-auto object-contain dark:block"
120120
/>
121-
<img
121+
<ImageNoZoom
122122
src="/img/partners/rhinestone-dark.svg"
123123
alt="Rhinestone"
124124
width={100}
@@ -134,14 +134,14 @@ platform.
134134
description="Terminal 3 is a privacy-first data and identity infrastructure that powers secure, compliant credential applications. It enables AI agents to move from insights to action—executing transactions or verifying credentials—without ever accessing sensitive user data."
135135
icon={
136136
<>
137-
<img
137+
<ImageNoZoom
138138
src="/img/partners/terminal-3-light.svg"
139139
alt="Terminal3"
140140
width={100}
141141
height={48}
142142
className="hidden h-12 w-auto object-contain dark:block"
143143
/>
144-
<img
144+
<ImageNoZoom
145145
src="/img/partners/terminal-3-dark.svg"
146146
alt="Terminal3"
147147
width={100}

0 commit comments

Comments
 (0)