diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f5ebc44 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = false +trim_trailing_whitespace = true +charset = utf-8 +indent_size = 4 +indent_style = tab \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..623f4db --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,90 @@ +{ + "rules": { + "dot-notation": [ + 2 + ], + "indent": [ + 2, + "tab", + { + "SwitchCase": 1, + "ObjectExpression": "first" + } + ], + "quotes": [ + 2, + "double" + ], + "linebreak-style": [ + 2, + "unix" + ], + "no-console": [ + 2, + { + "allow": ["warn", "error"] + } + ], + "no-eq-null":[ + 2 + ], + "no-eval":[ + 2 + ], + "no-implied-eval":[ + 2 + ], + "no-redeclare": [ + 2, + { + "builtinGlobals": true + } + ], + "one-var": [ + 2, + "never" + ], + "prefer-const":[ + 2 + ], + "semi": [ + 2, + "always" + ], + "keyword-spacing":[ + 2, + { + "before": true, + "after": true, + "overrides": { + "if": { + "before": false + }, + "for": { + "before": false + }, + "while": { + "before": false + } + } + } + ], + "space-before-blocks":[ + 2, + "always" + ], + "space-before-function-paren": [ + 2, + "always" + ], + "strict":[ + 2, + "global" + ] + }, + "env": { + "es6": true, + "browser": true + }, + "extends": "eslint:recommended" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5d5fc26..04ba31f 100755 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,14 @@ +*.zip +*.rar .DS_Store -node_modules/ -*~ +.Thumbs +.thumbs ._* -build/* +~* +*~ +node_modules +build +.conf +.ftpconfig +.sftpconfig +package-lock.json \ No newline at end of file diff --git a/src/.htaccess b/.htaccess similarity index 100% rename from src/.htaccess rename to .htaccess diff --git a/.htmlhintrc b/.htmlhintrc new file mode 100644 index 0000000..f8e53ab --- /dev/null +++ b/.htmlhintrc @@ -0,0 +1,18 @@ +{ + "tagname-lowercase": true, + "attr-lowercase": true, + "attr-value-double-quotes": true, + "doctype-first": true, + "tag-pair": true, + "spec-char-escape": true, + "id-unique": true, + "src-not-empty": true, + "attr-no-duplication": true, + "tag-pair": true, + "tag-self-close": false, + "title-require": true, + "doctype-html5": true, + "inline-style-disabled": true, + "space-tab-mixed-disabled": "tab", + "alt-require": true +} \ No newline at end of file diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 0000000..35ebc7d --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,25 @@ +{ + "rules": { + "block-closing-brace-empty-line-before": "never", + "block-closing-brace-newline-after": "always", + "declaration-block-semicolon-newline-after": "always", + "block-opening-brace-space-before": "always", + "color-hex-case": "lower", + "color-named": "never", + "color-no-invalid-hex": true, + "function-comma-newline-after": "never-multi-line", + "function-comma-space-after": "always", + "no-duplicate-selectors": true, + "no-eol-whitespace": true, + "indentation": "tab", + "number-leading-zero": "always", + "property-no-unknown": [ true, { + "ignoreProperties": [ + "composes" + ] + }], + "selector-list-comma-newline-after": "always", + "unit-case": "lower", + "unit-whitelist": ["em", "rem", "s", "vmax", "vmin", "vh", "vw", "%", "px"] + } +} \ No newline at end of file diff --git a/LICENSE b/LICENSE index 6cfbdaa..eaeab69 100755 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Diego Islas Ocampo +Copyright (c) 2015 - 2017 Diego Islas Ocampo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3e7d946..36310b2 100755 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ -# Aegis Template -This template is the simple base for the Aegis Framework, it will allow you to create your webpage quickly, featuring the cutting edge technologies and features of HTML5, CSS3 and Javascript. +# Aegis Framework: Oregano -It also features many properties to make your website it mobile and social friendly! +Oregano is a simple HTML5, CSS3 and JavaScript template, this flavor features just the front-end technologies of Aegis instead of adding a Backend as the other flavors. It will allow you allow you to create your website quickly, featuring the cutting edge technologies. + +It also features many properties to make your website mobile, social friendly and even a progressive web app. Visit the [WebPage](http://www.aegisframework.com/) ## Quick Start: -1. Download the latest release from the [Releases Page](https://github.com/HyuchiaDiego/AegisTemplate/releases). +1. Download the latest release from the [Releases Page](https://github.com/AegisFramework/Oregano/releases/latest). 2. Unzip the File. 3. Place your content on the index.html file and create as many files as you need. 4. Place your custom style on the main.css file. @@ -17,10 +18,7 @@ For more information read the [documentation](http://www.aegisframework.com/docu ## Attributions: [Font Awesome](http://fontawesome.io) by Dave Gandy - -[Normalize CSS](http://necolas.github.io/normalize.css/) by Nicolas Gallagher and Jonathan Neal - [Animate CSS](http://daneden.github.io/animate.css/) by Daniel Eden ## License -Aegis is an Open Source project released under the [MIT license](https://github.com/HyuchiaDiego/AegisTemplate/blob/master/LICENSE). +Aegis is an Open Source project released under the [MIT license](https://github.com/HyuchiaDiego/AegisTemplate/blob/master/LICENSE). \ No newline at end of file diff --git a/dist/AegisTemplate-v0.2.1.min.zip b/dist/AegisTemplate-v0.2.1.min.zip deleted file mode 100644 index e96d0af..0000000 Binary files a/dist/AegisTemplate-v0.2.1.min.zip and /dev/null differ diff --git a/dist/AegisTemplate-v0.2.1.zip b/dist/AegisTemplate-v0.2.1.zip deleted file mode 100644 index 34c1ae0..0000000 Binary files a/dist/AegisTemplate-v0.2.1.zip and /dev/null differ diff --git a/src/error/400.html b/error/400.html similarity index 100% rename from src/error/400.html rename to error/400.html diff --git a/src/error/401.html b/error/401.html similarity index 100% rename from src/error/401.html rename to error/401.html diff --git a/src/error/403.html b/error/403.html similarity index 100% rename from src/error/403.html rename to error/403.html diff --git a/src/error/404.html b/error/404.html similarity index 100% rename from src/error/404.html rename to error/404.html diff --git a/src/error/500.html b/error/500.html similarity index 100% rename from src/error/500.html rename to error/500.html diff --git a/src/fonts/FontAwesome.otf b/fonts/FontAwesome.otf similarity index 100% rename from src/fonts/FontAwesome.otf rename to fonts/FontAwesome.otf diff --git a/src/fonts/fontawesome-webfont.eot b/fonts/fontawesome-webfont.eot similarity index 100% rename from src/fonts/fontawesome-webfont.eot rename to fonts/fontawesome-webfont.eot diff --git a/src/fonts/fontawesome-webfont.svg b/fonts/fontawesome-webfont.svg similarity index 100% rename from src/fonts/fontawesome-webfont.svg rename to fonts/fontawesome-webfont.svg diff --git a/src/fonts/fontawesome-webfont.ttf b/fonts/fontawesome-webfont.ttf similarity index 100% rename from src/fonts/fontawesome-webfont.ttf rename to fonts/fontawesome-webfont.ttf diff --git a/src/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff similarity index 100% rename from src/fonts/fontawesome-webfont.woff rename to fonts/fontawesome-webfont.woff diff --git a/src/fonts/fontawesome-webfont.woff2 b/fonts/fontawesome-webfont.woff2 similarity index 100% rename from src/fonts/fontawesome-webfont.woff2 rename to fonts/fontawesome-webfont.woff2 diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100755 index d53dd55..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,79 +0,0 @@ -'use strict'; - -var gulp = require('gulp'); -var download = require('gulp-download-stream'); -var pkg = require('./package.json'); -var zip = require('gulp-zip'); -var cssnano = require('gulp-cssnano'); -var closureCompiler = require('google-closure-compiler').gulp(); -var rename = require('gulp-rename'); -var htmlreplace = require('gulp-html-replace'); - -var name = 'AegisTemplate-v' + pkg.version + '.zip'; -var minName = 'AegisTemplate-v' + pkg.version + '.min.zip'; - -gulp.task('prepare-dev', () => { - - gulp.src('src/index.html') - .pipe(htmlreplace({ - scripts: { - src: ['js/artemis.js', 'js/main.js'], - tpl: '' - }, - stylesheets: { - src: ['style/animate.css', 'style/font-awesome.min.css', 'style/aegis.css', 'style/main.css'], - tpl: '' - } - })) - .pipe(gulp.dest('build/')); -}); - -gulp.task('prepare-prod', () => { - - gulp.src('src/style/animate.min.css') - .pipe(cssnano()) - .pipe(gulp.dest("src/style/")); - - gulp.src('src/index.html') - .pipe(htmlreplace({ - scripts: { - src: ['js/artemis.min.js', 'js/main.js'], - tpl: '' - }, - stylesheets: { - src: ['style/animate.min.css', 'style/font-awesome.min.css', 'style/aegis.min.css', 'style/main.css'], - tpl: '' - } - })) - .pipe(gulp.dest('build/')); -}); - -gulp.task('build-development', () => { - - return gulp.src(['build/*','src/**', '!src/js/*.min.js', '!src/style/!(font-awesome).min.css', '!**/.DS_Store', '!**/.gitignore', 'build/**', '!src/index.html'], {dot: true}) - .pipe(zip(name)) - .pipe(gulp.dest('dist/')); -}); - -gulp.task('build-production', () => { - - return gulp.src(['build/*','src/**', '!src/js/!(*.min|main).js', '!src/style/!(*.min|main).css', '!**/.DS_Store', '!**/.gitignore', 'build/**', '!src/index.html'], {dot: true}) - .pipe(zip(minName)) - .pipe(gulp.dest('dist/')); -}); - -gulp.task('download', () => { - - download("https://raw.githubusercontent.com/AegisFramework/Artemis/master/dist/artemis.js").pipe(gulp.dest("src/js/")); - download("https://raw.githubusercontent.com/HyuchiaDiego/AegisCSS/master/dist/aegis.css").pipe(gulp.dest("src/style/")); - - download("https://raw.githubusercontent.com/AegisFramework/Artemis/master/dist/artemis.min.js").pipe(gulp.dest("src/js/")); - download("https://raw.githubusercontent.com/HyuchiaDiego/AegisCSS/master/dist/aegis.min.css").pipe(gulp.dest("src/style/")); - - download("https://raw.githubusercontent.com/daneden/animate.css/master/animate.css").pipe(gulp.dest("src/style/")); - download({ - file: "animate.min.css", - url: "https://raw.githubusercontent.com/daneden/animate.css/master/animate.css" - }).pipe(gulp.dest("src/style/")); - -}); diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..483893b Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/icons/icon_128x128.png b/img/icons/icon_128x128.png new file mode 100644 index 0000000..4be0564 Binary files /dev/null and b/img/icons/icon_128x128.png differ diff --git a/img/icons/icon_150x150.png b/img/icons/icon_150x150.png new file mode 100644 index 0000000..f824759 Binary files /dev/null and b/img/icons/icon_150x150.png differ diff --git a/img/icons/icon_152x152.png b/img/icons/icon_152x152.png new file mode 100644 index 0000000..da9c136 Binary files /dev/null and b/img/icons/icon_152x152.png differ diff --git a/img/icons/icon_167x167.png b/img/icons/icon_167x167.png new file mode 100644 index 0000000..f908d75 Binary files /dev/null and b/img/icons/icon_167x167.png differ diff --git a/img/icons/icon_180x180.png b/img/icons/icon_180x180.png new file mode 100644 index 0000000..602f028 Binary files /dev/null and b/img/icons/icon_180x180.png differ diff --git a/img/icons/icon_192x192.png b/img/icons/icon_192x192.png new file mode 100644 index 0000000..2ffb9e3 Binary files /dev/null and b/img/icons/icon_192x192.png differ diff --git a/img/icons/icon_310x310.png b/img/icons/icon_310x310.png new file mode 100644 index 0000000..eb94281 Binary files /dev/null and b/img/icons/icon_310x310.png differ diff --git a/img/icons/icon_48x48.png b/img/icons/icon_48x48.png new file mode 100644 index 0000000..c568361 Binary files /dev/null and b/img/icons/icon_48x48.png differ diff --git a/img/icons/icon_512x512.png b/img/icons/icon_512x512.png new file mode 100644 index 0000000..d27f41a Binary files /dev/null and b/img/icons/icon_512x512.png differ diff --git a/img/icons/icon_60x60.png b/img/icons/icon_60x60.png new file mode 100644 index 0000000..a62b46b Binary files /dev/null and b/img/icons/icon_60x60.png differ diff --git a/img/icons/icon_70x70.png b/img/icons/icon_70x70.png new file mode 100644 index 0000000..49589e0 Binary files /dev/null and b/img/icons/icon_70x70.png differ diff --git a/img/icons/icon_76x76.png b/img/icons/icon_76x76.png new file mode 100644 index 0000000..74ecd05 Binary files /dev/null and b/img/icons/icon_76x76.png differ diff --git a/img/icons/icon_96x96.png b/img/icons/icon_96x96.png new file mode 100644 index 0000000..d8d4381 Binary files /dev/null and b/img/icons/icon_96x96.png differ diff --git a/src/index.html b/index.html similarity index 54% rename from src/index.html rename to index.html index 7ae25c9..fc22c9d 100755 --- a/src/index.html +++ b/index.html @@ -13,88 +13,80 @@ + - + - + - + - + - + + + - + + + + + + + + - - - - + + + - - - - - + - - - - - - - + + - - - - - + + + - + + +
-