MarriottLabs / mcom-performance

2 stars 8 forks source link

marriott.com performance hackathon

Submission information

To participate in the hackathon and to deploy your site to the http://labs.marriott.com/ site, you will need to fork this repository, and submit your changes in a pull request.

Click on the fork button located near the top of this page.

Fork Highlight

Clone your copy locally.

git clone https://github.com/your-github-username/mcom-performance

Make your changes.

It's generally a good idea to work off of branches. In the example below I'll create a branch called speed-boost.

git checkout -b speed-boost

Now feel free to edit the files how you'd like, using whatever method you are comfortable with.

Commit changes and push to your cloned repository.

The example command below shows how I would add and commit my changes to my modified index.html file.

git add index.html
git commit -m 'Added 10x speed boost to index.html'
git push origin speed-boost

Submit a Pull Request with your changes

Once you've pushed your work to GitHub, you can open a Pull Request.

For more information on this process, refer to the GitHub Forking Projects guide.

There is a special process in place for this repository that takes submitted pull requests and previews the code changes. You will see a bot account commenting on your pull request with more information.

Bot Example

Technical information

Marriott.com performance hackathon includes following pages

Marriott.com web application is fully responsive. We also use susy grid for layouts, which uses different breakpoints as below.

Below is the list of some of the javascript

CSS is generated using SASS. SASS files internally call partials which are per component.