Skip to content

Commit 0b8a876

Browse files
committed
fix images
1 parent 2a693b3 commit 0b8a876

10 files changed

+1
-20
lines changed

app/[username]/page.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export default async function Profile({
7070
width={100}
7171
height={100}
7272
className="h-16 w-16 rounded-full bg-white p-2 sm:h-24 sm:w-24"
73-
unoptimized
7473
/>
7574
</div>
7675
<div className="max-w-lg p-4">

app/projects/[slug]/layout.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ export default async function ProjectLayout({
9898
width={100}
9999
height={100}
100100
className="h-16 w-16 rounded-full bg-white p-2 sm:h-24 sm:w-24"
101-
unoptimized
102101
/>
103102
<div className="flex items-center space-x-2 py-2">
104103
<Suspense>

components/layout/sign-in-modal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const SignInModal = ({
2828
className="h-10 w-10 rounded-full"
2929
width={20}
3030
height={20}
31-
unoptimized
3231
/>
3332
</a>
3433
<h3 className="font-display text-2xl font-bold">Sign In</h3>

components/layout/user-dropdown.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export default function UserDropdown({ session }: { session: Session }) {
5555
src={image || `https://avatars.dicebear.com/api/micah/${email}.svg`}
5656
width={40}
5757
height={40}
58-
unoptimized
5958
/>
6059
</button>
6160
</Popover>

components/projects/edit-project-modal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const EditProjectModal = ({
3333
className="h-10 w-10 rounded-full"
3434
width={20}
3535
height={20}
36-
unoptimized
3736
/>
3837
<h3 className="font-display text-xl font-bold">Edit Project</h3>
3938
</div>

components/projects/edit-team-modal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const EditTeamModal = ({
3030
className="h-10 w-10 rounded-full"
3131
width={20}
3232
height={20}
33-
unoptimized
3433
/>
3534
<h3 className="font-display text-xl font-bold">Edit Team</h3>
3635
</div>

components/projects/project-card.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export default function ProjectCard(project: Project) {
2424
width={100}
2525
height={100}
2626
className="h-16 w-16 rounded-full bg-white p-2"
27-
unoptimized
2827
/>
2928
<div className={buttonLinkVariants({ variant: "secondary" })}>
3029
<Star className="h-4 w-4" />

components/projects/project-contribs.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export function Contrib({ info }: { info: ContribInfo }) {
7272
width={48}
7373
height={48}
7474
className="rounded-full"
75-
unoptimized
7675
/>
7776
</motion.div>
7877
<motion.div

components/projects/submit-project-modal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const SubmitProjectModal = ({
2828
className="h-10 w-10 rounded-full"
2929
width={20}
3030
height={20}
31-
unoptimized
3231
/>
3332
<h3 className="font-display text-xl font-bold">Submit a new project</h3>
3433
<p className="text-sm text-gray-500">

next.config.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,7 @@ const nextConfig = {
66
ppr: true,
77
},
88
images: {
9-
remotePatterns: [
10-
{
11-
hostname: "assets.dub.co",
12-
},
13-
{
14-
hostname: "avatars.githubusercontent.com",
15-
},
16-
{
17-
hostname: "o41lbhvmufhkidta.public.blob.vercel-storage.com",
18-
},
19-
],
9+
unoptimized: true,
2010
},
2111
async redirects() {
2212
return [

0 commit comments

Comments
 (0)