This commit adds a sorting functionality to the `getAffiliations` function. The function now calculates the number of documents associated with each affiliation and sorts the affiliations in descending order based on the number of documents. This allows for a more meaningful representation of affiliations based on their research output.
The descriptions, images, and websites for several profiles have been updated. The descriptions now provide more comprehensive information about the fields of study and affiliations of the individuals. The images have been replaced with more recent ones. Additionally, websites have been added for some profiles to provide further information about their work and background.
The import statements in multiple files have been organized to improve code readability and maintainability. This was done using the `prettier-plugin-organize-imports` plugin.
- Added a new function `generateStaticParams()` to generate static parameters for each author.
- Created a new component `AuthorCard` to display information about an author.
- Updated the `Page` component to render a grid of `AuthorCard` components for each author.
- Added styling for the author cards using CSS modules.
The DocumentCardWrapper component takes in a shortName parameter and renders a DocumentCard component for the corresponding document. If the document does not exist, a 404 page is displayed. The DocumentCardWrapper component is used in the Page component to render a grid of document cards.
The manifest files in the client/cmd/login.go file have been updated to include a DOI for the abstracts. This DOI provides a unique identifier for each abstract and allows for easier referencing and tracking of the content.
Sonarlint, ESLint, you name it; it's fixed
AI summary of some changes:
feat: update image handling and optimization in Next.js
The changes in this commit update the handling and optimization of images in Next.js.
- The `Image` component from the `next/image` package is now used instead of the regular `img` tag. This allows for better handling and optimization of images in Next.js applications.
- The `unoptimized` property in the `nextConfig` object is set to `false`, which means that images will be optimized by default. This improves the performance and loading speed of the application.
- The `remotePatterns` property in the `nextConfig` object is added to specify remote patterns for image optimization. This allows for more control over which images should be optimized and which should not.
These changes were made to enhance the performance and user experience of the application by optimizing the handling of images.