Skip to content

Commit 38c2fc8

Browse files
Merge pull request #623 from Meghana-2124/fix/add-alt-text-whats-inside
Improve alt text descriptions in whats-inside section
2 parents d455b8e + a9622f7 commit 38c2fc8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

docs/pages/index.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ import Button from '../components/Button';
7373
<p className="mt-10"><Button href="/installation">Get Started</Button></p>
7474
</div>
7575

76-
77-
7876
<div className="text-center max-w-4xl mx-auto my-14 md:my-36">
7977
<h2 className="text-4xl font-bold">What's Inside?</h2>
8078

@@ -86,7 +84,7 @@ import Button from '../components/Button';
8684
height="600"
8785
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-optimization_saagby`}
8886
sizes="50w"
89-
alt="Example of automatic image optimization and responsive delivery"
87+
alt="Galaxy image showing file size optimization from 2.8MB to 44KB for faster performance"
9088
/>
9189
<h3 className="text-2xl font-semibold mb-4">Optimization</h3>
9290
<p>Automatically <Link className="underline underline-offset-2" href="/guides/image-optimization">optimize images</Link> and videos with <Link className="underline underline-offset-2" href="/guides/responsive-images">responsive sizes</Link> and modern formats.</p>
@@ -98,7 +96,7 @@ import Button from '../components/Button';
9896
height="600"
9997
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-transformations_vjacda`}
10098
sizes="50w"
101-
alt="Demo of image transformations: cropping, resizing and background removal"
99+
alt="Person editing image representing Cloudinary’s image transformation and AI tools"
102100
/>
103101
<h3 className="text-2xl font-semibold mb-4">Transformations</h3>
104102
<p>Transform assets using dynamic <Link className="underline underline-offset-2" href="/cldimage/examples#cropping--resizing">Cropping and Resizing</Link>, <Link className="underline underline-offset-2" href="/guides/background-removal">Background Removal</Link>, Generative AI, and more.</p>
@@ -110,7 +108,7 @@ import Button from '../components/Button';
110108
height="600"
111109
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-upload-widget_fvrnjs`}
112110
sizes="50w"
113-
alt="Cloudinary upload widget UI for adding assets"
111+
alt="Drag and drop widget interface showing how to upload images easily using Cloudinary"
114112
/>
115113
<h3 className="text-2xl font-semibold mb-4">Uploading</h3>
116114
<p>Drop-in widget for easily <Link className="underline underline-offset-2" href="/guides/uploading-images-and-videos">uploading assets</Link> into the cloud.</p>
@@ -122,7 +120,7 @@ import Button from '../components/Button';
122120
height="600"
123121
src={`${process.env.IMAGES_DIRECTORY}/next-cloudinary-social-cards_ll4fqu`}
124122
sizes="50w"
125-
alt="Social card preview for Open Graph (OG) images"
123+
alt="Example social card for a Next.js project generated dynamically using Cloudinary"
126124
/>
127125
<h3 className="text-2xl font-semibold mb-4">Social Cards</h3>
128126
<p>Easiest way to create beautiful <Link className="underline underline-offset-2" href="/guides/social-media-card">social cards</Link> in Next.js.</p>
@@ -199,4 +197,4 @@ import Button from '../components/Button';
199197
<div className="text-center max-w-2xl mx-auto my-20 md:my-44">
200198
<h2 className="text-3xl sm:text-4xl md:text-5xl font-bold md:leading-[4rem]">Transform &amp; Deliver at Scale with Next Cloudinary</h2>
201199
<p className="mt-10"><Button href="/installation">Get Started</Button></p>
202-
</div>
200+
</div>

docs/pages/nextjs-14.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To avoid marking an entire page as a Client Component, you can create a basic wr
4040
```jsx copy showLineNumbers
4141
"use client";
4242

43-
import { CldImage as CldImageDefault, CldImageProps } from 'next-cloudinary';
43+
import { CldImage as CldImageDefault, CldImageProps } from 'next-cloudinary';
4444

4545
const CldImage = (props: CldImageProps) => {
4646
return <CldImageDefault {...props} />
@@ -74,4 +74,4 @@ export const metadata = {
7474
};
7575
```
7676

77-
Find more examples of [Social Media Cards](/guides/social-media-card).
77+
Find more examples of [Social Media Cards](/guides/social-media-card).

0 commit comments

Comments
 (0)