Skip to content

Commit 0989871

Browse files
committed
Fix warnings
1 parent 3375c6f commit 0989871

File tree

54 files changed

+40
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+40
-72
lines changed

src/app/events/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export default async function Page() {
8282
tier.sponsors.map((supporter) => (
8383
<li key={supporter.id} data-id={supporter.id}>
8484
<a href={supporter.websiteUrl || supporter.url}>
85+
{/* eslint-disable-next-line @next/next/no-img-element */}
8586
<img
8687
src={supporter.avatarUrl_80}
8788
alt=""
@@ -113,7 +114,7 @@ export default async function Page() {
113114
)}
114115
</ul>
115116
<div className="text-right text-muted">
116-
<a href="/sponsorship">Sponsor Virtual Coffee</a>
117+
<Link href="/sponsorship">Sponsor Virtual Coffee</Link>
117118
</div>
118119
</div>
119120
)}

src/app/monthlychallenges/(challenges)/apr-2021/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import UndrawIllustration from '@/components/UndrawIllustration';
2-
3-
import { createMetaData } from '@/util/createMetaData.server';
2+
import Link from 'next/link';
43

54
const handle = {
65
listTitle: 'April, 2021: Community Kindness!',
@@ -22,7 +21,7 @@ export default function Challenge() {
2221
<>
2322
<div className="alert alert-success">
2423
This monthly challenge is complete. Congratulations! Please join us for
25-
the <a href="/monthlychallenges/">next challenge</a>!
24+
the <Link href="/monthlychallenges/">next challenge</Link>!
2625
</div>
2726

2827
<div className="row align-items-center">

src/app/monthlychallenges/(challenges)/apr-2022/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
2-
31
const handle = {
42
listTitle:
53
'April, 2022: Get job ready! Resumes, Portfolios, Cover Letters, and Elevator Pitch',

src/app/monthlychallenges/(challenges)/apr-2024/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
21
import Link from 'next/link';
32

43
const handle = {

src/app/monthlychallenges/(challenges)/aug-2021/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
1+
import Link from 'next/link';
22

33
const handle = {
44
listTitle: 'August, 2021: Healthy Habits for Healthy Devs',
@@ -21,7 +21,7 @@ export default function Challenge() {
2121
<>
2222
<div className="alert alert-success">
2323
This monthly challenge is complete. Congratulations! Please join us for
24-
the <a href="/monthlychallenges/oct-2021/">next challenge</a>!
24+
the <Link href="/monthlychallenges/oct-2021/">next challenge</Link>!
2525
</div>
2626

2727
<h1>

src/app/monthlychallenges/(challenges)/aug-2022/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
2-
31
const handle = {
42
listTitle: 'August, 2022: Healthy Habits for Happy Devs',
53
meta: {

src/app/monthlychallenges/(challenges)/aug-2024/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
21
import Link from 'next/link';
32

43
const handle = {

src/app/monthlychallenges/(challenges)/aug-2025/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
21
import Link from 'next/link';
32

43
const handle = {

src/app/monthlychallenges/(challenges)/dec-2020/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
1+
import Link from 'next/link';
22
import challengeJson from './dec-2020.json';
33

44
const handle = {
@@ -21,7 +21,7 @@ export default function Challenge() {
2121

2222
const totals: Record<string, number> = {};
2323

24-
list.forEach((challenge, i) => {
24+
list.forEach((challenge) => {
2525
challenge.participants.forEach((p) => {
2626
if (p in totals) {
2727
totals[p] = totals[p] + 1;
@@ -35,7 +35,7 @@ export default function Challenge() {
3535
<>
3636
<div className="alert alert-success">
3737
This monthly challenge is complete. Congratulations! Please join us for
38-
the <a href="/monthlychallenges/">next challenge</a>!
38+
the <Link href="/monthlychallenges/">next challenge</Link>!
3939
</div>
4040

4141
<h1>

src/app/monthlychallenges/(challenges)/dec-2021/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createMetaData } from '@/util/createMetaData.server';
1+
import Link from 'next/link';
22

33
const handle = {
44
listTitle: 'December, 2021: Creative Community Challenge',
@@ -21,7 +21,7 @@ export default function Challenge() {
2121
<>
2222
<div className="alert alert-success">
2323
This monthly challenge is complete. Congratulations! Please join us for
24-
the <a href="/monthlychallenges/">next challenge</a>!
24+
the <Link href="/monthlychallenges/">next challenge</Link>!
2525
</div>
2626

2727
<h1>

0 commit comments

Comments
 (0)