Closed robyngit closed 1 year ago
We'll also need to consider how to show the dataset landing pages
Technically, it is feasible to use a portal as the main content for a theme, allowing repo owners to have direct control over their content through the portal editor. There are some limitations: the search functionality on the main page does not work as expected. When searching for a term entered on the homepage, it redirects to the portal search but does not perform the search with the entered term.
To implement this solution, several changes are needed, including overwriting quite a few CSS rules to maintain the full navbar instead of the minimal navbar typically displayed on portal pages.
Code changes required for an example implementation can be viewed in this comparison: https://github.com/NCEAS/metacatui-themes/compare/prototype-1-sctld-portal-page
A live demo of the SCTLD implementation is available at: http://sctld.test.dataone.org/
Experiment with using a portal as the main content for a theme. This allows the repo owners to have direct control over their content (through the portal editor). We'll need to ensure that there is still access to the button to submit data, and we may also want to keep a link to the "support" page.