From ad385e195626e457cda2fd79897d5af44250b08c Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 26 Oct 2022 20:58:47 -0400 Subject: [PATCH 1/3] feat: add ongoing page --- .../content/project/ongoing-project2.json | 26 +++++++ .../content/theme-image/ongoing.jpg | Bin 0 -> 10782 bytes .../src/pages/ongoing.tsx | 68 ++++++++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 packages/example-site/content/project/ongoing-project2.json create mode 100644 packages/example-site/content/theme-image/ongoing.jpg create mode 100644 packages/gatsby-theme-project-portal/src/pages/ongoing.tsx diff --git a/packages/example-site/content/project/ongoing-project2.json b/packages/example-site/content/project/ongoing-project2.json new file mode 100644 index 000000000..da35e7e5e --- /dev/null +++ b/packages/example-site/content/project/ongoing-project2.json @@ -0,0 +1,26 @@ +{ + "slug": "ongoing-project-2", + "question": "Hello world (from json)?", + "mainContact": "first-contact", + "projectTeam": [ + "first-contact", + "second-contact" + ], + "agency": "example agency", + "deliverable": "example deliverable", + "description": "example description", + "emailContent": "example emailContent", + "endDate": "2016-12-15", + "expertise": "example expertise", + "fundingInfo": "example fundingInfo", + "keyDates": "example keyDates", + "lastModified": "example lastModified", + "opportunityCloses": "2022-10-28", + "purpose": "example purpose", + "requirement": "example requirement", + "startDate": "2022-06-17", + "status": "ongoing", + "statusOfData": "example statusOfData", + "summary": "example summary", + "topics": ["example topics"] +} diff --git a/packages/example-site/content/theme-image/ongoing.jpg b/packages/example-site/content/theme-image/ongoing.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c1c0254d29595d436d4e3219b5c8024c80a421cc GIT binary patch literal 10782 zcmb7pRa9New(Y{*-GT*ocMA@I;O+!>clY4#?(Xgq+*vrm-3b;J5boOh+;`gjeO2{Q ztz=rCqmMpDeXM=#0?_58WTgNQ5D)+va0Ps90>lBZ&@iwt(6F#DuyAm&@QCP$hzJOX z*r;g8=y=%p_;}d3xP&BBq=ZD2#JIR*jAWG5G<5WI1f)!?Oth?2v~;xpTm%9R4h|6> z5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BHUVdR6M;1XegzBFAX0}QT-8%_{x=Jh2r1D2Hz?{IEo}gdj(*Q z(o_=~$MVVc*Yk*#4^}N_nYTIX;WnrTa)O>IhF00u2?6}wKF!1f1r?`)XFa$|*P@4T6~e`UQ*b|tkz z@OQi*JZNGaG)m$KcmW5K0vn^ZQ2mPs589K3FWQw)e6zk{9r!zei+sn3+%`2RPn98# zASF)LY=Z!$bKJV7-uAfIjQn7(pG-Et_-6_S_q<(VG-}ytObuBh=%dUhw;pi<>bk(r#;S)(iu-M}VjDwv5EOu#kF zL{D50)!aJ-DC{!a^_tM{o-DrW+vV`%y=TPf;Zt{JNtaOeis5P`bvp#*elkmGH9~v$ zk$?iAK*l@Bh1Uk|qCcgrxN))qTWO!>YP}&S+~SykH=ZyJA=pPL~TB_t&s;Z`^q$X4MRT~L5ohSoKRzFr#Y z&zJ;dNs+{3EkwPd1mDqQAzy$}L4w(sV>nNpAIrR_vw(?);j|r{n6UYFI=p@utGsP~ zPH@+Oqi)^874d3Rdqum>m^54Y_%RjpbW!-Z-Gj0qW|UNmp@ZT}#4Sn`@-_*JXG7r9 z@}W_3m|UH=s=*oUDo&Mmwg@^wy6D;z9?Ao`t0@QB%-(lq8Ff7Fdoe>~qECmV_RLN7 zn9Zn-GB)LC!e)82NYh3xeI;}sW(3Jl?e_mBURU-$=h=}CSwm%i02Gdcw&2cfh9~_Cl40`w z-m;P}4S|>v)-!p{mX-V*)7DGu9{`OuSWf=?_S!+@MjEZ*I|zs#SK~!e*EH%sa(g7= ztU<3MXvARN}jGFYc@~8n%X0fVJitcYk=Rz zBIpZe7bCMS5@)Ia4L?h35|V`g))CIv>B`aH(J0ifV=aR02_#!`>%R)KgqI{ { + const { ongoing } = useStaticText() + + return ( + + ) +} +export const query = graphql` + query ProjectPageQuery { + allProject(filter: { status: { eq: "ongoing" } }) { + nodes { + question + slug + status + summary + deliverable + expertise + keyDates + endDate + agency + topics + statusOfData + priorResearch + fundingInfo + lastModified + } + } + bgImage: file( + name: { eq: "ongoing" } + extension: { in: ["png", "jpg", "jpeg"] } + sourceInstanceName: { eq: "themeImages" } + ) { + childImageSharp { + resize(width: 1536) { + src + } + } + } + } +` From a866fe738d8a54640a0b986a33cb82383d54ea41 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 26 Oct 2022 21:09:48 -0400 Subject: [PATCH 2/3] feat: add open page as open for now --- .../content/project/open-project-2.json | 26 +++++++ .../example-site/content/theme-image/open.jpg | Bin 0 -> 10782 bytes .../src/pages/open.tsx | 68 ++++++++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 packages/example-site/content/project/open-project-2.json create mode 100644 packages/example-site/content/theme-image/open.jpg create mode 100644 packages/gatsby-theme-project-portal/src/pages/open.tsx diff --git a/packages/example-site/content/project/open-project-2.json b/packages/example-site/content/project/open-project-2.json new file mode 100644 index 000000000..48e87984d --- /dev/null +++ b/packages/example-site/content/project/open-project-2.json @@ -0,0 +1,26 @@ +{ + "slug": "open-project-2", + "question": "Hello world (from json)?", + "mainContact": "the-boss", + "projectTeam": [ + "first-contact", + "second-contact" + ], + "agency": "example agency", + "deliverable": "example deliverable", + "description": "example description", + "emailContent": "example emailContent", + "endDate": "2016-12-15", + "expertise": "example expertise", + "fundingInfo": "example fundingInfo", + "keyDates": "example keyDates", + "lastModified": "example lastModified", + "opportunityCloses": "2022-10-28", + "purpose": "example purpose", + "requirement": "example requirement", + "startDate": "2022-06-17", + "status": "open", + "statusOfData": "example statusOfData", + "summary": "example summary", + "topics": ["example topics"] +} diff --git a/packages/example-site/content/theme-image/open.jpg b/packages/example-site/content/theme-image/open.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c1c0254d29595d436d4e3219b5c8024c80a421cc GIT binary patch literal 10782 zcmb7pRa9New(Y{*-GT*ocMA@I;O+!>clY4#?(Xgq+*vrm-3b;J5boOh+;`gjeO2{Q ztz=rCqmMpDeXM=#0?_58WTgNQ5D)+va0Ps90>lBZ&@iwt(6F#DuyAm&@QCP$hzJOX z*r;g8=y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1eAvTF@_qwG*s=e~DM*&f)%+G0$M&O0}OXuCxyNx~T8F zIWi!G;-9VpXPuZ|BHUVdR6M;1XegzBFAX0}QT-8%_{x=Jh2r1D2Hz?{IEo}gdj(*Q z(o_=~$MVVc*Yk*#4^}N_nYTIX;WnrTa)O>IhF00u2?6}wKF!1f1r?`)XFa$|*P@4T6~e`UQ*b|tkz z@OQi*JZNGaG)m$KcmW5K0vn^ZQ2mPs589K3FWQw)e6zk{9r!zei+sn3+%`2RPn98# zASF)LY=Z!$bKJV7-uAfIjQn7(pG-Et_-6_S_q<(VG-}ytObuBh=%dUhw;pi<>bk(r#;S)(iu-M}VjDwv5EOu#kF zL{D50)!aJ-DC{!a^_tM{o-DrW+vV`%y=TPf;Zt{JNtaOeis5P`bvp#*elkmGH9~v$ zk$?iAK*l@Bh1Uk|qCcgrxN))qTWO!>YP}&S+~SykH=ZyJA=pPL~TB_t&s;Z`^q$X4MRT~L5ohSoKRzFr#Y z&zJ;dNs+{3EkwPd1mDqQAzy$}L4w(sV>nNpAIrR_vw(?);j|r{n6UYFI=p@utGsP~ zPH@+Oqi)^874d3Rdqum>m^54Y_%RjpbW!-Z-Gj0qW|UNmp@ZT}#4Sn`@-_*JXG7r9 z@}W_3m|UH=s=*oUDo&Mmwg@^wy6D;z9?Ao`t0@QB%-(lq8Ff7Fdoe>~qECmV_RLN7 zn9Zn-GB)LC!e)82NYh3xeI;}sW(3Jl?e_mBURU-$=h=}CSwm%i02Gdcw&2cfh9~_Cl40`w z-m;P}4S|>v)-!p{mX-V*)7DGu9{`OuSWf=?_S!+@MjEZ*I|zs#SK~!e*EH%sa(g7= ztU<3MXvARN}jGFYc@~8n%X0fVJitcYk=Rz zBIpZe7bCMS5@)Ia4L?h35|V`g))CIv>B`aH(J0ifV=aR02_#!`>%R)KgqI{ { + const { open } = useStaticText() + + return ( + + ) +} +export const query = graphql` + query ProjectPageQuery { + allProject(filter: { status: { eq: "open" } }) { + nodes { + question + slug + status + summary + deliverable + expertise + keyDates + endDate + agency + topics + statusOfData + priorResearch + fundingInfo + lastModified + } + } + bgImage: file( + name: { eq: "open" } + extension: { in: ["png", "jpg", "jpeg"] } + sourceInstanceName: { eq: "themeImages" } + ) { + childImageSharp { + resize(width: 1536) { + src + } + } + } + } +` From bf93869750f6cff4aa74c441a44909b5072f8af6 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 26 Oct 2022 21:15:59 -0400 Subject: [PATCH 3/3] refactor: rename open page to index --- packages/example-site/src/pages/index.js | 20 ------------------- .../src/pages/{open.tsx => index.tsx} | 0 2 files changed, 20 deletions(-) delete mode 100644 packages/example-site/src/pages/index.js rename packages/gatsby-theme-project-portal/src/pages/{open.tsx => index.tsx} (100%) diff --git a/packages/example-site/src/pages/index.js b/packages/example-site/src/pages/index.js deleted file mode 100644 index 4efe2f12f..000000000 --- a/packages/example-site/src/pages/index.js +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react" -import { Layout } from "@thepolicylab-projectportals/gatsby-theme-project-portal/src/layouts" -import { Contact } from "@thepolicylab-projectportals/gatsby-theme-project-portal/src/components" - -const Index = () => { - return ( - -

Heading 1

- -
- ) -} - -export default Index diff --git a/packages/gatsby-theme-project-portal/src/pages/open.tsx b/packages/gatsby-theme-project-portal/src/pages/index.tsx similarity index 100% rename from packages/gatsby-theme-project-portal/src/pages/open.tsx rename to packages/gatsby-theme-project-portal/src/pages/index.tsx