Skip to content

Commit

Permalink
Add Community Impact Page (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpita0911patel authored Oct 25, 2024
2 parents 594583d + c538d88 commit 9360561
Show file tree
Hide file tree
Showing 22 changed files with 622 additions and 68 deletions.
1 change: 1 addition & 0 deletions blog/2023-10-30-NGIAB-Updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ authors:

tags: [nextgen]
hide_table_of_contents: false
image: https://github.com/CIROH-UA/NGIAB-CloudInfra/raw/main/image/README/ngiab.png
---

We've introduced a fresh addition within the NGIAB, offering the most up-to-date insights on NGIAB and NextGen monthly updates.
Expand Down
1 change: 1 addition & 0 deletions blog/2023-10-30-NextGen-Forcings.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors:
- name: Jordan Laser
url: https://github.com/orgs/CIROH-UA/people/JordanLaserGit
image_url: https://avatars.githubusercontent.com/u/79336055?v=4
image: https://github.com/CIROH-UA/ngen-datastream/raw/main/docs/gifs/T2D_2_TMP_2maboveground_cali.gif
tags: [nextgen]
hide_table_of_contents: false
---
Expand Down
1 change: 1 addition & 0 deletions blog/2023-11-30-NGIAB-Updates-All.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ authors:

tags: [nextgen]
hide_table_of_contents: false
image: https://github.com/CIROH-UA/NGIAB-CloudInfra/raw/main/image/README/ngiab.png
---

We've release NGIAB v1.1.0! This release fixes issues:
Expand Down
2 changes: 1 addition & 1 deletion blog/2023-11-30-NextGen-Update-Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors:
url: https://github.com/orgs/CIROH-UA/people/ZacharyWills
image_url: https://avatars.githubusercontent.com/u/60660437?v=4

tags: [nextgen]
tags: [news]
hide_table_of_contents: false
---

Expand Down
2 changes: 1 addition & 1 deletion blog/2023-12-30-NextGen-Update-Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors:
url: https://github.com/orgs/CIROH-UA/people/ZacharyWills
image_url: https://avatars.githubusercontent.com/u/60660437?v=4

tags: [nextgen]
tags: [news]
hide_table_of_contents: false
---
Happy New Year!!! We are back from SFO after attending AGU last month. We are excited to share the latest updates for NGIAB, NextGen, T-route, Hydrofabric, NextGen forcings, and Community Support from December 2023.
Expand Down
3 changes: 2 additions & 1 deletion blog/2024-07-31-IT-Update.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: "CIROH Research CyberInfrastructure Update"
description: "July Monthly IT Update"
slug: July Monthly IT Update

tags: [ciroh, tuscaloosa, 2i2c, gcp, gpu, si, reu, bigquery, api, aws, nsf access]
tags: [ciroh, 2i2c, google, gpu, reu, bigquery, api, aws, nsf ]
hide_table_of_contents: false
image: /img/summer-institute.jpg
---

We're excited to share some recent developments and updates from CIROH's Research CyberInfrastructure team:
Expand Down
3 changes: 2 additions & 1 deletion blog/2024-08-28-Case-Studies.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: "CIROH Cloud User Success Story"
description: "August Monthly Blog Update"
slug: August Monthly Blog Update

tags: [ciroh, tuscaloosa, 2i2c, gcp, gpu, si, reu, bigquery, api, aws, nsf access]
tags: [ciroh, 2i2c, aws, google, nextgen, jupyterhub, hpc, teehr, ngen]
hide_table_of_contents: false
image: https://github.com/CIROH-UA/ngen-datastream/blob/main/docs/images/ngen-datastream.jpg?raw=true
---

This month, we are excited to showcase two case studies that utilized our cyberinfrastructure tools and services. These case studies demonstrate how CIROH's cyberinfrastructure is being utilized to support hydrological research and operational advancements.
Expand Down
3 changes: 2 additions & 1 deletion blog/2024-09-30-BigQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: "Accessing National Water Model (NWM) Data via Google Cloud BigQuery API"
description: "September Monthly Blog Update"
slug: September Monthly Blog Update

tags: [BigQuery, BYU, NWM, CIROH, Google, Cloud, API]
tags: [bigquery, byu, nwm, ciroh, google, cloud, api, partnership]
hide_table_of_contents: false
image: /img/gcp_architecture_diagram.png
---

<img src="/img/gcp_architecture_diagram.png" alt="gcp architectrure diagram"/>
Expand Down
2 changes: 1 addition & 1 deletion blog/2024-1-31-NextGen-Update-Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
url: https://github.com/arpita0911patel
image_url: https://avatars.githubusercontent.com/u/54657?v=4

tags: [nextgen]
tags: [news]
hide_table_of_contents: false
---
Welcome to the January edition of the CIROH DocuHub blog, where we share the latest updates and news about the Community NextGen project monthly. NextGen is a cutting-edge hydrologic modeling framework that aims to advance the science and practice of hydrology and water resources management. In this month's blog, we will highlight some of the recent achievements and developments of the Community NextGen team.
Expand Down
2 changes: 1 addition & 1 deletion blog/2024-2-29-NextGen-Update-Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
url: https://github.com/arpita0911patel
image_url: https://avatars.githubusercontent.com/u/54657?v=4

tags: [nextgen, ciroh, community-nextgen]
tags: [ciroh, community-nextgen, on-premises, nwm, news]
hide_table_of_contents: false
---
Welcome to the February edition of the CIROH DocuHub blog, where we bring you the latest updates and news about the Community NextGen project and CIROH's Cloud and on-premise Infrastructure.
Expand Down
2 changes: 1 addition & 1 deletion blog/2024-3-31-NextGen-Update-Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
url: https://github.com/arpita0911patel
image_url: https://avatars.githubusercontent.com/u/54657?v=4

tags: [nextgen, ciroh, community-nextgen]
tags: [ciroh, community-nextgen, news, singularity]
hide_table_of_contents: false
---

Expand Down
1 change: 1 addition & 0 deletions blog/2024-4-16-AWRATuscaloosa.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors:

tags: [awra, tuscaloosa, conference, water resources, modeling]
hide_table_of_contents: false
image: /img/awra2024.jpeg
---

**AWRA 2024 Spring Conference**
Expand Down
1 change: 1 addition & 0 deletions blog/2024-4-16-GoogleCloudNext2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors:

tags: [google, googlecloud, googlecloudnext, conference]
hide_table_of_contents: false
image: /img/googlenext-3.jpeg
---

**Google Cloud Next '24**
Expand Down
3 changes: 2 additions & 1 deletion blog/2024-5-02-DevCon24.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ authors:
url: https://github.com/arpita0911patel
image_url: https://avatars.githubusercontent.com/u/54657?v=4

tags: [ciroh, tuscaloosa, conference, water resources, ngiab]
tags: [ciroh, conference, hydrology, training, nextgen, resources]
hide_table_of_contents: false
image: /img/devcon24_02.jpeg
---

**CIROH Developers Conference 2024**
Expand Down
110 changes: 71 additions & 39 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ const config = {
trackingID: 'G-TQW7CE7E2P',
anonymizeIP: true,
},
blog: {
blogTitle: "DocuHub blog!",
blogDescription: "A DocuHub powered blog!",
postsPerPage: "ALL",
authorsMapPath: "blog/authors.yaml",
},
blog: false,
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
Expand All @@ -51,9 +46,29 @@ const config = {
],
],

