Commit 0e08ddfc by jay

.

1 parent dc270946
...@@ -7,7 +7,7 @@ const DoctorOnCall = () => { ...@@ -7,7 +7,7 @@ const DoctorOnCall = () => {
<h1>Hello world</h1> <h1>Hello world</h1>
<span className=""></span> <span className=""></span>
<Image <Image
// priority={true} priority={true}
width="3000px" width="3000px"
height="600px" height="600px"
src="/banner/abu-faqs-d.png" src="/banner/abu-faqs-d.png"
...@@ -17,3 +17,16 @@ const DoctorOnCall = () => { ...@@ -17,3 +17,16 @@ const DoctorOnCall = () => {
}; };
export default DoctorOnCall; export default DoctorOnCall;
// This function gets called at build time
export async function getStaticProps() {
// Call an external API endpoint to get posts
// const res = await fetch('https://.../posts')
// const posts = await res.json()
// By returning { props: { posts } }, the Blog component
// will receive `posts` as a prop at build time
return {
props: {},
};
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!