Skip to content

Commit

Permalink
Add toggle-button component
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeaadil committed Dec 19, 2024
1 parent b6ed840 commit bb056ec
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 bb056ec

Please sign in to comment.