Skip to content

Commit 3e45225

Browse files
Merge pull request #147 from Web-Dev-Path/chore/release-1.2.0
Release 1.2.0
2 parents 403039b + 7a6c07e commit 3e45225

File tree

15 files changed

+192
-191
lines changed

15 files changed

+192
-191
lines changed

.DS_Store

-6 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4040
- updated `package.json` commands for macOs
4141
- swipeable CardsColumns.js on mobile
4242

43-
## Unreleased
43+
## 1.2.0
4444

4545
### Added
4646

@@ -57,6 +57,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5757
- still got questions section to about page
5858
- Contact us cards section to contact page
5959
- Linkedin link to footer
60+
- Next.js 13
6061

6162
### Fixed
6263

@@ -77,3 +78,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7778
- next.js warning - no stylesheets in head component
7879
- CardColumns refactoring to accept an array of card objects as props
7980
- styles on newsletter button and contact page
81+
82+
## Unreleased
83+
84+
### Added
85+
86+
### Fixed

components/containers/Card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Image from 'next/image';
1+
import Image from 'next/legacy/image';
22
import Link from 'next/link';
33
import styles from '@/styles/Card.module.scss';
44

components/containers/Member.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Image from 'next/image';
1+
import Image from 'next/legacy/image';
22
import styles from '@/styles/Member.module.scss';
33

44
export default function Member({

components/containers/TwoColumn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Image from 'next/image';
1+
import Image from 'next/legacy/image';
22
import ButtonLink from '@/components/buttons/ButtonLink';
33
import Container from '@/components/containers/Container';
44
import styles from '@/styles/TwoColumn.module.scss';

components/layout/Footer.js

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
1-
import Link from 'next/link';
21
import footerStyles from '@/styles/Footer.module.scss';
32
import { linksNav, linksSocial } from '@/utils/links';
43
import NewsletterSubscribe from '@/components/mailchimp/NewsletterSubscribe';
5-
import Image from 'next/image';
4+
import Image from 'next/legacy/image';
65
import Container from '@/components/containers/Container';
76

87
export default function Footer() {
98
return (
109
<footer className={footerStyles.footer}>
1110
<NewsletterSubscribe />
1211
<Container customClass={footerStyles.footer__inner}>
13-
<Link href='/'>
14-
<a className={footerStyles.footer__logo} title='Go to the Homepage'>
15-
<Image
16-
src='/images/svg/logo.svg'
17-
height={250}
18-
width={250}
19-
alt='Our footer logo'
20-
/>
21-
</a>
22-
</Link>
12+
<a
13+
href='/'
14+
className={footerStyles.footer__logo}
15+
title='Go to the Homepage'
16+
>
17+
<Image
18+
src='/images/svg/logo.svg'
19+
height={250}
20+
width={250}
21+
alt='Our footer logo'
22+
/>
23+
</a>
2324
<div className={footerStyles.footer__navSocialsDiv}>
2425
<nav className={footerStyles.footer__nav} aria-label='Main'>
2526
<ul className={footerStyles.footer__navList}>
2627
{linksNav.map(link => (
2728
<li className={footerStyles.footer__navItem} key={link.text}>
28-
<Link href={link.href}>
29-
<a title={link.text}>{link.text}</a>
30-
</Link>
29+
<a href={link.href} title={link.text}>
30+
{link.text}
31+
</a>
3132
</li>
3233
))}
3334
</ul>
@@ -41,17 +42,15 @@ export default function Footer() {
4142
className={footerStyles.footer__socialItem}
4243
key={link.text}
4344
>
44-
<Link href={link.href}>
45-
<a title={link.text} target='_blank'>
46-
<Image
47-
href={link.href}
48-
src={link.src}
49-
height={65}
50-
width={47}
51-
alt={link.alt}
52-
/>
53-
</a>
54-
</Link>
45+
<a href={link.href} title={link.text} target='_blank'>
46+
<Image
47+
href={link.href}
48+
src={link.src}
49+
height={65}
50+
width={47}
51+
alt={link.alt}
52+
/>
53+
</a>
5554
</li>
5655
))}
5756
</ul>

components/layout/Hero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState } from 'react';
2-
import Image from 'next/image';
2+
import Image from 'next/legacy/image';
33
import Nav from '@/components/layout/Nav';
44
import Container from '@/components/containers/Container';
55
import styles from '@/styles/Hero.module.scss';

components/layout/Nav.js

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useState, useEffect, useRef } from 'react';
2-
import Link from 'next/link';
3-
import Image from 'next/image';
2+
import Image from 'next/legacy/image';
43
import { useRouter } from 'next/router';
54
import Container from '@/components/containers/Container';
65
import styles from '@/styles/Nav.module.scss';
@@ -57,48 +56,44 @@ export default function Nav() {
5756
<div ref={containerRef}>
5857
<nav className={styles.nav}>
5958
<div className={styles.nav__logo}>
60-
<Link href='/' passHref>
61-
<a>
62-
<Image
63-
src='/images/svg/logo.svg'
64-
height={115}
65-
width={180}
66-
alt='Logo'
67-
title='Go to the Homepage'
68-
/>
69-
</a>
70-
</Link>
59+
<a href='/' passhref='true'>
60+
<Image
61+
src='/images/svg/logo.svg'
62+
height={115}
63+
width={180}
64+
alt='Logo'
65+
title='Go to the Homepage'
66+
/>
67+
</a>
7168
</div>
7269
<ul
7370
className={`${styles.nav__links} ${active ? styles.active : ''}`}
7471
>
7572
{linksNav.map(({ text, href, id }) => {
7673
return (
7774
<li className={styles.nav__item} key={id}>
78-
<Link href={href}>
79-
<a
80-
className={`${styles.nav__link} ${
81-
router.pathname == href ? `${styles.current}` : ''
82-
}`}
83-
title={text}
84-
>
85-
{text}
86-
</a>
87-
</Link>
75+
<a
76+
href={href}
77+
className={`${styles.nav__link} ${
78+
router.pathname == href ? `${styles.current}` : ''
79+
}`}
80+
title={text}
81+
>
82+
{text}
83+
</a>
8884
</li>
8985
);
9086
})}
9187
<li className={styles.nav__item}>
92-
<Link href='mailto:[email protected]?subject=Project collaborator application'>
93-
<a
94-
className={`${styles.nav__button} ${
95-
active ? styles.active : ''
96-
}`}
97-
title='Join us'
98-
>
99-
Join us
100-
</a>
101-
</Link>
88+
<a
89+
href='mailto:[email protected]?subject=Project collaborator application'
90+
className={`${styles.nav__button} ${
91+
active ? styles.active : ''
92+
}`}
93+
title='Join us'
94+
>
95+
Join us
96+
</a>
10297
</li>
10398
</ul>
10499
<button

components/mailchimp/NewsletterForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createRef, useState } from 'react';
2-
import Image from 'next/image';
2+
import Image from 'next/legacy/image';
33
import { decode } from 'html-entities';
44
import ReCAPTCHA from 'react-google-recaptcha';
55
import Container from '@/components/containers/Container';

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-dev-path",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"private": true,
55
"scripts": {
66
"dev": "yarn run open-browser-win && next dev -p 3010",
@@ -21,7 +21,7 @@
2121
"dependencies": {
2222
"@sendgrid/mail": "^7.7.0",
2323
"html-entities": "^2.3.2",
24-
"next": "^12.2.2",
24+
"next": "^13.0.5",
2525
"next-pwa": "^5.5.4",
2626
"react": "^18.2.0",
2727
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)