Skip to content

Commit

Permalink
Add toggle-button component
Browse files Browse the repository at this point in the history
Signed-off-by: eyeaadil <[email protected]>
  • Loading branch information
eyeaadil committed Dec 19, 2024
1 parent b6ed840 commit fe4e389
Show file tree
Hide file tree
Showing 7 changed files with 716 additions and 284 deletions.
5 changes: 5 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,9 @@ exports.createPages = async ({ actions, graphql, reporter }) => {

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


console.log("Adilllllllllll",components);

const createComponentPages = (createPage, components) => {
const pageTypes = [
{ suffix: "", file: "index.js" },
Expand All @@ -739,6 +742,8 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
pageTypes.forEach(({ suffix, file }) => {
const path = `/projects/sistent/components/${name}${suffix}`;
const componentPath = `./src/sections/Projects/Sistent/components/${name}/${file}`;

console.log(`Creating page for: ${path}`); // Add this log
try {
createPage({
path,
Expand Down
Loading

0 comments on commit fe4e389

Please sign in to comment.