diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..94075e99 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Code School + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index b1399885..2ee3d2b9 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,84 @@ -# Bootstrap Portfolio +# Build a Portfolio Using Bootstrap Welcome to the Bootstrap Portfolio Project! For this project, you'll be creating a personal web page to show off your work. We will test your HTML knowledge and then it will be up to you to use CSS to style your own page and make it unique. -Please follow the instructions below to complete the project. Be sure to run tests to make sure your tests are passing before submitting your code. +You’ll build a personal web page using Bootstrap, which should look similar to this one: -## Getting Started +![Bootstrap Portfolio](http://courseware.codeschool.com.s3.amazonaws.com/projects/build-a-portfolio-using-bootstrap.png) -To get started with this project, head over to the [HTML Bootstrap](#) project on Code School, and begin! +## What You’ll Use -For further instructions on how to get the app setup locally, visit our wiki: +- HTML +- Bootstrap -1. [Welcome](https://github.com/codeschool/project-bootstrap-portfolio/wiki) -2. [Prerequisites](https://github.com/codeschool/project-bootstrap-portfolio/wiki/Prerequisites) -3. [Setup](https://github.com/codeschool/project-bootstrap-portfolio/wiki/Setup) -4. [What we'll build](https://github.com/codeschool/project-bootstrap-portfolio/wiki/What-we'll-build) -5. [Step by step](https://github.com/codeschool/project-bootstrap-portfolio/wiki/Step-by-step) +We'll start you off with a few CSS styles that you can build on that should help get things started. + +## What You’ll Learn + +You will further your Bootstrap skills, feel more comfortable writing Bootstrap code in a real-world scenario, and have the option of using this project as your real portfolio page. + +## Live Demo + +[Check out this link](https://codeschool-project-demos.github.io/BootstrapPortfolioProject/) to see a working version of this project. Feel free to customize your project even further by adding more custom CSS styles to it once you've completed the steps. + +## Setup + +Open this project’s directory in a text editor to complete this project. A text editor like [Atom](https://atom.io/) or [Sublime Text](https://www.sublimetext.com/) will do the job. You will make changes to the `src/index.html` file to satisfy the requirements. + +## Tasks + +Complete the following tasks to finish this project. + +### Create the Navigation Bar + +At the top of our page, we'll want to create a `navbar`. Here is a [sample navbar](https://github.com/codeschool/BootstrapPortfolioProject/wiki/Sample-Navigation-Bar) to help you get set up. Also feel free to check out Twitter Bootstrap's [documentation on navbars](http://getbootstrap.com/components/#navbar). MENU + +### Name in Navbar + +Change the contents of the `` tag that has the `navbar-brand` CSS class to include your name instead of "Brand". MENU + +### Menu in Navbar + +Change the contents of the `` tags that are within the `
  • ` menu elements. One tag should read "Home", and the other "About". MENU + +### Create the Carousel + +Let's place a Bootstrap Carousel under our navbar. Here is a [sample carousel](https://github.com/codeschool/BootstrapPortfolioProject/wiki/Sample-Carousel) to help you get set up. You can always learn more about Bootstrap's Carousel in their [official documentation](http://getbootstrap.com/javascript/#carousel). MENU + +### Carousel Items + +Change the three `

    ` and `

    ` tags that are found under each `.item` element within our carousel to include three tag-lines. You can either use similar content that was already available in the page _(under "Who I am", "What I do", etc)_ or come up with original content for yourself. MENU + +### Using Bootstrap's Grid System + +Let's display some elements side-by-side using the Grid System. To do so, under our carousel, let's create three nested `

    ` tags. One should have the `marketing` CSS class, the next should have the `container` CSS class, and the third should have the `row` CSS class. MENU + +### Creating the Marketing Columns + +Inside of `.row`, add three `div` elements with the `col-md-4` CSS class. Each of these elements should have a: - `span` tag with the `glyphicon` class, plus another class indicating [which icon you'd like to use](http://getbootstrap.com/components/#glyphicons-glyphs) _(ie. "glyphicon-music", or "glyphicon-camera", etc)_. - `h2` tag with a skill in it _(ie. "HTML & CSS", or "JavaScript", or "Design", etc)_. - `p` tag describing why you enjoy using each skill _(ie. "I enjoy making the web come to life with Angular", etc)_. MENU + +### Create the Footer + +Under `.marketing`, let's create a `footer` element. Our footer needs to have a `div` inside it with the `container` CSS class. _You'll see the footer stick to the bottom of the page, which happens because of some styling code we made available._ MENU + +### The Elements Inside our Footer + +Inside our footer container, let's create two elements: an `h3` tag with a title inviting your visitors to get in touch with you, and a `p` tag describing how your visitors can get in touch. MENU + +### Cleaning Things Up + +Let's remove the `.header`, `.tagline`, `.skills` and `.contact` elements as the same information should all be part of the carousel, marketing and footer elements now. + +## Next Steps + +Now that you’re done, we highly encourage you to open the `src/main.css` file and customize things as much as you’d like! + +You should also make your completed project available online so you can share your progress with others! One way of doing this is by using GitHub Pages. + +To deploy your `/src` directory to GitHub Pages, be sure to commit all of your changes and make a new branch called `gh-pages`. Once you are checked into the `gh-pages` branch, run the following command: + +``` +git subtree push --prefix src origin gh-pages +``` + +This will push the `src` folder up to GitHub on the `gh-pages` branch. After that, you should be able to open up `http://username.github.io/BootstrapPortfolioProject`, where `username` is your GitHub username. diff --git a/package.json b/package.json index a6908420..41a2c520 100644 --- a/package.json +++ b/package.json @@ -5,18 +5,23 @@ "private": true, "scripts": { "start": "browser-sync start --server ./src --files ./src", - "test": "mocha test/*.spec.js" + "test": "mocha --compilers js:babel-register test/*.spec.js" }, "author": "Sergio Cruz ", "license": "MIT", "devDependencies": { + "babel-preset-es2015": "^6.18.0", + "babel-register": "^6.18.0", "browser-sync": "^2.14.0", "chai": "^3.5.0", "jsdom": "^9.4.1", "mocha": "^3.0.1" }, - "engines" : { - "node" : ">=6.2", - "npm": ">=3.8" + "engines": { + "node": ">=4.6", + "npm": ">=2.15" + }, + "babel": { + "presets": ["es2015"] } } diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 00000000..6404f0f0 Binary files /dev/null and b/screenshot.png differ