We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c927a commit bc1f34cCopy full SHA for bc1f34c
src/app/speakers/[id]/page.tsx
@@ -152,6 +152,19 @@ export default async function Page({ params }: Props) {
152
sizes="(max-width: 768px) 100vw, 33vw"
153
/>
154
</div>
155
+ {speaker.company?.img && (
156
+ <div className="mt-8 text-center">
157
+ <div className="relative aspect-square w-32 mx-auto rounded-lg overflow-hidden shadow-md bg-gray-100">
158
+ <ImageWithFallback
159
+ src={speaker.company.img}
160
+ alt={`${speaker.company.name} logo`}
161
+ fill
162
+ className="object-contain"
163
+ sizes="(max-width: 768px) 50vw, 16vw"
164
+ />
165
+ </div>
166
167
+ )}
168
169
170
0 commit comments