Hello, I have a page that contains a list of projects. I want to turn it into a static page instead of having the loader when a request is made to that page since the content doesn't change a lot.
Previously we would use getStaticProps to do so. I'm aware of generateStaticParams however it doesn't seem to be sending the data as props but as dynamic params, and this page has a fixed url.
Current page implementation is as follows:
const ProjectsPage = async () => {
const projects = await getProjects()
return (
<div className="flex flex-col gap-20">
<div className="flex items-center justify-between">
<h1>Projects</h1>
<ProjectsViewType />
</div>
<ProjectsList projects={projects} />
</div>
)
}
export default ProjectsPage