1
0
mirror of https://gitlab.com/redline-racing-division/redline-racing-website.git synced 2025-06-15 14:46:47 +00:00

removed unused files

This commit is contained in:
Anson 2020-05-10 10:37:14 -07:00
parent 21adf69807
commit 9f9aaa46d0
14 changed files with 0 additions and 6630 deletions

View File

@ -1,105 +0,0 @@
"use strict";
// Load plugins
const autoprefixer = require("gulp-autoprefixer");
const browsersync = require("browser-sync").create();
const cleanCSS = require("gulp-clean-css");
const del = require("del");
const gulp = require("gulp");
const header = require("gulp-header");
const merge = require("merge-stream");
const plumber = require("gulp-plumber");
const rename = require("gulp-rename");
const sass = require("gulp-sass");
// Load package.json for banner
const pkg = require('./package.json');
// Set the banner content
const banner = ['/*!\n',
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
' */\n',
'\n'
].join('');
// BrowserSync
function browserSync(done) {
browsersync.init({
server: {
baseDir: "./"
},
port: 3000
});
done();
}
// BrowserSync reload
function browserSyncReload(done) {
browsersync.reload();
done();
}
// Clean vendor
function clean() {
return del(["./vendor/"]);
}
// Bring third party dependencies from node_modules into vendor directory
function modules() {
// Bootstrap
var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*')
.pipe(gulp.dest('./vendor/bootstrap'));
// jQuery
var jquery = gulp.src([
'./node_modules/jquery/dist/*',
'!./node_modules/jquery/dist/core.js'
])
.pipe(gulp.dest('./vendor/jquery'));
return merge(bootstrap, jquery);
}
// CSS task
function css() {
return gulp
.src("./scss/**/*.scss")
.pipe(plumber())
.pipe(sass({
outputStyle: "expanded",
includePaths: "./node_modules",
}))
.on("error", sass.logError)
.pipe(autoprefixer({
cascade: false
}))
.pipe(header(banner, {
pkg: pkg
}))
.pipe(gulp.dest("./css"))
.pipe(rename({
suffix: ".min"
}))
.pipe(cleanCSS())
.pipe(gulp.dest("./css"))
.pipe(browsersync.stream());
}
// Watch files
function watchFiles() {
gulp.watch("./scss/**/*", css);
gulp.watch("./**/*.html", browserSyncReload);
}
// Define complex tasks
const vendor = gulp.series(clean, modules);
const build = gulp.series(vendor, css);
const watch = gulp.series(build, gulp.parallel(watchFiles, browserSync));
// Export tasks
exports.css = css;
exports.clean = clean;
exports.vendor = vendor;
exports.build = build;
exports.watch = watch;
exports.default = build;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

6297
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,47 +0,0 @@
{
"title": "One Page Wonder",
"name": "startbootstrap-one-page-wonder",
"version": "5.0.7",
"scripts": {
"start": "node_modules/.bin/gulp watch"
},
"description": "A one page HTML template built with Bootstrap",
"keywords": [
"css",
"sass",
"html",
"responsive",
"theme",
"template"
],
"homepage": "https://startbootstrap.com/template-overviews/one-page-wonder",
"bugs": {
"url": "https://github.com/BlackrockDigital/startbootstrap-one-page-wonder/issues",
"email": "feedback@startbootstrap.com"
},
"license": "MIT",
"author": "Start Bootstrap",
"contributors": [
"David Miller (http://davidmiller.io/)"
],
"repository": {
"type": "git",
"url": "https://github.com/BlackrockDigital/startbootstrap-one-page-wonder.git"
},
"dependencies": {
"bootstrap": "4.3.1",
"jquery": "3.4.1"
},
"devDependencies": {
"browser-sync": "2.26.7",
"del": "5.1.0",
"gulp": "4.0.2",
"gulp-autoprefixer": "7.0.0",
"gulp-clean-css": "4.2.0",
"gulp-header": "2.0.9",
"gulp-plumber": "^1.2.1",
"gulp-rename": "1.4.0",
"gulp-sass": "4.0.2",
"merge-stream": "2.0.0"
}
}

