Skip to content

Commit 3b067b9

Browse files
authored
Merge pull request #305 from Web-Dev-Path/chore/release-v1-5-0
chore: Release v1.5.0
2 parents 9f99384 + ff79eeb commit 3b067b9

15 files changed

Lines changed: 817 additions & 2604 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.18.0
1+
22

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
143143
- Resolved `fetchPriority` prop warning in next/image
144144
- Updated sendgridEmail to support@webdevpath.co
145145

146-
## Unreleased
146+
## 1.5.0
147147

148148
### Added
149149

@@ -155,6 +155,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
155155
- Added Oluwatobi to 'about us'
156156
- Updated Satoshi's profile links
157157
- Added Damilola to 'about us'
158+
- Updated Next.js from v15.5.14 to v15.5.19 and other outdated dependencies
159+
- Updated Damilola's profile image format from jpg to webp
160+
- Updated Oluwatobi's profile
161+
- Added `sizes` prop to images with `fill` to improve page performance
162+
- Update supported Node.js version from 20.18.0 to 22
158163

159164
### Fixed
160165

@@ -220,3 +225,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
220225
- Removed unused props from Hero layout component
221226
- Replace sendgrid with mailjet for sending contact email
222227
- Replace mailto:hello@webdevpath.co button links with /contact
228+
- Removed next-pwa implementation
229+
- Removed redundant styledComponents configuration
230+
231+
## Unreleased
232+
233+
### Added
234+
235+
### Fixed
236+
237+
### Changed

components/blog/AuthorBio/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ export default function AuthorBio({ user }) {
88
<h3>Author Bio</h3>
99
<div className={styles['flex-container']}>
1010
<div className={styles['image-wrapper']}>
11-
<Image src={user.profile_image} alt="Author's profile" fill />
11+
<Image
12+
src={user.profile_image}
13+
alt="Author's profile"
14+
fill
15+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
16+
/>
1217
</div>
1318
<div className={styles['split-container']}>
1419
<p>{user.summary}</p>

components/blog/PostContent/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ export default function PostContent({ post }) {
1212
>{`${post.user.name}\u00A0\u00A0\u00A0${publishedDate}`}</p>
1313
{post.cover_image && (
1414
<div className={styles.imageWrapper}>
15-
<Image src={post.cover_image} alt='Blog post cover' fill />
15+
<Image
16+
src={post.cover_image}
17+
alt='Blog post cover'
18+
fill
19+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
20+
/>
1621
</div>
1722
)}
1823
<div className={styles.contentContainer}>

components/containers/Card/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ export function Card({ card, cardType = 'default' }) {
1818
<div className={`${styles.card} ${styles[`card--${cardType}`] || ''}`}>
1919
{image && (
2020
<div className={styles.imageWrapper}>
21-
<Image className={styles.cardImage} src={image} alt={altTag} fill />
21+
<Image
22+
className={styles.cardImage}
23+
src={image}
24+
alt={altTag}
25+
fill
26+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
27+
/>
2228
</div>
2329
)}
2430

components/containers/Member/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ export default function Member({
1414
<div className={styles.card}>
1515
{image && (
1616
<div className={styles.imageWrapper}>
17-
<Image src={image} alt={name} fill />
17+
<Image
18+
src={image}
19+
alt={name}
20+
fill
21+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
22+
/>
1823
</div>
1924
)}
2025

components/containers/TwoColumn/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ export default function TwoColumn({
5252
{secondTextColumn ||
5353
(image && (
5454
<div className={styles.inner__image}>
55-
<Image className={styles.img} src={image} alt={altTag} fill />
55+
<Image
56+
className={styles.img}
57+
src={image}
58+
alt={altTag}
59+
fill
60+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
61+
/>
5662
</div>
5763
))}
5864
</Container>

components/layout/Hero/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default function Hero({
2828
alt={imgAlt}
2929
fill
3030
priority
31+
sizes='(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw'
3132
/>
3233
<Container className={styles.headerContent}>
3334
<div className={styles.headerContentUpper}>

next.config.js

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
const withPWA = require('next-pwa');
2-
3-
module.exports = withPWA({
4-
pwa: {
5-
dest: 'public',
6-
register: true,
7-
skipWaiting: true,
8-
disable: process.env.NODE_ENV === 'development',
9-
},
10-
compiler: {
11-
styledComponents: {
12-
ssr: true,
13-
cssProp: true,
14-
},
15-
},
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
163
i18n: {
174
locales: ['en'],
185
defaultLocale: 'en',
@@ -29,4 +16,6 @@ module.exports = withPWA({
2916
},
3017
],
3118
},
32-
});
19+
};
20+
21+
module.exports = nextConfig;

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-dev-path",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"private": true,
55
"scripts": {
66
"dev": "yarn run open-browser-win && next dev -p 3010",
@@ -19,26 +19,26 @@
1919
]
2020
},
2121
"dependencies": {
22-
"@hookform/resolvers": "^5.2.2",
23-
"@sendgrid/mail": "^8.1.5",
22+
"@hookform/resolvers": "^5.4.0",
23+
"@sendgrid/mail": "^8.1.6",
2424
"html-entities": "^2.3.2",
25-
"next": "^15.5.14",
26-
"next-pwa": "^2.0.2",
25+
"next": "15.5.19",
2726
"node-mailjet": "^6.0.9",
28-
"react": "19.1.0",
29-
"react-dom": "19.1.0",
27+
"react": "19.2.7",
28+
"react-dom": "19.2.7",
3029
"react-google-recaptcha": "^3.1.0",
31-
"react-hook-form": "^7.35.0",
32-
"sass": "^1.35.1",
33-
"swiper": "^12.1.3",
34-
"zod": "^4.3.6"
30+
"react-hook-form": "^7.78.0",
31+
"sass": "^1.100.0",
32+
"swiper": "^12.2.0",
33+
"zod": "^4.4.3"
3534
},
3635
"devDependencies": {
3736
"husky": "^9.1.7",
38-
"lint-staged": "^16.0.0",
39-
"prettier": "^3.5.3",
37+
"lint-staged": "^17.0.7",
38+
"prettier": "^3.8.4",
4039
"prettylint": "^2.0.0",
41-
"webpack": "^5.88.1"
40+
"webpack": "^5.107.2",
41+
"yaml": "^2.9.0"
4242
},
4343
"license": "GPL-3.0",
4444
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"

0 commit comments

Comments
 (0)