Skip to content

Community stats page and sd gym page #6

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

Open
wants to merge 120 commits into
base: gatsby-home
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
8371058
Install dependencies
pcarapic15 May 30, 2025
6ebb873
Copy all the changes from datacebo website
pcarapic15 Jun 1, 2025
9b2a25b
Make global css adjustments
pcarapic15 Jun 1, 2025
46e831e
Alter global xl container width and align it with the page
pcarapic15 Jun 1, 2025
550efb5
Adjust tailwind and global styling
pcarapic15 Jun 1, 2025
598a381
Add header css class logic for community stats page
pcarapic15 Jun 2, 2025
9ea2ab9
Remove comments
pcarapic15 Jun 2, 2025
9a3d1d8
Use location instead of window
pcarapic15 Jun 2, 2025
526bbfe
Add tabs for sdv in numbers section
pcarapic15 Jun 2, 2025
65f891b
Add static table for sdv in numbers section
pcarapic15 Jun 2, 2025
1c985f2
Fix learn more link width
pcarapic15 Jun 2, 2025
52be79c
Install recharts library
pcarapic15 Jun 2, 2025
e89d126
Remove unused prop from Hero
pcarapic15 Jun 2, 2025
9dc7671
Add logo and brand colors to pie chart
pcarapic15 Jun 2, 2025
913f858
Remove unused imports and center button label
pcarapic15 Jun 2, 2025
a681ee8
Make pie chart responsive
pcarapic15 Jun 2, 2025
4b35dfd
Add latest news subsection
pcarapic15 Jun 3, 2025
1eeeecf
Pass image dimensions to news update
pcarapic15 Jun 3, 2025
c20589d
Remove padding
pcarapic15 Jun 3, 2025
cd281b5
Remove padding from news slider section
pcarapic15 Jun 3, 2025
d7b35b0
Add mobile version for community users section
pcarapic15 Jun 3, 2025
029e939
Add the tablet version for community users section
pcarapic15 Jun 3, 2025
dd3a667
Remove dot slider from community users section
pcarapic15 Jun 3, 2025
2736c3d
Set text to blue 600
pcarapic15 Jun 3, 2025
210ac0c
Remove monthly column
pcarapic15 Jun 4, 2025
58d51cf
Remove cursor pointer from table rows
pcarapic15 Jun 4, 2025
da4206e
Finalize community users section with mocked data
pcarapic15 Jun 5, 2025
2a167b6
Adjust sdv in numbers table
pcarapic15 Jun 5, 2025
b38ace5
Adjust sdv core table
pcarapic15 Jun 5, 2025
7dd6c29
Adjust pie charts colors and font
pcarapic15 Jun 5, 2025
ea6eed4
Update subsection heading
pcarapic15 Jun 5, 2025
70a80d6
Adjust slider svg illustrations
pcarapic15 Jun 5, 2025
4af712c
Update colors in pie chart
pcarapic15 Jun 5, 2025
95f5fea
Add swiping for cards on md viewports
pcarapic15 Jun 6, 2025
936b9a5
Remove the divider
pcarapic15 Jun 6, 2025
09a1560
Adjust padding for table charts section
pcarapic15 Jun 6, 2025
e56a0cd
Adjust tabs for both tables
pcarapic15 Jun 7, 2025
95f139e
Set current year as table column label
pcarapic15 Jun 7, 2025
79835e1
Remove responsive container from pie chart
pcarapic15 Jun 7, 2025
80d47a2
Install xlsx library
pcarapic15 Jun 8, 2025
735eaf2
Add custom arrow labels to pie chart
pcarapic15 Jun 8, 2025
b825548
Fetch data from excel for sdv in numbers section
pcarapic15 Jun 9, 2025
2447e0d
Display fetched data in sdv in numbers pie and table
pcarapic15 Jun 9, 2025
6819444
Enlarge pie chart and adjust the dimensions
pcarapic15 Jun 9, 2025
0a500db
Add custom svg for one of the vendors
pcarapic15 Jun 9, 2025
ea0884b
Adjust tablet UI for pie chart
pcarapic15 Jun 9, 2025
ff5b677
Adjust tabs for table
pcarapic15 Jun 9, 2025
23b88e2
Adjust pie chart colors
pcarapic15 Jun 9, 2025
b10a6b7
Adjust font size for pie chart desktop
pcarapic15 Jun 9, 2025
8a12b0b
Adjust active tab state text color
pcarapic15 Jun 9, 2025
7de7111
Adjust table width and tab hover state
pcarapic15 Jun 9, 2025
67d2953
Display data from second sheet tab
pcarapic15 Jun 10, 2025
32de3ce
Update world map hero image
pcarapic15 Jun 10, 2025
75e6047
Adjust padding for latest news section
pcarapic15 Jun 10, 2025
d0b6697
Add new announcement to news slider section
pcarapic15 Jun 10, 2025
c6d8cc8
Reupload slides for open core section
pcarapic15 Jun 10, 2025
6484d0d
Comment out sdv ten millions news
pcarapic15 Jun 10, 2025
73a1e9d
Adjust data fetching and pie chart
pcarapic15 Jun 10, 2025
ee04381
Fetch and pass dependencies data to sdv core section
pcarapic15 Jun 11, 2025
8d6c82f
Update pie chart colors
pcarapic15 Jun 12, 2025
a392dc3
Add angled lines for desktop pie chart
pcarapic15 Jun 12, 2025
0560e1d
Add angled lines for pie chart tablet
pcarapic15 Jun 12, 2025
de3bf76
Update colors for pie chart arrows
pcarapic15 Jun 12, 2025
d139196
Add different colors for polylines
pcarapic15 Jun 12, 2025
bbebbce
Change hover color for table row
pcarapic15 Jun 12, 2025
8628e1b
Adjust the font size of the labels
pcarapic15 Jun 13, 2025
529f0b7
Fix percentages to two digits
pcarapic15 Jun 13, 2025
abef6f9
Adjust circle fill for be-great
pcarapic15 Jun 13, 2025
5c2831e
Adjust gradients for tablet pie chart
pcarapic15 Jun 13, 2025
05310a5
Set the color for active tabs
pcarapic15 Jun 13, 2025
089447a
Set circles to 2px
pcarapic15 Jun 13, 2025
aec4e19
Adjust labels as in presentation
pcarapic15 Jun 13, 2025
eb86ca2
Add logos for community users section
pcarapic15 Jun 16, 2025
c790a0c
Update pre-footer banner bg image
pcarapic15 Jun 16, 2025
4cd9bae
Comment out latest new sub section underneath pie chart
pcarapic15 Jun 17, 2025
640942a
Switch from semibold to medium for name of tables
pcarapic15 Jun 17, 2025
d9a6779
Install heroicons react
pcarapic15 Jun 17, 2025
e2a75ad
Adjust title for section
pcarapic15 Jun 17, 2025
e8076ce
Add new header
pcarapic15 Jun 17, 2025
fcc973d
Delete unsued Layout component
pcarapic15 Jun 17, 2025
c9bf222
Adjust pie chart from value for polyline
pcarapic15 Jun 17, 2025
36c49cf
Update footer
pcarapic15 Jun 17, 2025
f3c16b0
Adjust section paddings
pcarapic15 Jun 17, 2025
821b05b
reupload slides
pcarapic15 Jun 17, 2025
572c524
Adjust table UI
pcarapic15 Jun 17, 2025
7f47815
Merge branch 'gatsby-home' into open-source-stats-page
pcarapic15 Jun 18, 2025
64d097b
Update table styles
pcarapic15 Jun 18, 2025
051e9b3
Switch order of sections
pcarapic15 Jun 18, 2025
dc8637c
Add font consolas to table numbers
pcarapic15 Jun 18, 2025
6d07054
Enforce font weight 400 for consolas
pcarapic15 Jun 18, 2025
3d0ea66
Upload new community users images
pcarapic15 Jun 18, 2025
a697bb5
Upgrade gradient
pcarapic15 Jun 18, 2025
0f413eb
Set bg white to the table
pcarapic15 Jun 18, 2025
2dd201e
Fix links for hero section
pcarapic15 Jun 18, 2025
07f5941
Remove not needed community users section items
pcarapic15 Jun 18, 2025
cb2615c
Adjust the table gradient
pcarapic15 Jun 19, 2025
5eaffc7
Install gatsby ghost plugin
pcarapic15 Jun 23, 2025
54dd4ae
Set up ghost in config
pcarapic15 Jun 23, 2025
46e36fe
Configure Ghost page route in gatsby node
pcarapic15 Jun 23, 2025
d4c4e3b
Require dotenv in gatsby config
pcarapic15 Jun 23, 2025
5af21ca
Create the template for case studies
pcarapic15 Jun 23, 2025
e92b7b4
Remove cta bg image for banner
pcarapic15 Jun 24, 2025
54d8f38
Adjust slug for tag
pcarapic15 Jun 24, 2025
bcb40c4
Reupload second slide
pcarapic15 Jun 25, 2025
fd88846
Update tag slug and format yml
pcarapic15 Jun 25, 2025
f6685cc
Remove unused styled components
pcarapic15 Jun 25, 2025
e4052e9
Update pie chart dots position
pcarapic15 Jun 26, 2025
65332b6
Add sd gym with hero section
pcarapic15 Jun 26, 2025
d7cec4c
Add news slider and banner section to sd gym
pcarapic15 Jun 26, 2025
6c788f6
Add SdGym about image and initiate section
pcarapic15 Jul 2, 2025
e66ca0b
Add about sd gym cards with dummy text
pcarapic15 Jul 2, 2025
0598e1e
Create Status Badge component for leaderboard
pcarapic15 Jul 2, 2025
3e02e0a
Add leaderboard tags for sm viewport
pcarapic15 Jul 2, 2025
f64137e
Add border to pre-footer banner
pcarapic15 Jul 3, 2025
62fee8d
Display tags for larger screens
pcarapic15 Jul 3, 2025
75a93d4
Add plain table with dimensions
pcarapic15 Jul 3, 2025
23ea8af
Add table header icons
pcarapic15 Jul 3, 2025
1c54880
Merge branch 'gatsby-home' into open-source-stats-page
pcarapic15 Jul 3, 2025
8c8dd5b
Update yarn lock after node update
pcarapic15 Jul 3, 2025
697c753
Adjust font sizes and paddings for tags and badge
pcarapic15 Jul 8, 2025
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
7 changes: 4 additions & 3 deletions .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
with:
access-token: ${{ secrets.HOME_TOKEN }}
deploy-branch: gh-pages-home