View File

@ -1,31 +0,0 @@
.bg-primary {
background-color: $primary !important;
}
.btn-primary {
background-color: $primary;
border-color: $primary;
&:active,
&:focus,
&:hover {
background-color: darken($primary, 10%) !important;
border-color: darken($primary, 10%) !important;
}
&:focus {
box-shadow: 0 0 0 0.2rem fade-out($primary, 0.5);
}
}
.btn-secondary {
background-color: $secondary;
border-color: $secondary;
&:active,
&:focus,
&:hover {
background-color: darken($secondary, 10%) !important;
border-color: darken($secondary, 10%) !important;
}
&:focus {
box-shadow: 0 0 0 0.2rem fade-out($secondary, 0.5);
}
}

View File

@ -1,28 +0,0 @@
body {
@include body-font;
}
h1,
h2,
h3,
h4,
h5,
h6 {
@include heading-font;
}
.btn-xl {
text-transform: uppercase;
padding: 1.5rem 3rem;
font-size: 0.9rem;
font-weight: 700;
letter-spacing: 0.1rem;
}
.bg-black {
background-color: $black !important;
}
.rounded-pill {
border-radius: 5rem;
}

View File

@ -1,66 +0,0 @@
header.masthead {
position: relative;
overflow: hidden;
padding-top: calc(7rem + 72px);
padding-bottom: 7rem;
background: linear-gradient(0deg, $secondary 0%, $primary 100%);
background-repeat: no-repeat;
background-position: center center;
background-attachment: scroll;
background-size: cover;
.masthead-content {
z-index: 1;
position: relative;
.masthead-heading {
font-size: 4rem;
}
.masthead-subheading {
font-size: 2rem;
}
}
.bg-circle {
z-index: 0;
position: absolute;
border-radius: 100%;
background: linear-gradient(0deg, $primary 0%, $secondary 100%);
}
.bg-circle-1 {
height: 90rem;
width: 90rem;
bottom: -55rem;
left: -55rem;
}
.bg-circle-2 {
height: 50rem;
width: 50rem;
top: -25rem;
right: -25rem;
}
.bg-circle-3 {
height: 20rem;
width: 20rem;
bottom: -10rem;
right: 5%;
}
.bg-circle-4 {
height: 30rem;
width: 30rem;
top: -5rem;
right: 35%;
}
}
@media (min-width: 992px) {
header.masthead {
padding-top: calc(10rem + 55px);
padding-bottom: 10rem;
.masthead-content {
.masthead-heading {
font-size: 6rem;
}
.masthead-subheading {
font-size: 4rem;
}
}
}
}

View File

@ -1,8 +0,0 @@
@mixin heading-font {
font-family: 'Catamaran';
font-weight: 800 !important;
}
@mixin body-font {
font-family: 'Lato';
}

View File

@ -1,21 +0,0 @@
.navbar-custom {
padding-top: 1rem;
padding-bottom: 1rem;
background-color: fade-out($black, 0.3);
.navbar-brand {
text-transform: uppercase;
font-size: 1rem;
letter-spacing: 0.1rem;
font-weight: 700;
}
.navbar-nav {
.nav-item {
.nav-link {
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.1rem;
}
}
}
}

View File

@ -1,18 +0,0 @@
// Variables
// Restated Bootstrap Variables
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #868e96 !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$primary: #ee0979 !default;
$secondary: #ff6a00 !default;

View File

@ -1,9 +0,0 @@
// Core variables and mixins
@import "variables.scss";
@import "mixins.scss";
// Global CSS
@import "global.scss";
// Components
@import "navbar.scss";
@import "masthead.scss";
@import "bootstrap-overrides.scss";