Skip to content

Commit

Permalink
Merge pull request #113 from ssss-sfu/brian/fix-nextjs-14-deployment
Browse files Browse the repository at this point in the history
Fix Next.js 14 deployment
  • Loading branch information
brianrahadi authored Nov 19, 2023
2 parents ac0f3bb + 6d0a4ac commit e5b5baa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 31 deletions.
4 changes: 1 addition & 3 deletions components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export const Footer = () => {
<div className="footer">
<div className="container">
<Link href="/">
<a>
<Logo />
</a>
<Logo />
</Link>
<div className="office-address icon-container">
<div className="gray-backdrop left-icon">
Expand Down
24 changes: 11 additions & 13 deletions components/HeaderNav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export const HeaderNav = () => {
<div className="header-nav">
<div className="container">
<Link href="/">
<a>
<Logo />
</a>
<Logo />
</Link>

<input
Expand All @@ -31,20 +29,20 @@ export const HeaderNav = () => {

<div className="content">
<nav className="pages">
<Link href="/about">
<a className="page-link">About</a>
<Link href="/about" className="page-link">
About
</Link>
<Link href="/events">
<a className="page-link">Events</a>
<Link href="/events" className="page-link">
Events
</Link>
<Link href="/get-involved">
<a className="page-link">Get Involved</a>
<Link href="/get-involved" className="page-link">
Get Involved
</Link>
<Link href="/resources">
<a className="page-link">Resources</a>
<Link href="/resources" className="page-link">
Resources
</Link>
<Link href="/blog">
<a className="page-link">Blog</a>
<Link href="/blog" className="page-link">
Blog
</Link>
</nav>

Expand Down
24 changes: 9 additions & 15 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,17 @@ export default function LandingPage() {
</a>

<section className="discover-ssss__link-items">
<Link href="/events">
<a className="discover-ssss__link-item">
<h3>Events Calendar</h3>
<p>Events</p>
</a>
<Link href="/events" className="discover-ssss__link-item">
<h3>Events Calendar</h3>
<p>Events</p>
</Link>
<Link href="/get-involved">
<a className="discover-ssss__link-item">
<h3>Committees</h3>
<p>Get Involved</p>
</a>
<Link href="/get-involved" className="discover-ssss__link-item">
<h3>Committees</h3>
<p>Get Involved</p>
</Link>
<Link href="/about">
<a className="discover-ssss__link-item">
<h3>Meet the Exec Team</h3>
<p>About Us</p>
</a>
<Link href="/about" className="discover-ssss__link-item">
<h3>Meet the Exec Team</h3>
<p>About Us</p>
</Link>
</section>
</article>
Expand Down

0 comments on commit e5b5baa

Please sign in to comment.