Commit graph

181 commits

Author SHA1 Message Date
Team1280Programming
1e5b55a83d style: format 2024-02-20 15:59:32 -08:00
387866881c chore: update padding for different screen sizes in various components 2024-02-20 15:59:32 -08:00
83d81f3340 fix: make all documents the same height in gallery view 2024-02-20 15:59:32 -08:00
3f4b6c1b9f fix: add right margin to grid container in topics, authors, and affiliations sections
The changes were made to add a right margin to the grid container in the topics, authors, and affiliations sections. This was done to improve the spacing and layout of the items within the grid.
2024-02-20 15:59:32 -08:00
65c6545e3a style: adjust margins and heights in News component
The changes were made to adjust the margins and heights in the News component.
2024-02-20 15:50:36 -08:00
Team 1280 Programming Laptop
8f781c89e9
chore: add news announcement for eeXiv v2 (#27)
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 14:13:15 -08:00
2b20ec7879 feat: add additional links to the navigation menu
- Added link to "Published authors"
- Added link to "Latest documents"
- Added link to "Document topics"
2024-02-19 13:58:28 -08:00
Team 1280 Programming Laptop
65fac30dd3
feat: add topic cards to display topics on the page (#23)
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 13:52:53 -08:00
Team 1280 Programming Laptop
409de455f2
feat: sort documents by latest date on the Page component (#22)
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 13:50:37 -08:00
Team 1280 Programming Laptop
8a10f9a9bf
feat: sort authors by the number of documents they have and update rendering of author cards accordingly (#21)
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 13:47:31 -08:00
Team1280Programming
934cff02b1 style: format 2024-02-19 13:43:42 -08:00
9b3d127ef0 feat: add sorting of affiliations based on research output
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.
2024-02-19 13:43:42 -08:00
d651fc58e0 chore: remove unnecessary comments and unused imports in DocumentWithSlug interface 2024-02-19 13:43:42 -08:00
Team1280Programming
25dac2bd09 style: format 2024-02-19 13:40:36 -08:00
b7f24b8fac chore: update descriptions, images, and websites for profiles
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.
2024-02-19 13:40:36 -08:00
099c326a54 fix: reorder DOIs in document db 2024-02-19 13:40:36 -08:00
Ananth Venkatesh
ec3081fa10
chore: update styling and add link to affiliation page (#13)
Co-authored-by: quantum9Innovation <quantum9Innovation@users.noreply.github.com>
Co-authored-by: Youwen Wu <38934577+couscousdude@users.noreply.github.com>
Co-authored-by: couscousdude <couscousdude@users.noreply.github.com>
Co-authored-by: Team 1280 Programming Laptop <59985235+Team1280Programming@users.noreply.github.com>
Co-authored-by: Team 1280 Programming <sanramonvalleyrobotics@gmail.com>
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 13:31:31 -08:00
Team 1280 Programming Laptop
12ca81cd68
Only style on pull request (#25)
Co-authored-by: GitButler <gitbutler@gitbutler.com>
Co-authored-by: Team1280Programming <Team1280Programming@users.noreply.github.com>
2024-02-19 13:28:46 -08:00
q9i
c998d61472 chore: auto organize imports in client codebase
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.
2024-02-19 11:07:48 -08:00
q9i
8b6a8f8abf chore: enforce authoritarian import ordering
Some random VSC prompt allows me to do this, still have no idea how to automate or reproduce this behavior
2024-02-19 11:07:48 -08:00
q9i
aed6bf88f5 fix: update heading text from "Affiliations" to "Authors" 2024-02-19 11:06:11 -08:00
q9i
11aacc6852 chore: remove unused generateStaticParams function 2024-02-19 11:06:11 -08:00
q9i
354d5b2b91 feat: add author list page
- 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.
2024-02-19 11:06:11 -08:00
quantum9Innovation
37128f52c0 style: format 2024-02-19 11:05:35 -08:00
q9i
0ef0844265 feat: add DocumentCardWrapper component to display document cards on the Documents page
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.
2024-02-19 11:05:35 -08:00
q9i
5c5be6397b feat: add DOI for abstracts in manifest files
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.
2024-02-19 11:05:08 -08:00
q9i
037b4023dd fix: add missing closing tag for DOI link and move citation display after DOI display 2024-02-19 11:05:08 -08:00
quantum9Innovation
2f1d4fec8b style: format 2024-02-17 22:56:26 +00:00
q9i
0443604d04 chore: fix all the errors
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.
2024-02-17 14:54:14 -08:00
q9i
e849317595 chore: remove duplicate height property from .footerContent in CSS 2024-02-17 13:02:16 -08:00
q9i
b87bbb80ad chore: fix typo in CSS comment 2024-02-17 12:57:55 -08:00
q9i
7152dfb051 style: update LoadingBar component background color to blue 2024-02-17 12:54:07 -08:00
Ananth Venkatesh
103f571395
Add more DOIs 2024-02-16 15:18:48 -08:00
Ananth Venkatesh
ece9451c7b
Use universal version DOIs 2024-02-16 15:11:04 -08:00
Ananth Venkatesh
27b2a905ad
Fix data for eeXiv:86woofdvzw15 2024-02-16 15:06:31 -08:00
Ananth Venkatesh
38cd4392c6 Fix Sonarlint errors on new WIP affiliations page 2024-02-16 22:44:06 +00:00
Ananth Venkatesh
af311c762e Partially revamp affiliations 2024-02-16 22:44:06 +00:00
quantum9Innovation
f7d3ec9a2e style: format 2024-02-16 22:25:13 +00:00
Ananth Venkatesh
17361b092a Show related affiliation documents 2024-02-16 22:24:38 +00:00
quantum9Innovation
8501d13827 style: format 2024-02-16 21:45:07 +00:00
Ananth Venkatesh
0205590b9f Show QR codes are toasts 2024-02-16 21:44:35 +00:00
bcf0a38b4e Merge branch 'main' of github.com:Team-1280/eeXiv 2024-02-16 12:29:13 -08:00
6649d36ee6 update ayaan 2024-02-16 12:29:02 -08:00
Ananth Venkatesh
3be2baf146 Hopfeully make both Prettier and Sonarlint happy 2024-02-16 20:13:23 +00:00
quantum9Innovation
4c132d6caa style: format 2024-02-16 20:11:31 +00:00
Ananth Venkatesh
2c1f2ff882 Automatically redirect on sole result 2024-02-16 20:10:45 +00:00
Ananth Venkatesh
a55c587e5b Fix sonarlint issues in news 2024-02-16 20:05:59 +00:00
3c83c89a6b Merge branch 'main' of github.com:Team-1280/eeXiv 2024-02-16 12:04:02 -08:00
2540288aa0 add ayaan 2024-02-16 12:03:27 -08:00
Ananth Venkatesh
2fc1a2c803 Hide QR codes on mobile 2024-02-16 19:53:48 +00:00