Skip to content

Commit

Permalink
Better image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcginnes committed Feb 4, 2024
1 parent a34b436 commit a90fc79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ import {
VSCodeIcon,
XcodeIcon,
} from "./icons"
import profilePic from "./../../public/profile.jpg"

export default function HomePage() {
return (
<main className="py-page flex flex-col gap-6 sm:gap-10 print:gap-8 print:py-0">
<section>
<div className="flex items-center gap-4">
<Image
src="/profile.jpg"
src={profilePic}
alt="Profile"
className="h-24 w-24 flex-shrink-0 rounded-full border-2 border-white print:border-0"
height="256"
width="256"
priority
/>
<div className="space-y-4">
<div>
Expand Down

0 comments on commit a90fc79

Please sign in to comment.