-
Notifications
You must be signed in to change notification settings - Fork 27
Description
On load of the homepage we should select a project from a list of projects ( Using an example list at first ) that selects a item based on the week. That is to say everyone that sees the website will get the same project for a week when it will iterate to the next one.
The display will have the tagline "Featured User", with there project name, PI, Institiution, Field of science and Description listed below that.
Under that we will want 5 cards in one row that are # Jobs Ran, # CPU Hours, # GPU Hours, # OSDF Files, # OSDF Bytes.
You can get all this information by passing the project name to the appropriate function in adstash.mjs. The one thing you will have to merge in is the topology data. That data can be found at the link below, key'd by project name.
https://topology.opensciencegrid.org/miscproject/json
I think you will be able to base this quite closely on the ProjectDisplay.mjs, so I would copy that js and the corresponding html inside the modal and get that working. Then add in the OSDF bits.