chore: remove unused intro code (#65855)

This commit is contained in:
Oliver Eyton-Williams
2026-02-17 18:22:22 +01:00
committed by GitHub
parent 3a3b5e9395
commit 52e9bd83db
8 changed files with 10 additions and 258 deletions
@@ -17,10 +17,6 @@ const codeAlly = path.resolve(
__dirname,
'../../src/templates/Challenges/codeally/show.tsx'
);
const intro = path.resolve(
__dirname,
'../../src/templates/Introduction/intro.tsx'
);
const superBlockIntro = path.resolve(
__dirname,
'../../src/templates/Introduction/super-block-intro.tsx'
@@ -169,25 +165,6 @@ function getProjectPreviewConfig(challenge, allChallengeNodes) {
};
}
exports.createBlockIntroPages = function (createPage) {
return function (edge) {
const {
fields: { slug },
frontmatter: { block },
id
} = edge.node;
createPage({
path: slug,
component: intro,
context: {
block,
id
}
});
};
};
exports.createSuperBlockIntroPages = function (createPage) {
return function (edge) {
const {