diff --git a/app_data/communities.yaml b/app_data/communities.yaml index 01c6967c..8c380e5a 100644 --- a/app_data/communities.yaml +++ b/app_data/communities.yaml @@ -29,6 +29,37 @@ family: "Arial, sans-serif" weight: 600 logo: "ecfunded.png" +- slug: nih + metadata: + title: "National Institutes of Health (Pilot)" + description: "Open repository for NIH-funded research outputs." + website: "https://www.nih.gov/" + type: + id: "organization" + access: + visibility: "public" + members_visibility: "restricted" + member_policy: "open" + record_policy: "open" + review_policy: "closed" + children: + allow: true + theme: + brand: "nih" + enabled: true + style: + primaryColor: "#20558a" + tertiaryColor: "#3678b3" + secondaryColor: "#0a8484" + primaryTextColor: "#FFFFFF" + tertiaryTextColor: "#FFFFFF" + secondaryTextColor: "#FFFFFF" + mainHeaderBackgroundColor: "#FFFFFF" + font: + size: "16px" + family: "Arial, sans-serif" + weight: 600 + logo: "nih.png" - slug: horizon-zen metadata: title: "HORIZON-ZEN" diff --git a/app_data/img/nih.png b/app_data/img/nih.png new file mode 100644 index 00000000..a4928a3c Binary files /dev/null and b/app_data/img/nih.png differ diff --git a/templates/themes/nih/invenio_app_rdm/footer.html b/templates/themes/nih/invenio_app_rdm/footer.html new file mode 100644 index 00000000..15199cfa --- /dev/null +++ b/templates/themes/nih/invenio_app_rdm/footer.html @@ -0,0 +1,52 @@ +{# + + Copyright (C) 2024 CERN. + + Invenio App RDM is free software; you can redistribute it and/or modify it + under the terms of the MIT License; see LICENSE file for more details. +#} + +
diff --git a/templates/themes/nih/invenio_app_rdm/site_footer.html b/templates/themes/nih/invenio_app_rdm/site_footer.html new file mode 100644 index 00000000..c550b463 --- /dev/null +++ b/templates/themes/nih/invenio_app_rdm/site_footer.html @@ -0,0 +1,50 @@ +{# + -*- coding: utf-8 -*- + Copyright (C) 2023-2024 CERN. + + Invenio App RDM is free software; you can redistribute it and/or modify it + under the terms of the MIT License; see LICENSE file for more details. +#} + + diff --git a/templates/themes/nih/invenio_communities/details/header.html b/templates/themes/nih/invenio_communities/details/header.html new file mode 100644 index 00000000..956dd0a3 --- /dev/null +++ b/templates/themes/nih/invenio_communities/details/header.html @@ -0,0 +1,138 @@ +{# -*- coding: utf-8 -*- + +This file is part of Invenio. +Copyright (C) 2024 CERN. + +Invenio is free software; you can redistribute it and/or modify it +under the terms of the MIT License; see LICENSE file for more details. +#} + +{%- from "invenio_theme/macros/truncate.html" import truncate_text %} +{%- from "invenio_communities/details/macros/access-status-label.html" import access_status_label -%} + + diff --git a/templates/themes/nih/invenio_communities/details/home/index.html b/templates/themes/nih/invenio_communities/details/home/index.html new file mode 100644 index 00000000..ec47afea --- /dev/null +++ b/templates/themes/nih/invenio_communities/details/home/index.html @@ -0,0 +1,271 @@ +{# -*- coding: utf-8 -*- + + This file is part of Invenio. + Copyright (C) 2024 CERN. + + Invenio is free software; you can redistribute it and/or modify it + under the terms of the MIT License; see LICENSE file for more details. + #} + + {% extends "invenio_communities/details/base.html" %} + {% from "zenodo_rdm/macros/record_item.html" import record_item %} + + {%- set title = community.metadata.title -%} + {% set active_community_header_menu_item = 'home' %} + + + {%- block page_body %} + {{ super() }} +{{ _("Access research outputs from NIH-funded projects, advancing health discovery and innovation") }}
+