Skip to content

Commit 6ec3fea

Browse files
codercatdevbuilder
andcommitted
refactor: update Sanity schema and types for image and file assets
- Introduced new types for `CoverImage` and `VideoCloudinary` in `types.ts`. - Updated `extract.json` to include new asset references and attributes. - Modified `avatar.tsx` to use the `name` for the alt attribute of images. - Cleaned up `pnpm-lock.yaml` by removing unused Cloudinary dependencies. Co-authored-by: builder <builder@miriad.systems>
1 parent a12a15a commit 6ec3fea

File tree

4 files changed

+1266
-1246
lines changed

4 files changed

+1266
-1246
lines changed

components/avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Avatar({
3434
className="w-full h-auto aspect-square rounded-md object-cover"
3535
width={width || 48}
3636
height={height || 48}
37-
alt={coverImage?.alt || ""}
37+
alt={name || ""}
3838
src={imageUrl}
3939
/>
4040
</div>

pnpm-lock.yaml

Lines changed: 0 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)