Skip to content

Commit bb056ec

Browse files
committed
Add toggle-button component
1 parent b6ed840 commit bb056ec

File tree

7 files changed

+716
-284
lines changed

7 files changed

+716
-284
lines changed

gatsby-node.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,9 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
728728

729729
const components = componentsData.map((component) => component.src.replace("/", ""));
730730

731+
732+
console.log("Adilllllllllll",components);
733+
731734
const createComponentPages = (createPage, components) => {
732735
const pageTypes = [
733736
{ suffix: "", file: "index.js" },
@@ -739,6 +742,8 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
739742
pageTypes.forEach(({ suffix, file }) => {
740743
const path = `/projects/sistent/components/${name}${suffix}`;
741744
const componentPath = `./src/sections/Projects/Sistent/components/${name}/${file}`;
745+
746+
console.log(`Creating page for: ${path}`); // Add this log
742747
try {
743748
createPage({
744749
path,

0 commit comments

Comments
 (0)