Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged

Dev #969

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
177 changes: 176 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,182 @@ module.exports = {
to: "/docs/2024?id=Zenysis%20Technologies",
},
]
}
},
{
label: "2025",
position: "left",
to: "/docs/2025/",
items: [
{
label: "ADC karnal",
to: "/docs/2025?id=ADC%20karnal",
},
{
label: "ADC Mahendragarh",
to: "/docs/2025?id=ADC%20Mahendragarh",
},
{
label: "ADC Rohtak",
to: "/docs/2025?id=ADC%20Rohtak",
},
{
label: "Armman",
to: "/docs/2025?id=Armman",
},
{
label: "Avanti Fellows",
to: "/docs/2025?id=Avanti%20Fellows",
},
{
label: "Beckn Collective",
to: "/docs/2025?id=Beckn%20Collective",
},
{
label: "CMC Ambala",
to: "/docs/2025?id=CMC%20Ambala",
},
{
label: "Consul Democracy",
to: "/docs/2025?id=Consul%20Democracy",
},
{
label: "COSS",
to: "/docs/2025?id=COSS",
},
{
label: "Dhwani",
to: "/docs/2025?id=Dhwani",
},
{
label: "Education Initiative",
to: "/docs/2025?id=Education%20Initiative",
},
{
label: "Flywheel",
to: "/docs/2025?id=Flywheel",
},
{
label: "Haqdarshak",
to: "/docs/2025?id=Haqdarshak",
},
{
label: "iabsis",
to: "/docs/2025?id=iabsis",
},
{
label: "IDInsight",
to: "/docs/2025?id=IDInsight",
},
{
label: "IIIT-Delhi",
to: "/docs/2025?id=IIIT-Delhi",
},
{
label: "IIIT-H RCTS",
to: "/docs/2025?id=IIIT-H%20RCTS",
},
{
label: "Medic",
to: "/docs/2025?id=Medic",
},
{
label: "MedPlat",
to: "/docs/2025?id=MedPlat",
},
{
label: "Medtronic Labs",
to: "/docs/2025?id=Medtronic%20Labs",
},
{
label: "MeitY",
to: "/docs/2025?id=MeitY",
},
{
label: "Metabrainz",
to: "/docs/2025?id=Metabrainz",
},
{
label: "Mifos",
to: "/docs/2025?id=Mifos",
},
{
label: "Mojaloop Foundation",
to: "/docs/2025?id=Mojaloop%20Foundation",
},
{
label: "MOSIP",
to: "/docs/2025?id=MOSIP",
},
{
label: "National Urban Digital Mission",
to: "/docs/2025?id=National%20Urban%20Digital%20Mission",
},
{
label: "NHA",
to: "/docs/2025?id=NHA",
},
{
label: "NSUT in collaboration with C4GT, SEETA and AIC",
to: "/docs/2025?id=NSUT%20in%20collaboration%20with%20C4GT%2C%20SEETA%20and%20AIC",
},
{
label: "OpenIMIS",
to: "/docs/2025?id=OpenIMIS",
},
{
label: "OpenNyAI",
to: "/docs/2025?id=OpenNyAI",
},
{
label: "Piramal Swasthya Management and Research Institute",
to: "/docs/2025?id=Piramal%20Swasthya%20Management%20and%20Research%20Institute",
},
{
label: "PlanetRead",
to: "/docs/2025?id=PlanetRead",
},
{
label: "Pratham Books",
to: "/docs/2025?id=Pratham%20Books",
},
{
label: "Protean",
to: "/docs/2025?id=Protean",
},
{
label: "Samanvay Foundation",
to: "/docs/2025?id=Samanvay%20Foundation",
},
{
label: "Sampatti Card",
to: "/docs/2025?id=Sampatti%20Card",
},
{
label: "ShikshaLokam",
to: "/docs/2025?id=ShikshaLokam",
},
{
label: "Statwig",
to: "/docs/2025?id=Statwig",
},
{
label: "Sugar Labs",
to: "/docs/2025?id=Sugar%20Labs",
},
{
label: "Tattle",
to: "/docs/2025?id=Tattle",
},
{
label: "Tekdi",
to: "/docs/2025?id=Tekdi",
},
{
label: "The Apprentice Project",
to: "/docs/2025?id=The%20Apprentice%20Project",
},
],
},
],
},
footer: {
Expand Down
65 changes: 65 additions & 0 deletions src/components/C4gt2025Description.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
// src/components/C4GT2025Description.js

import React from "react";

function C4GT2025Description() {
return (
<div
className="container padding-top--md padding-bottom--lg container-height"
>
<div className="row">
<div className="col width">
<div>
<article>
<nav
className="theme-doc-breadcrumbs breadcrumbs-margin"
aria-label="breadcrumbs"
>
<ul className="breadcrumbs">
<li className="breadcrumbs__item">
<a className="breadcrumbs__link breadcrumbs-items" href="/">
🏠
</a>
</li>
<li className="breadcrumbs__item breadcrumbs__item--active">
<a
className="breadcrumbs__link breadcrumbs-items cursor-pointer"
>
C4GT'25
</a>
</li>
</ul>
</nav>
<div className="theme-doc-markdown markdown">
<header>
<h1>C4GT'25</h1>
</header>
<p>
C4GT Mentoring Program 2025 is shaping up to be an exciting summer coding program, building upon the success of previous years to foster a strong community focused on developing and contributing to global digital public goods.
</p>
<ul>
<li>
An opportunity for college students and working
professionals in India to dive into the GovTech space in 2025.
</li>
<li>Organized annually over 2 months (July-August)</li>
<li>
A new set of diverse and challenging GovTech problem
statements will be presented for participants to tackle in 2025.
</li>
<li>
Shortlisted contributors will receive mentorship from
leading experts in the GovTech ecosystem.
</li>
</ul>
<p>We're thrilled to have you join us in 2025! 🚀</p>
</div>
</article>
</div>
</div>
</div>
</div>
);
}

export default C4GT2025Description;
39 changes: 27 additions & 12 deletions src/components/Sidebar.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// src/components/Sidebar.js

import React from "react";
import { useHistory } from "react-router-dom";

Expand All @@ -8,7 +10,8 @@ function Sidebar({
setCurrentOrg,
currentIssue,
setCurrentIssue,
setCurrentTab
setCurrentTab,
year, // Add year prop
}) {
const history = useHistory();
return (
Expand All @@ -17,36 +20,48 @@ function Sidebar({
<ul className="theme-doc-sidebar-menu menu__list">
<li className="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item">
<div
className={`menu__link cursor-pointer ${currentTab == "c4gt" ? "menu__link--active" : ""}`}
className={`menu__link cursor-pointer ${currentTab === "c4gt" && year === "2024" ? "menu__link--active" : ""}`}
onClick={() => {
const newUrl = `/docs/2024/`;
history.push(newUrl);
setCurrentTab("c4gt")
history.push(newUrl);
setCurrentTab("c4gt");
}}
>
C4GT'24
</div>
</li>
<li className="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item">
<div
className={`menu__link cursor-pointer ${currentTab === "c4gt" && year === "2025" ? "menu__link--active" : ""}`}
onClick={() => {
const newUrl = `/docs/2025/`;
history.push(newUrl);
setCurrentTab("c4gt");
}}
>
C4GT'25
</div>
</li>
{issueData == null ? (
<></>
) : (
issueData?.map((data, i) => {
return (
<li
key={i}
className={`theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item ${currentOrg == data?.org_name ? "" : "menu__list-item--collapsed"}`}
className={`theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item ${currentOrg === data?.org_name ? "" : "menu__list-item--collapsed"}`}
>
<div
className={`menu__list-item-collapsible cursor-pointer ${currentOrg == data?.org_name && currentIssue == null ? "menu__list-item-collapsible--active" : ""}`}
className={`menu__list-item-collapsible cursor-pointer ${currentOrg === data?.org_name && currentIssue == null ? "menu__list-item-collapsible--active" : ""}`}
onClick={() => {
const newUrl = `/docs/2024?id=${data?.org_name}`;
const newUrl = `/docs/${year}?id=${data?.org_name}`;
history.push(newUrl);
setCurrentOrg(() => data?.org_name);
setCurrentIssue(() => null);
}}
>
<div
className={`menu__link ${currentOrg == data?.org_name ? "menu__link--active" : ""}`}
className={`menu__link ${currentOrg === data?.org_name ? "menu__link--active" : ""}`}
>
{data?.org_name}
</div>
Expand All @@ -56,7 +71,7 @@ function Sidebar({
className="clean-btn menu__caret"
></button>
</div>
{currentOrg == data?.org_name ? (
{currentOrg === data?.org_name ? (
<ul
className="menu__list"
style={{
Expand All @@ -75,9 +90,9 @@ function Sidebar({
className="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"
>
<div
className={`menu__link cursor-pointer ${currentIssue == d.id ? "menu__link--active" : ""}`}
className={`menu__link cursor-pointer ${currentIssue === d.id ? "menu__link--active" : ""}`}
onClick={() => {
const newUrl = `/docs/2024?id=${currentOrg}&issue=${d.id}`;
const newUrl = `/docs/${year}?id=${currentOrg}&issue=${d.id}`;
history.push(newUrl);
setCurrentIssue(() => d.id);
}}
Expand All @@ -102,4 +117,4 @@ function Sidebar({
);
}

export default Sidebar;
export default Sidebar;
Loading