Skip to content

Commit a272468

Browse files
authored
36 implement changes for release (#37)
* Update images remote patterns for next config * Update middleware matcher * Revert middleware matcher * Rename photo files * Rename photos again * Move photos to images folder
1 parent 02d5bed commit a272468

File tree

7 files changed

+19
-6
lines changed

7 files changed

+19
-6
lines changed

next.config.mjs

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {};
2+
const nextConfig = {
3+
images: {
4+
remotePatterns: [
5+
{
6+
protocol: "https",
7+
hostname: "*.com",
8+
},
9+
{
10+
protocol: "https",
11+
hostname: "*.org",
12+
},
13+
],
14+
},
15+
};
316

417
export default nextConfig;
File renamed without changes.
File renamed without changes.

src/app/(welcome)/welcome/page.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default async function WelcomePage() {
5959
<CardHeader className="justify-center bg-neutral-500 bg-opacity-10">
6060
<Image
6161
className="shadow-lg"
62-
src="/sussed-new-project.png"
62+
src="/images/sussed-new-project.PNG"
6363
width={650}
6464
height={650}
6565
alt={"New Project"}
@@ -73,7 +73,7 @@ export default async function WelcomePage() {
7373
<CardHeader className="justify-center bg-neutral-500 bg-opacity-10">
7474
<Image
7575
className="shadow-lg"
76-
src="/sussed-new-campaign.png"
76+
src="/images/sussed-new-campaign.PNG"
7777
width={650}
7878
height={650}
7979
alt={"New Campaign"}
@@ -86,7 +86,7 @@ export default async function WelcomePage() {
8686
<CardHeader className="justify-center bg-neutral-500 bg-opacity-10">
8787
<Image
8888
className="shadow-lg"
89-
src="/sussed-new-invitation.png"
89+
src="/images/sussed-new-invitation.PNG"
9090
width={650}
9191
height={650}
9292
alt={"New Invitation"}
@@ -115,7 +115,7 @@ export default async function WelcomePage() {
115115
<Card>
116116
<CardHeader className="justify-center">
117117
<Image
118-
src="/sussed-sus-score.png"
118+
src="/images/sussed-sus-score.PNG"
119119
width={500}
120120
height={500}
121121
alt={"Sus Score"}

src/middleware.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const { auth: middleware } = NextAuth(authConfig);
77
// Read more: https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
88
export const config = {
99
matcher: [
10-
"/((?!api|_next/static|_next/image|favicon.ico|projects|welcome|examples).*)",
10+
"/((?!api|_next/static|_next/image|images|favicon.ico|projects|welcome|examples).*)",
1111
"/projects/new",
1212
],
1313
};

0 commit comments

Comments
 (0)