env:
env:
SITEURL: "https://sdv.dev"
SITEPATH: ""
SITEPATH: ""
GHOST_API_URL: ${{ secrets.GHOST_API_URL }}
GHOST_CONTENT_API_KEY: ${{ secrets.GHOST_CONTENT_API_KEY }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.cache
public
.DS_Store
.DS_Store
.env
302 changes: 163 additions & 139 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,153 +1,177 @@
const path = require(`path`)
const path = require(`path`);
require("dotenv").config();

const config = require(`./src/utils/siteConfig`)
const config = require(`./src/utils/siteConfig`);

/**
* This is the place where you can tell Gatsby which plugins to use
* and set them up the way you want.
*
* Further info 👉🏼 https://www.gatsbyjs.org/docs/gatsby-config/
*
*/
* This is the place where you can tell Gatsby which plugins to use
* and set them up the way you want.
*
* Further info 👉🏼 https://www.gatsbyjs.org/docs/gatsby-config/
*
*/
let ghostConfig;

try {
ghostConfig = require(`./.ghost`);
} catch (e) {
ghostConfig = {
production: {
apiUrl: process.env.GHOST_API_URL,
contentApiKey: process.env.GHOST_CONTENT_API_KEY,
},
development: {
apiUrl: process.env.GHOST_API_URL,
contentApiKey: process.env.GHOST_CONTENT_API_KEY,
},
};
}

module.exports = {
pathPrefix: "/",
siteMetadata: {
siteUrl: process.env.SITEURL || config.siteUrl,
url: process.env.SITEURL || config.siteUrl,
twitterUsername: "@sdv_dev",
image: config.image,
pathPrefix: "/",
siteMetadata: {
siteUrl: process.env.SITEURL || config.siteUrl,
url: process.env.SITEURL || config.siteUrl,
twitterUsername: "@sdv_dev",
image: config.image,
},
flags: {
// PRESERVE_WEBPACK_CACHE: true,
// PRESERVE_FILE_DOWNLOAD_CACHE: true,
},
plugins: [
{
resolve: `gatsby-source-ghost`,
options:
process.env.NODE_ENV === `development`
? ghostConfig.development
: ghostConfig.production,
},
flags: {
// PRESERVE_WEBPACK_CACHE: true,
// PRESERVE_FILE_DOWNLOAD_CACHE: true,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
"G-VS2E5NF00K", // Google Analytics / GA
// "AW-CONVERSION_ID", // Google Ads / Adwords / AW
// "DC-FLOODIGHT_ID", // Marketing Platform advertising products (Display & Video 360, Search Ads 360, and Campaign Manager)
],
},
},
plugins: [
{
resolve: `gatsby-plugin-google-gtag`,
options: {
// You can add multiple tracking ids and a pageview event will be fired for all of them.
trackingIds: [
"G-VS2E5NF00K", // Google Analytics / GA
// "AW-CONVERSION_ID", // Google Ads / Adwords / AW
// "DC-FLOODIGHT_ID", // Marketing Platform advertising products (Display & Video 360, Search Ads 360, and Campaign Manager)
],
},
},
/**
* Content Plugins
*/
{
resolve: `gatsby-source-filesystem`,
options: {
path: path.join(__dirname, `src`, `pages`),
name: `pages`,
},
},
// Setup for optimised images.
// See https://www.gatsbyjs.org/packages/gatsby-image/
{
resolve: `gatsby-source-filesystem`,
options: {
path: path.join(__dirname, `src`, `images`),
name: `images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: path.join(__dirname, `static`),
},
/**
* Content Plugins
*/
{
resolve: `gatsby-source-filesystem`,
options: {
path: path.join(__dirname, `src`, `pages`),
name: `pages`,
},
},
// Setup for optimised images.
// See https://www.gatsbyjs.org/packages/gatsby-image/
{
resolve: `gatsby-source-filesystem`,
options: {
path: path.join(__dirname, `src`, `images`),
name: `images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: path.join(__dirname, `static`),
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /assets/, // See below to configure properly
},
{
resolve: "gatsby-plugin-react-svg",
},
},
`gatsby-plugin-scroll-reveal`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-prismjs`,
options: {
rule: {
include: /assets/, // See below to configure properly
},
},
},
`gatsby-plugin-scroll-reveal`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-prismjs`,
options: {
// Class prefix for <pre> tags containing syntax highlighting;
// defaults to 'language-' (e.g. <pre class="language-js">).
// If your site loads Prism into the browser at runtime,
// (e.g. for use with libraries like react-live),
// you may use this to prevent Prism from re-processing syntax.
// This is an uncommon use-case though;
// If you're unsure, it's best to use the default value.
classPrefix: "language-",
// This is used to allow setting a language for inline code
// (i.e. single backticks) by creating a separator.
// This separator is a string and will do no white-space
// stripping.
// A suggested value for English speakers is the non-ascii
// character '›'.
inlineCodeMarker: null,
// This lets you set up language aliases. For example,
// setting this to '{ sh: "bash" }' will let you use
// the language "sh" which will highlight using the
// bash highlighter.
aliases: {},
// This toggles the display of line numbers globally alongside the code.
// To use it, add the following line in gatsby-browser.js
// right after importing the prism color scheme:
// require("prismjs/plugins/line-numbers/prism-line-numbers.css")
// Defaults to false.
// If you wish to only show line numbers on certain code blocks,
// leave false and use the {numberLines: true} syntax below
showLineNumbers: false,
// If setting this to true, the parser won't handle and highlight inline
// code used in markdown i.e. single backtick code like `this`.
noInlineHighlight: false,
// This adds a new language definition to Prism or extend an already
// existing language definition. More details on this option can be
// found under the header "Add new language definition or extend an
// existing language" below.
languageExtensions: [
{
language: "superscript",
extend: "javascript",
definition: {
superscript_types: /(SuperType)/,
},
insertBefore: {
function: {
superscript_keywords: /(superif|superelse)/,
// Class prefix for <pre> tags containing syntax highlighting;
// defaults to 'language-' (e.g. <pre class="language-js">).
// If your site loads Prism into the browser at runtime,
// (e.g. for use with libraries like react-live),
// you may use this to prevent Prism from re-processing syntax.
// This is an uncommon use-case though;
// If you're unsure, it's best to use the default value.
classPrefix: "language-",
// This is used to allow setting a language for inline code
// (i.e. single backticks) by creating a separator.
// This separator is a string and will do no white-space
// stripping.
// A suggested value for English speakers is the non-ascii
// character '›'.
inlineCodeMarker: null,
// This lets you set up language aliases. For example,
// setting this to '{ sh: "bash" }' will let you use
// the language "sh" which will highlight using the
// bash highlighter.
aliases: {},
// This toggles the display of line numbers globally alongside the code.
// To use it, add the following line in gatsby-browser.js
// right after importing the prism color scheme:
// require("prismjs/plugins/line-numbers/prism-line-numbers.css")
// Defaults to false.
// If you wish to only show line numbers on certain code blocks,
// leave false and use the {numberLines: true} syntax below
showLineNumbers: false,
// If setting this to true, the parser won't handle and highlight inline
// code used in markdown i.e. single backtick code like `this`.
noInlineHighlight: false,
// This adds a new language definition to Prism or extend an already
// existing language definition. More details on this option can be
// found under the header "Add new language definition or extend an
// existing language" below.
languageExtensions: [
{
language: "superscript",
extend: "javascript",
definition: {
superscript_types: /(SuperType)/,
},
insertBefore: {
function: {
superscript_keywords: /(superif|superelse)/,
},
},
},
],
// Customize the prompt used in shell output
// Values below are default
prompt: {
user: "root",
host: "localhost",
global: false,
},
],
// Customize the prompt used in shell output
// Values below are default
prompt: {
user: "root",
host: "localhost",
global: false,
// By default the HTML entities <>&'" are escaped.
// Add additional HTML escapes by providing a mapping
// of HTML entities and their escape value IE: { '}': '&#123;' }
escapeEntities: {},
},
// By default the HTML entities <>&'" are escaped.
// Add additional HTML escapes by providing a mapping
// of HTML entities and their escape value IE: { '}': '&#123;' }
escapeEntities: {},
},
},
],
],
},
},
},
`gatsby-plugin-styled-components`,
`gatsby-plugin-sass`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-force-trailing-slashes`,
`gatsby-plugin-offline`,
`gatsby-plugin-anchor-links`
],
}
`gatsby-plugin-sass`,
`gatsby-plugin-catch-links`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-force-trailing-slashes`,
`gatsby-plugin-offline`,
`gatsby-plugin-anchor-links`,
],
};
Loading