Skip to content

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.

License

MIT, BSD-3-Clause licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
LICENSE.txt
Notifications You must be signed in to change notification settings

ucla/foundation-sites

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status npm version Bower version Gem Version CDNJS dependencies Status

Requirements

Requires NodeJS to be installed on your machine. Works with version 4 and higher!

The Sass is compiled using libsass, which requires the GCC to be installed on your machine. Windows users can install it through MinGW, and Mac users can install it through the Xcode Command-line Tools.

Setup

New Project

We recommend using https://github.com/ucla/foundation-zurb-template for static sites and application prototypes.

Existing Project

To get going with UCLA Branded Foundation in an existing project, run the following command in a directory/folder of your choice.

git submodule add -b develop -f https://github.com/ucla/foundation-sites.git bower_components/foundation-sites

Which will create a .gitmodules file containing

[submodule "bower_components/foundation-sites"]
	path = bower_components/foundation-sites
	url = https://github.com/ucla/foundation-sites.git
	branch = develop

It'd be a little bit cleaner to use bowerlink.

Then run npm start to compile the documentation. When it finishes, a new browser window will open pointing to a BrowserSync server displaying the documentation.

Training

Want the guided tour to Foundation from the team that built it? The ZURB team offers comprehensive training courses for developers of all skill levels. If you're new to Foundation, check out the Introduction to Foundation Course to kickstart your skills, amplify your productivity, and get a comprehensive overview of everything Foundation has to offer. More Advanced users should check out the Advanced Foundation Course to learn the Advanced skills that ZURB uses to deliver quality client work in short timeframes.

Testing

Foundation has three kinds of tests: JavaScript, Sass, and visual regression. Refer to our testing guide for more details.

These commands will run the various tests:

  • npm run test:sass
  • npm run test:javascript:phantomjs
  • npm run test:visual

Update

Once installed you can pull down the latest version inside your application by running

git submodule update --remote foundation-sites

Further Reading

Git Tools, Submodules

Documentation

Foundation uses Gulp and SuperCollider to generate its documentation pages. Documentation can also be run from your local computer.

View documentation locally

You'll want to clone the Foundation repo first and install all the dependencies. You can do this using the following commands:

git clone [email protected]:ucla/foundation-sites.git
cd foundation-sites
npm install

Then just run npm start and the documentation will be compiled. It will also launch an instance of BrowserSync and open a tab in your default browser. The file structure:

foundation/
├── dist/
│   └── ...
├── docs/
│   └── ...

About

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.

Resources

License

MIT, BSD-3-Clause licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
LICENSE.txt

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 44.4%
  • HTML 35.5%
  • CSS 20.1%