Comments (7)
Hey @jtfairbank! I am actually not sure why I did it that way instead of co-locating the queries 🤔 Maybe that involved some complexity that I didn't want to deal with when we were shipping the new site? My memory is terrible 😅 If you refactor it, please let me know what you find out!
from distributeaid.org.
Hey @deammer is there a specific reason you created the HomePage and AboutUsPage as templates instantiated in /gatsby-node.js
? As opposed to creating them as pages in /src/pages
and keeping the page query with the page, like Donate or Shipments?
Wondering if I can safely refactor them into pages.
from distributeaid.org.
Word up! And yeah that makes sense. You were in "get it launched" mode. 😆
from distributeaid.org.
@deammer figured it out! See the last 2 commits on #171 for the setup using Forestry => Gatsby Pages using page queries instead of Forestry => Gatsby Templates hooked up in gatsby-node.js
. Please do leave me a note if you spot anything I didn't, though! :)
from distributeaid.org.
@jtfairbank #171 doesn't seem quite right, that's a dependency upgrade
from distributeaid.org.
from distributeaid.org.
👏 very nice!
from distributeaid.org.
Related Issues (20)
- Update home page globe animation for new routes HOT 2
- Fix spacing on region info pages HOT 3
- Website modification → Donate pop-up
- Add E2E test for Routes pages HOT 3
- First yarn install takes very long HOT 11
- Sharpen front-end design of region pages
- Load Generic Card data models and expose them via the Gatsby API
- Create "What We Do" pages
- E2E Tests failing due to js errors on the campaign page. HOT 6
- "Donate to undefined" in page title HOT 3
- "More info" buttons in the donate page show an incorrect icon HOT 6
- Add Units to Item Labels on the Visualization
- Remove UK-to-France and UK-to-Lebanon Route pages from being publicly linked on the site
- Create Generic page for ASSORT
- Activate analytics for website
- Get "Our Story" page across the finish line
- Get "Contact Us" page across the finish line
- Get "Our Mission and Values" page across the finish line
- Add PayPal embed to donate page HOT 1
- Home Page Still Has Route Cards HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distributeaid.org.