Skip to content

Commit 7843c20

Browse files
committed
init wp
1 parent f5fa239 commit 7843c20

File tree

95 files changed

+68719
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+68719
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
git:
3+
depth: 3
4+
node_js:
5+
- "node"
6+
install: npm install
7+
script:
8+
- npm test
9+
- gulp
10+
cache:
11+
directories:
12+
- node_modules
13+
notifications:
14+
email: false

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013-2019 Blackrock Digital LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# [Start Bootstrap - Agency](https://startbootstrap.com/template-overviews/agency/)
2+
3+
[Agency](https://startbootstrap.com/template-overviews/agency/) is a one page agency portfolio theme for [Bootstrap](http://getbootstrap.com/) created by [Start Bootstrap](http://startbootstrap.com/). This theme features several content sections, a responsive portfolio grid with hover effects, full page portfolio item modals, a responsive timeline, and a working PHP contact form.
4+
5+
## Preview
6+
7+
[![Agency Preview](https://startbootstrap.com/assets/img/screenshots/themes/agency.png)](https://blackrockdigital.github.io/startbootstrap-agency/)
8+
9+
**[View Live Preview](https://blackrockdigital.github.io/startbootstrap-agency/)**
10+
11+
## Status
12+
13+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/BlackrockDigital/startbootstrap-agency/master/LICENSE)
14+
[![npm version](https://img.shields.io/npm/v/startbootstrap-agency.svg)](https://www.npmjs.com/package/startbootstrap-agency)
15+
[![Build Status](https://travis-ci.org/BlackrockDigital/startbootstrap-agency.svg?branch=master)](https://travis-ci.org/BlackrockDigital/startbootstrap-agency)
16+
[![dependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-agency/status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-agency)
17+
[![devDependencies Status](https://david-dm.org/BlackrockDigital/startbootstrap-agency/dev-status.svg)](https://david-dm.org/BlackrockDigital/startbootstrap-agency?type=dev)
18+
19+
## Download and Installation
20+
21+
To begin using this template, choose one of the following options to get started:
22+
* [Download the latest release on Start Bootstrap](https://startbootstrap.com/template-overviews/agency/)
23+
* Install via npm: `npm i startbootstrap-agency`
24+
* Clone the repo: `git clone https://github.com/BlackrockDigital/startbootstrap-agency.git`
25+
* [Fork, Clone, or Download on GitHub](https://github.com/BlackrockDigital/startbootstrap-agency)
26+
27+
## Usage
28+
29+
### Basic Usage
30+
31+
After downloading, simply edit the HTML and CSS files included with the template in your favorite text editor to make changes. These are the only files you need to worry about, you can ignore everything else! To preview the changes you make to the code, you can open the `index.html` file in your web browser.
32+
33+
### Advanced Usage
34+
35+
After installation, run `npm install` and then run `npm start` which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the `gulpfile.js` to see which tasks are included with the dev environment.
36+
37+
#### Gulp Tasks
38+
39+
- `gulp` the default task that builds everything
40+
- `gulp watch` browserSync opens the project in your default browser and live reloads when changes are made
41+
- `gulp css` compiles SCSS files into CSS and minifies the compiled CSS
42+
- `gulp js` minifies the themes JS file
43+
- `gulp vendor` copies dependencies from node_modules to the vendor directory
44+
45+
You must have npm installed globally in order to use this build environment.
46+
47+
## Bugs and Issues
48+
49+
Have a bug or an issue with this template? [Open a new issue](https://github.com/BlackrockDigital/startbootstrap-agency/issues) here on GitHub or leave a comment on the [template overview page at Start Bootstrap](http://startbootstrap.com/template-overviews/agency/).
50+
51+
## About
52+
53+
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
54+
55+
* https://startbootstrap.com
56+
* https://twitter.com/SBootstrap
57+
58+
Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/).
59+
60+
* http://davidmiller.io
61+
* https://twitter.com/davidmillerskt
62+
* https://github.com/davidtmiller
63+
64+
Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat).
65+
66+
## Copyright and License
67+
68+
Copyright 2013-2019 Blackrock Digital LLC. Code released under the [MIT](https://github.com/BlackrockDigital/startbootstrap-agency/blob/gh-pages/LICENSE) license.

gulpfile.js

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
"use strict";
2+
3+
// Load plugins
4+
const autoprefixer = require("gulp-autoprefixer");
5+
const browsersync = require("browser-sync").create();
6+
const cleanCSS = require("gulp-clean-css");
7+
const del = require("del");
8+
const gulp = require("gulp");
9+
const header = require("gulp-header");
10+
const merge = require("merge-stream");
11+
const plumber = require("gulp-plumber");
12+
const rename = require("gulp-rename");
13+
const sass = require("gulp-sass");
14+
const uglify = require("gulp-uglify");
15+
16+
// Load package.json for banner
17+
const pkg = require('./package.json');
18+
19+
// Set the banner content
20+
const banner = ['/*!\n',
21+
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
22+
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
23+
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
24+
' */\n',
25+
'\n'
26+
].join('');
27+
28+
// BrowserSync
29+
function browserSync(done) {
30+
browsersync.init({
31+
server: {
32+
baseDir: "./"
33+
},
34+
port: 3000
35+
});
36+
done();
37+
}
38+
39+
// BrowserSync reload
40+
function browserSyncReload(done) {
41+
browsersync.reload();
42+
done();
43+
}
44+
45+
// Clean vendor
46+
function clean() {
47+
return del(["./vendor/"]);
48+
}
49+
50+
// Bring third party dependencies from node_modules into vendor directory
51+
function modules() {
52+
// Bootstrap
53+
var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*')
54+
.pipe(gulp.dest('./vendor/bootstrap'));
55+
// Font Awesome CSS
56+
var fontAwesomeCSS = gulp.src('./node_modules/@fortawesome/fontawesome-free/css/**/*')
57+
.pipe(gulp.dest('./vendor/fontawesome-free/css'));
58+
// Font Awesome Webfonts
59+
var fontAwesomeWebfonts = gulp.src('./node_modules/@fortawesome/fontawesome-free/webfonts/**/*')
60+
.pipe(gulp.dest('./vendor/fontawesome-free/webfonts'));
61+
// jQuery Easing
62+
var jqueryEasing = gulp.src('./node_modules/jquery.easing/*.js')
63+
.pipe(gulp.dest('./vendor/jquery-easing'));
64+
// jQuery
65+
var jquery = gulp.src([
66+
'./node_modules/jquery/dist/*',
67+
'!./node_modules/jquery/dist/core.js'
68+
])
69+
.pipe(gulp.dest('./vendor/jquery'));
70+
return merge(bootstrap, fontAwesomeCSS, fontAwesomeWebfonts, jquery, jqueryEasing);
71+
}
72+
73+
// CSS task
74+
function css() {
75+
return gulp
76+
.src("./scss/**/*.scss")
77+
.pipe(plumber())
78+
.pipe(sass({
79+
outputStyle: "expanded",
80+
includePaths: "./node_modules",
81+
}))
82+
.on("error", sass.logError)
83+
.pipe(autoprefixer({
84+
browsers: ['last 2 versions'],
85+
cascade: false
86+
}))
87+
.pipe(header(banner, {
88+
pkg: pkg
89+
}))
90+
.pipe(gulp.dest("./css"))
91+
.pipe(rename({
92+
suffix: ".min"
93+
}))
94+
.pipe(cleanCSS())
95+
.pipe(gulp.dest("./css"))
96+
.pipe(browsersync.stream());
97+
}
98+
99+
// JS task
100+
function js() {
101+
return gulp
102+
.src([
103+
'./js/*.js',
104+
'!./js/*.min.js',
105+
'!./js/contact_me.js',
106+
'!./js/jqBootstrapValidation.js'
107+
])
108+
.pipe(uglify())
109+
.pipe(header(banner, {
110+
pkg: pkg
111+
}))
112+
.pipe(rename({
113+
suffix: '.min'
114+
}))
115+
.pipe(gulp.dest('./js'))
116+
.pipe(browsersync.stream());
117+
}
118+
119+
// Watch files
120+
function watchFiles() {
121+
gulp.watch("./scss/**/*", css);
122+
gulp.watch(["./js/**/*", "!./js/**/*.min.js"], js);
123+
gulp.watch("./**/*.html", browserSyncReload);
124+
}
125+
126+
// Define complex tasks
127+
const vendor = gulp.series(clean, modules);
128+
const build = gulp.series(vendor, gulp.parallel(css, js));
129+
const watch = gulp.series(build, gulp.parallel(watchFiles, browserSync));
130+
131+
// Export tasks
132+
exports.css = css;
133+
exports.js = js;
134+
exports.clean = clean;
135+
exports.vendor = vendor;
136+
exports.build = build;
137+
exports.watch = watch;
138+
exports.default = build;

img/header-bg-1.jpg

3.01 MB
Loading

img/header-bg-2.jpg

1 MB
Loading

img/header-bg-2.pxm

11.8 MB
Binary file not shown.

img/header-bg.jpg

233 KB
Loading

img/team/Andrew_Guess.jpg

34.3 KB
Loading

img/team/Andrew_Guess.png

378 KB
Loading

0 commit comments

Comments
 (0)