Skip to content

Commit cdd0ec0

Browse files
authored
Merge pull request #25 from SahilMak/dev
Dev
2 parents f0f823e + 91d7031 commit cdd0ec0

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules\\typescript\\lib"
3+
}

next.config.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
env: {
4+
NEXT_PUBLIC_FIREBASE_API_KEY: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
5+
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
6+
NEXT_PUBLIC_FIREBASE_PROJECT_ID: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
7+
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET,
8+
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
9+
NEXT_PUBLIC_FIREBASE_APP_ID: process.env.NEXT_PUBLIC_FIREBASE_APP_ID
10+
},
311
images: {
412
unoptimized: true,
513
},
614
output: 'export',
7-
}
15+
};
816

9-
module.exports = nextConfig
17+
module.exports = nextConfig;

src/app/recipes/page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ export default function Recipes() {
4545
src={ recipe.image }
4646
alt={ recipe.name }
4747
placeholder="blur"
48-
quality={75}
48+
height={625}
49+
width={500}
50+
quality={25}
51+
loading="eager"
4952
className={styles.image}
5053
/>
5154
<div className={styles.name}>{ recipe.name }</div>

0 commit comments

Comments
 (0)