Here are some guidelines to help you get started.
- Clone the repository to your local machine:
git clone https://github.com/sitecorelabs/sitecore-xmcloud-components-layout-container
- Navigate to the project directory:
cd sitecore-xmcloud-components-layout-container
- Install the dependencies:
npm install
The main component you will be working on is located in the src/components
directory.
src/components/LayoutContainer.tsx
: Main React component.src/components/assets/sass/layout-container/index.scss
: Main SCSS file for styling.src/components/assets/sass/layout-container/_functions.scss
: SCSS functions.src/components/assets/sass/layout-container/_variables.scss
: SCSS variables.
We use ESLint and Prettier to maintain code quality and consistency. Please make sure your code adheres to the style guidelines by running:
npm run lint
- Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name
- Make your changes and commit them with a clear and descriptive commit message:
git commit -m "Add feature: your feature description"
- Push your changes to repository:
git push origin feature/your-feature-name
- Open a pull request against the main repository.
Thank you for your contributions!