Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pectra PGR #400

Merged
merged 25 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from 13 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
5 changes: 4 additions & 1 deletion src/components/Banners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Box, Link } from '@chakra-ui/react';

import { Banner } from './UI';

import { ACADEMIC_GRANTS_URL } from '../constants';
import { ACADEMIC_GRANTS_URL, PECTRA_PGR_URL } from '../constants';

export const Banners: FC = () => {
const router = useRouter();
Expand All @@ -16,6 +16,9 @@ export const Banners: FC = () => {
Applications are open for the{' '}
<Link fontWeight={700} href={ACADEMIC_GRANTS_URL}>
Academic Grants Round
</Link>{' '} and{' '}
<Link fontWeight={700} href={PECTRA_PGR_URL}>
Pectra Proactive Grant Round
</Link>{' '}
. See the details and apply.
</Box>
Expand Down
9 changes: 8 additions & 1 deletion src/components/forms/Forms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
EPFApplicationForm,
PSESponsorshipsForm,
PSEApplicationForm,
AcademicGrantsForm
AcademicGrantsForm,
PectraPGRForm,
} from './';

import {
Expand All @@ -22,6 +23,7 @@ import {
EPF_APPLICATION_APPLY_URL,
GRANTEE_FINANCE_URL,
OFFICE_HOURS_APPLY_URL,
PECTRA_PGR_APPLY_URL,
PROJECT_GRANTS_APPLY_URL,
PSE_APPLICATION_APPLY_URL,
PSE_SPONSORSHIPS_APPLY_URL,
Expand Down Expand Up @@ -83,6 +85,11 @@ export const Forms: FC = () => {
<EPFApplicationForm />
</Box>
)}
{router.pathname === PECTRA_PGR_APPLY_URL && (
<Box px={{ md: 24, lg: 32, xl: 72 }}>
<PectraPGRForm />
</Box>
)}
</Stack>
);
};
Loading