Welcome to the source code for the Launch Pad site! The site is designed to look nice, but also to be clearly organized so that members can easily hack on it and make improvements.
Clone the repository
git clone https://github.com/ubclaunchpad/ubclaunchpad.github.io.git
cd ubclaunchpad.github.io
Start a local server
python -m SimpleHTTPServer 8888
or with Python 3
python3 -m http.server
The site will now be running on port 8888.
All CSS goes in the css
directory. All stylesheets are written in SCSS and transpiled to CSS for distribution.
To watch stylesheets for changes.
cd css && compass watch
If you don't happen to have Compass installed.
gem install compass
All JavaScript belongs in the js
directory. We strictly use ES5 and no transpilation at the moment, so no funny business! As a general rule, if you can do something either in CSS or in JavaScript, do it in CSS.
Before contributing, please test the site on at least the current versions of Chrome and Firefox to ensure everything looks OK. Push your changes to a separate branch on this repository and submit a pull request on GitHub. Assigning the PR to a web tech lead probably won't hurt either.
HTML: <div id="navbar">…</div>
CSS: _nav.scss
JavaScript: nav.js
HTML: <div id="banner">…</div>
CSS: _banner.scss
HTML: <div id="about">…</div>
CSS: _about.scss
HTML: <div id="team">…</div>
CSS: _team.scss
JavaScript: accordion.js
HTML: <div id="sponsors">…</div>
CSS: _sponsors.scss
JavaScript: sponsors.js
HTML: <div id="contact">…</div>
CSS: _contact.scss