Skip to content
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

Enable adding new pages to the site #494

Open
1 task done
huima opened this issue Mar 1, 2024 · 2 comments
Open
1 task done

Enable adding new pages to the site #494

huima opened this issue Mar 1, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@huima
Copy link

huima commented Mar 1, 2024

Have you read the Contributing Guidelines on issues?

Description

Eventhough you can add links to other sites by adding links to header or footer, it could make sense to enable the possibility to add new pages to the nextjs site by copying for example pages directory from project directory to the .eventcatalog directory in eventcatalog/bin/eventcatalog.js script.

Adding:

fs.copySync(path.join(projectDIR, 'pages'), path.join(eventCatalogLibDir, 'pages'));

To each of the commands could be enough?

Motivation

This would enable users to define new pages in the project directory - or even overwrite some functionality of Event Catalog pages if -- for some strange reason -- they would need to do something like that.

@boyney123
Copy link
Owner

Interesting idea, what kind of pages are you looking to add?

@boyney123 boyney123 added the enhancement New feature or request label Apr 12, 2024
@alkeshdagade
Copy link

@boyney123 Not sure what @huima is looking for, however from my perspective this feature will help to customize Catalog as per business need e.g. we can have subdomains and have linkage between domain, subdomain and events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants