Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
160 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Image from 'next/image' | ||
import LegacyImage from 'next/legacy/image' | ||
import profilePic from '../public/small.jpg' | ||
|
||
export const config = { | ||
runtime: 'experimental-edge', | ||
} | ||
|
||
function About() { | ||
return ( | ||
<> | ||
<h1>My Homepage</h1> | ||
<Image src={profilePic} alt="Picture of the author" /> | ||
<p>Welcome to my homepage!</p> | ||
</> | ||
) | ||
} | ||
|
||
export default About | ||
|
||
export function AboutFutureImage() { | ||
return <LegacyImage src={profilePic} alt="Picture of the author" /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters