celeroncoder / celeroncoder/gdsc_task_round_2023-24

React Review Audit

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Score: 96/100** · 5 errors · 20 warnings

Copy as prompt

```text
Fix the following React Review diagnostics in my codebase.

## Errors (5)

1. [error] alt-text — components/header.tsx:29
Missing `alt` attribute.

2. [error] alt-text — components/header.tsx:32
Missing `alt` attribute.

3. [error] alt-text — app/page.tsx:65
Missing `alt` attribute.

4. [error] alt-text — app/page.tsx:83
Missing `alt` attribute.

5. [error] alt-text — app/page.tsx:101
Missing `alt` attribute.

## Warnings (20)

6. [warning] design-no-redundant-size-axes — components/header.tsx:7
w-10 h-10 → use the shorthand size-10 (Tailwind v3.4+)

7. [warning] design-no-redundant-size-axes — components/header.tsx:19
w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

8. [warning] design-no-redundant-size-axes — components/header.tsx:24
w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

9. [warning] nextjs-no-img-element — components/header.tsx:29
Use next/image instead of — provides automatic optimization, lazy loading, and responsive srcset

10. [warning] design-no-redundant-size-axes — components/header.tsx:29
w-10 h-10 → use the shorthand size-10 (Tailwind v3.4+)

11. [warning] nextjs-no-img-element — components/header.tsx:32
Use next/image instead of — provides automatic optimization, lazy loading, and responsive srcset

12. [warning] design-no-redundant-size-axes — components/header.tsx:32
w-10 h-10 → use the shorthand size-10 (Tailwind v3.4+)

13. [warning] nextjs-missing-metadata — app/page.tsx:1
Page without metadata or generateMetadata export — hurts SEO

14. [warning] design-no-redundant-size-axes — app/page.tsx:28
w-4 h-4 → use the shorthand size-4 (Tailwind v3.4+)

15. [warning] design-no-redundant-size-axes — app/page.tsx:34
w-6 h-6 → use the shorthand size-6 (Tailwind v3.4+)

16. [warning] design-no-redundant-size-axes — app/page.tsx:42
w-2 h-2 → use the shorthand size-2 (Tailwind v3.4+)

17. [warning] design-no-redundant-size-axes — app/page.tsx:63
w-3 h-3 → use the shorthand size-3 (Tailwind v3.4+)

18. [warning] nextjs-no-img-element — app/page.tsx:65
Use next/image instead of — provides automatic optimization, lazy loading, and responsive srcset

19. [warning] design-no-redundant-size-axes — app/page.tsx:65
w-48 h-48 → use the shorthand size-48 (Tailwind v3.4+)

20. [warning] design-no-redundant-size-axes — app/page.tsx:81
w-3 h-3 → use the shorthand size-3 (Tailwind v3.4+)

21. [warning] nextjs-no-img-element — app/page.tsx:83
Use next/image instead of — provides automatic optimization, lazy loading, and responsive srcset

22. [warning] design-no-redundant-size-axes — app/page.tsx:83
w-48 h-48 → use the shorthand size-48 (Tailwind v3.4+)

23. [warning] design-no-redundant-size-axes — app/page.tsx:99
w-3 h-3 → use the shorthand size-3 (Tailwind v3.4+)

24. [warning] nextjs-no-img-element — app/page.tsx:101
Use next/image instead of — provides automatic optimization, lazy loading, and responsive srcset

25. [warning] design-no-redundant-size-axes — app/page.tsx:101
w-48 h-48 → use the shorthand size-48 (Tailwind v3.4+)
```

---

### ❌ Errors (5)

**`alt-text`**

Missing `alt` attribute.

> Must have `alt` prop, either with meaningful text, or an empty string for decorative images.

[`components/header.tsx:29`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L29)
[`components/header.tsx:32`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L32)
[`app/page.tsx:65`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L65)
[`app/page.tsx:83`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L83)
[`app/page.tsx:101`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L101)

---

### ⚠️ Warnings (20)

**`design-no-redundant-size-axes`**

w-10 h-10 → use the shorthand size-10 (Tailwind v3.4+)

> Collapse `w-N h-N` to `size-N` (Tailwind v3.4+) when both axes match

[`components/header.tsx:7`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L7)
[`components/header.tsx:19`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L19)
[`components/header.tsx:24`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L24)
[`components/header.tsx:29`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L29)
[`components/header.tsx:32`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L32)
[`app/page.tsx:28`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L28)
[`app/page.tsx:34`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L34)
[`app/page.tsx:42`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L42)
[`app/page.tsx:63`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L63)
[`app/page.tsx:65`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L65)
[`app/page.tsx:81`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L81)
[`app/page.tsx:83`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L83)
[`app/page.tsx:99`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L99)
[`app/page.tsx:101`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L101)

**`nextjs-no-img-element`**

Use next/image instead of <img> — provides automatic optimization, lazy loading, and responsive srcset

> `import Image from 'next/image'` — provides automatic WebP/AVIF, lazy loading, and responsive srcset

[`components/header.tsx:29`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L29)
[`components/header.tsx:32`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/components/header.tsx#L32)
[`app/page.tsx:65`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L65)
[`app/page.tsx:83`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L83)
[`app/page.tsx:101`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L101)

**`nextjs-missing-metadata`**

Page without metadata or generateMetadata export — hurts SEO

> Add `export const metadata = { title: '...', description: '...' }` or `export async function generateMetadata()`

[`app/page.tsx:1`](https://github.com/celeroncoder/gdsc_task_round_2023-24/blob/367ab3d018840e64fbb435c042e353518704def9/app/page.tsx#L1)

---

Last scored May 14, 2026 at 9:39 AM UTC. Maintained by [React Review](https://github.com/millionco/react-review).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.