Skip to content
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.

Commit

Permalink
hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud committed Jun 7, 2019
0 parents commit 74ff3f8
Show file tree
Hide file tree
Showing 29 changed files with 10,696 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
tab_width = 4

[*.{json,txt,js}]
indent_style = space
indent_size = 2

[*.txt]
end_of_line = crlf
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "standard"
}
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# IntelliJ IDEA
.idea
*.iml

# Eclipse
.classpath
.project
.settings
bin

# OS X
.DS_Store

# Emacs
*~
\#*\#

# Vim
.swp

#VScode
.vscode/

# nodejs
node_modules/
!packages/opencensus-nodejs/test/instrumentation/node_modules
npm-debug.log
.nyc_output/
build/

#backup files
*--
*_backup

#log files
*.log

#istanbul files
coverage/
8 changes: 8 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"rules": {
"block-no-empty": true,
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"declaration-colon-space-after": "always",
"max-empty-lines": 2
}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
openprofiling.dev
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/css/style.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
371 changes: 371 additions & 0 deletions index.html

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "agnes",
"version": "1.0.0",
"description": "Agnes Template",
"author": "Pasquale Vitiello <[email protected]>",
"license": "GPLv3",
"repository": {
"type": "git",
"url": "https://bitbucket.org/pasqualevitiello/agnes.git"
},
"bugs": {
"url": "https://bitbucket.org/pasqualevitiello/agnes/issues"
},
"scripts": {
"clean": "rimraf dist/{css/*,js/*,images/*}",
"autoprefixer": "postcss -u autoprefixer -r dist/css/*",
"scss": "node-sass --output-style compressed -o dist/css src/scss",
"lint": "eslint src/js || true",
"lint-scss": "stylelint src/scss/*.scss --syntax scss || true",
"uglify": "mkdirp dist/js -p && uglifyjs src/js/*.js -m -c -o dist/js/main.min.js",
"imagemin": "imagemin src/images/* -o dist/images",
"serve": "browser-sync start --server --files \"dist/css/*.css, dist/js/*.js, **/*.html, !node_modules/**/*.html\"",
"build:css": "run-s lint-scss scss autoprefixer",
"build:js": "run-s lint uglify",
"build:images": "run-s imagemin",
"build": "run-s build:*",
"watch:css": "onchange \"src/scss\" -- run-s build:css",
"watch:js": "onchange \"src/js\" -- run-s build:js",
"watch:images": "onchange \"src/images\" -- run-s build:images",
"watch": "run-p serve watch:*",
"postinstall": "run-s build watch"
},
"devDependencies": {
"autoprefixer": "^9.0.1",
"browser-sync": "^2.12.8",
"eslint": "^5.2.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"imagemin-cli": "^3.0.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.9.2",
"npm-run-all": "^4.1.3",
"onchange": "^4.1.0",
"postcss-cli": "^6.0.0",
"rimraf": "^2.5.4",
"stylelint": "^9.4.0",
"uglify-es": "^3.3.10"
},
"homepage": "https://bitbucket.org/pasqualevitiello/agnes#readme",
"main": ".eslintrc.js"
}
56 changes: 56 additions & 0 deletions src/js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
(function () {
const doc = document.documentElement

doc.classList.remove('no-js')
doc.classList.add('js')

// Reveal animations
if (document.body.classList.contains('has-animations')) {
/* global ScrollReveal */
const sr = window.sr = ScrollReveal()

sr.reveal('.hero-title, .hero-paragraph, .hero-cta', {
duration: 1000,
distance: '40px',
easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)',
origin: 'left',
interval: 150
})

sr.reveal('.hero-illustration', {
duration: 1000,
distance: '40px',
easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)',
origin: 'right',
interval: 150
})

sr.reveal('.feature', {
duration: 1000,
distance: '40px',
easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)',
interval: 100,
origin: 'bottom',
scale: 0.9,
viewFactor: 0.5
})

const pricingTables = document.querySelectorAll('.pricing-table')

pricingTables.forEach(pricingTable => {
const pricingTableHeader = [].slice.call(pricingTable.querySelectorAll('.pricing-table-header'))
const pricingTableList = [].slice.call(pricingTable.querySelectorAll('.pricing-table-features li'))
const pricingTableCta = [].slice.call(pricingTable.querySelectorAll('.pricing-table-cta'))
const elements = pricingTableHeader.concat(pricingTableList).concat(pricingTableCta)

sr.reveal(elements, {
duration: 600,
distance: '20px',
easing: 'cubic-bezier(0.5, -0.01, 0, 1.005)',
interval: 100,
origin: 'bottom',
viewFactor: 0.5
})
})
}
}())
Loading

0 comments on commit 74ff3f8

Please sign in to comment.