plugins: [[ require.resolve('docusaurus-lunr-search'), {
languages: ['en'] // language codes
}],['drawio', {}]],
plugins: [
// Lunr Search Plugin for search functionality
[
require.resolve('docusaurus-lunr-search'),
{
languages: ['en'], // language codes for search
}
],

// Draw.io Plugin for embedding diagrams
['drawio', {}],

// Custom Blog Plugin
[
'./plugins/plugin-content-blog.js',
{
blogTitle: "DocuHub blog!",
blogDescription: "A DocuHub powered blog!",
postsPerPage: "ALL", // Display all posts on a single page
authorsMapPath: "blog/authors.yaml", // Path to the authors' mapping file
}
]
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down Expand Up @@ -108,61 +123,73 @@ plugins: [[ require.resolve('docusaurus-lunr-search'), {
},

{
href: "/news",
label: "News",
position: "right",
},
{
href: "/contact",
label: "Contact Us",
position: "right",
href: "/impact",
label: "Community Impact",
position: "left",
},
{
href: "/contribute",
label: "Contribute",
href: "/news",
label: "News",
position: "right",
},
{
href: "http://portal.ciroh.org//",
label: "Portal",
href: "https://forms.office.com/r/5ww7qRWwwf",
label: "Feedback",
position: "right",
},

}
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
title: 'Quick Links',
items: [
{
label: "About CIROH",
href: "https://ciroh.ua.edu/about/",
label: 'Education',
href: '/docs/education/'
},
{
label: 'Contact Us',
href: '/contact'
},
{
label: "CIROH Members and Partners",
href: "https://ciroh.ua.edu/about/ciroh-partners/",
label: 'Contribute',
href: '/contribute'
},
{
label: "Contact CIROH",
href: "https://ciroh.ua.edu/contact-us/",
label: 'CIROH Portal',
href: 'http://portal.ciroh.org/'
}
]
},
{
title: 'About CIROH',
items: [
{
label: 'About Us',
href: 'https://ciroh.ua.edu/about/'
},
{
label: "DocuHub Repo",
href: "https://github.com/CIROH-UA/ciroh-ua_website",
label: 'Members & Partners',
href: 'https://ciroh.ua.edu/about/ciroh-partners/'
},
{
label: "CIROH Portal",
href: "http://portal.ciroh.org//",
label: 'Contact CIROH',
href: 'https://ciroh.ua.edu/contact-us/'
},
],
{
label: 'DocuHub Repository',
href: 'https://github.com/CIROH-UA/ciroh-ua_website'
}
]
},
{
title: "Follow us on",
items: [
{
html: `
<div class="footer-social-links">
<a href="https://www.youtube.com/@UA_CIROH" target="_blank" rel="noreferrer noopener" aria-label="Visit CIROH" style="margin-left:-15px">
<img src="https://static.vecteezy.com/system/resources/previews/018/930/572/non_2x/youtube-logo-youtube-icon-transparent-free-png.png" alt="CIROH on YouTube" width="70" height="60" />
</a>
Expand All @@ -172,7 +199,7 @@ plugins: [[ require.resolve('docusaurus-lunr-search'), {
<a href="https://www.facebook.com/UACIROH/" target="_blank" rel="noreferrer noopener" aria-label="Visit CIROH" style="margin-left:-25px">
<img src="https://static.vecteezy.com/system/resources/previews/018/930/702/original/facebook-logo-facebook-icon-transparent-free-png.png" alt="CIROH on Facebook" width="70" height="60" />
</a>
</div>
`,
},
{
Expand All @@ -189,9 +216,14 @@ plugins: [[ require.resolve('docusaurus-lunr-search'), {
],
},
],
copyright: `<br>This project received funding under award NA22NWS4320003 from NOAA Cooperative Institute Program. The statements, findings, conclusions, and recommendations are those of the author(s) and do not necessarily reflect the views of NOAA.
<br><br><br>
Copyright © ${new Date().getFullYear()} CIROH - The University of Alabama`,
copyright: `<div class="footer__funding">
This project received funding under award NA22NWS4320003 from NOAA Cooperative Institute Program.
The statements, findings, conclusions, and recommendations are those of the author(s) and do not
necessarily reflect the views of NOAA.
</div>
<div class="footer__bottom">
Copyright © ${new Date().getFullYear()} CIROH - The University of Alabama
</div>`,
},
prism: {
theme: prismThemes.github,
Expand Down
41 changes: 41 additions & 0 deletions plugins/plugin-content-blog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const fs = require('node:fs');

const blogPluginExports = require('@docusaurus/plugin-content-blog');

const defaultBlogPlugin = blogPluginExports.default;

async function blogPluginEnhanced(...pluginArgs) {
const blogPluginInstance = await defaultBlogPlugin(...pluginArgs);

const dir = '.docusaurus';

return {
...blogPluginInstance,
contentLoaded: async function (data) {
let recentPosts = [...data.content.blogPosts]
// Only show published posts.
.filter((p) => !p.metadata.unlisted)


recentPosts = recentPosts.map((p) => {
return {
id: p.id,
metadata: p.metadata,
};
});

fs.mkdirSync(dir, {
recursive: true, // Avoid error if directory already exists.
});
const fd = fs.openSync(`${dir}/recent-posts.json`, 'w');
fs.writeSync(fd, JSON.stringify(recentPosts));

return blogPluginInstance.contentLoaded(data);
},
};
}

module.exports = {
...blogPluginExports,
default: blogPluginEnhanced,
};
Loading

0 comments on commit 9360561

Please sign in to comment.