Skip to content

Commit

Permalink
switch to next image components (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmst authored May 14, 2024
1 parent f87e412 commit 95995bc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Link from 'next/link';
import Image from 'next/image';

export default function Footer() {
return (
Expand All @@ -7,10 +8,12 @@ export default function Footer() {
<div className="row">
<div className="col">
<a href="https://suffolk.edu">
<img
<Image
src="/suffolk_law.png"
alt="Suffolk University Law School"
className="img-fluid mb-2 suffolk-logo"
width={497}
height={70}
/>
</a>
</div>
Expand Down
9 changes: 8 additions & 1 deletion src/app/components/NavigationBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Link from 'next/link';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faLanguage } from '@fortawesome/free-solid-svg-icons';
import Image from 'next/image';

export default function NavigationBar() {
return (
Expand All @@ -10,7 +11,13 @@ export default function NavigationBar() {
>
<div className="container">
<Link href="/" className="navbar-brand d-flex align-items-center">
<img src="/logo-short.png" alt="Logo" className="logo-image me-2" />
<Image
src="/logo-short.png"
width={66.5}
height={40}
alt="Logo"
className="logo-image me-2"
/>
<span id="nav-header-text" className="logo-text">
Court Forms Online
</span>
Expand Down

0 comments on commit 95995bc

Please sign in to comment.