unstats / gatsby-themes Goto Github PK
View Code? Open in Web Editor NEWGatsby themes for @UNDataForum websites.
Home Page: https://mockup.undataforum.vercel.app
Gatsby themes for @UNDataForum websites.
Home Page: https://mockup.undataforum.vercel.app
Take over from https://unstats.un.org/unsd/undataforum/programme/index.html.
Figure out how https://github.com/apollographql/gatsby-theme-apollo does monorepo with npm and Lerna instead of yarn workspaces.
Just a page with default layout. Anyone who wants something fancy to show can shadow the page.
Theme does not only contain layouts but also fundamental plugins that are shared with all consuming themes.
As taught in this video: https://egghead.io/lessons/gatsby-set-up-yarn-workspaces-for-gatsby-theme-development
Error: <svg> attribute height: Expected length, "4,4,5".
Put project configs in place:
Then fix lint errors:
gatsby-theme-undataforum
main-website-demo
docs
Follow @undataforum/components.
Package @undataforum/tokens
with its proprietary license currently is a dependency of gatsby-theme-undataforum
. It should not be a dependency of the theme, but rather of the actual site.
By default profiles are type Mdx
. Introduce new node type to make it easier to distinguish profiles form other MDX content.
Every push to any branch should result in deployment of main-website-demo
.
Support mapping of unordered lists in MDX.
gatsby-theme-undataforum
./blog
.PostPreviews
.gatsby-theme-undataforum
.Container component from @undataforum/components
.
Link
with SmartLink
in mapping.Should be written as generic as possible to be used for sessions and webinars.
gatsby-plugin-profiles
creates custom nodes of default type Profile
that makes querying profiles very easy. In scenarios where the plugin is used more than once in a website or another theme, you need to be able to customize the type to manage separate collections of profiles, e.g. AuthorProfile
and SpeakerProfile
.
Same package, but with more consistent name.
Different .eslintrc
files in each project do not work. You cannot use yarn workspaces run lint
with lint-staged
. The command used with lint-staged
needs to lint one single files, not a bunch of files.
Consolidate ESLint configs in root folder.
purge
task purges node_modules
folders.clean
task runs gatsby clean
.Ensure that plugin is transpiled when included as dependency. See https://www.gatsbyjs.org/packages/gatsby-plugin-compile-es6-packages/.
links
and social
props should be configurable in theme options.Lighthouse gives a performance penalty to page because VideoList does not lazy load. Check if this is supported in react-player.
Handling of videos with Gatsby: https://www.gatsbyjs.org/docs/working-with-video/.
@undataforum/components
0.26.0 in gatsby-theme-undataforum
.Provider
with ThemeProvider
.Videos
to VideoList
Profiles
to ProfileList
Posts
to PostList
Add WebP support via gatsby-image.
Stop distinguishing between serif and sans-serif fonts.
Titles such a "Her Excellency" or "His Royal Highness".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.