-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Levi Zitting
committed
Feb 15, 2019
0 parents
commit 4dbad2d
Showing
62 changed files
with
18,936 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"plugins": ["syntax-dynamic-import"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{twig,html}] | ||
indent_size = 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# The environment Craft is currently running in ('dev', 'staging', 'production', etc.) | ||
ENVIRONMENT="dev" | ||
|
||
# The secure key Craft will use for hashing and encrypting data | ||
SECURITY_KEY="" | ||
|
||
# The database driver that will be used ('mysql' or 'pgsql') | ||
DB_DRIVER="mysql" | ||
|
||
# The database server name or IP address (usually this is 'localhost' or '127.0.0.1') | ||
DB_SERVER="localhost" | ||
|
||
# The database username to connect with | ||
DB_USER="root" | ||
|
||
# The database password to connect with | ||
DB_PASSWORD="" | ||
|
||
# The name of the database to select | ||
DB_DATABASE="" | ||
|
||
# The database schema that will be used (PostgreSQL only) | ||
DB_SCHEMA="public" | ||
|
||
# The prefix that should be added to generated table names (only necessary if multiple things are sharing the same database) | ||
DB_TABLE_PREFIX="" | ||
|
||
# The port to connect to the database with. Will default to 5432 for PostgreSQL and 3306 for MySQL. | ||
DB_PORT="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module.exports = { | ||
"extends": [ | ||
"airbnb-base", | ||
"plugin:vue/recommended" | ||
], | ||
"rules": { | ||
"max-len": ["error", { | ||
"code": 120, | ||
}], | ||
"import/prefer-default-export": ["never"], | ||
"indent": ["error", 4], | ||
"vue/html-indent": ["error", 4], | ||
"vue/html-closing-bracket-newline": ["error", { | ||
"singleline": "never", | ||
"multiline": "always" | ||
}], | ||
"vue/max-attributes-per-line": [3, { | ||
"singleline": 3, | ||
"multiline": { | ||
"max": 1, | ||
"allowFirstLine": false | ||
} | ||
}] | ||
}, | ||
"parserOptions": { | ||
"parser": "babel-eslint", | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/.env | ||
/.idea | ||
/vendor | ||
.DS_Store | ||
/node_modules | ||
/web/** | ||
!/web/index.php | ||
!/web/.htaccess | ||
!/web/web.config | ||
/storage/** | ||
!/storage/.gitkeep | ||
/config/license.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
"extends": ["stylelint-config-recommended-scss"], | ||
"rules": { | ||
"no-empty-source": null, | ||
"block-no-empty": null, | ||
"no-descending-specificity": null, | ||
"font-family-no-missing-generic-family-keyword": null, | ||
"selector-list-comma-newline-after": "always", | ||
}, | ||
"processors": ["@mapbox/stylelint-processor-arbitrary-tags"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
export const components = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import ref from './ref'; | ||
|
||
export const directives = { | ||
ref, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default { | ||
inserted: (el, { value: register }, vnode) => { | ||
register({ el, component: vnode.componentInstance }); | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import Vue from 'vue'; | ||
|
||
import { components } from './components'; | ||
import { directives } from './directives'; | ||
|
||
const $app = window.$app || {}; | ||
|
||
if ($app.devMode === 'true') { | ||
Vue.config.devtools = true; | ||
} | ||
|
||
if ($app.devMode === 'false') { | ||
Vue.config.devtools = false; | ||
Vue.config.productionTip = false; | ||
} | ||
|
||
Vue.prototype.$global = $app; | ||
|
||
window.$vue = new Vue({ | ||
el: '#root', | ||
delimiters: ['[[', ']]'], | ||
components, | ||
directives, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import "typography"; | ||
@import "fonts"; | ||
@import "icons"; | ||
@import "containers"; | ||
@import "buttons"; | ||
@import "global"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.btn { | ||
appearance: none; | ||
cursor: pointer; | ||
text-decoration: none; | ||
background: transparent; | ||
margin: 0; | ||
padding: 0; | ||
border: none; | ||
display: inline-block; | ||
text-align: center; | ||
transition: color 250ms ease-in-out, background 250ms ease-in-out, border 250ms ease-in-out; | ||
|
||
|
||
&.btn-primary { | ||
|
||
&:hover, | ||
&:focus { | ||
&:not(.disabled) { | ||
|
||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.container { | ||
position: relative; | ||
max-width: 1188px; | ||
width: calc(100% - 8rem); | ||
margin: 0 auto; | ||
|
||
@include mq-below(x-small) { | ||
width: calc(100% - 4rem); | ||
} | ||
|
||
|
||
@include mq-below(tiny) { | ||
width: calc(100% - 2rem); | ||
} | ||
|
||
&.container-medium { | ||
max-width: 1075px; | ||
} | ||
|
||
&.container-xsmall { | ||
max-width: 840px; | ||
} | ||
|
||
&.container-small { | ||
max-width: 895px; | ||
} | ||
|
||
&.container-mid-small { | ||
max-width: 950px; | ||
} | ||
|
||
&.container-large { | ||
max-width: 1385px; | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
html { | ||
// This allows 1rem = 10px | ||
font-size: 62.5%; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
font-size: 1.6rem; | ||
} | ||
|
||
|
||
[v-cloak] { | ||
display: none !important; | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import "~normalize.css/normalize.css"; | ||
|
||
@import "../shared-vars.json"; | ||
|
||
@import "utils/all"; | ||
@import "base/all"; | ||
@import "pages/all"; | ||
@import "modules/all"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@import "blocks/all"; | ||
@import "components/all"; | ||
@import "navigation"; | ||
@import "footer"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "block"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.module-block { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import "image-overlay"; | ||
@import "cropped-img"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.component-cropped-img { | ||
position: relative; | ||
overflow: hidden; | ||
|
||
.img { | ||
z-index: 10; | ||
position: absolute; | ||
left: -10000%; | ||
right: -10000%; | ||
top: -10000%; | ||
bottom: -10000%; | ||
margin: auto; | ||
transform: scale(.101); | ||
min-width: 1000%; | ||
min-height: 1000%; | ||
max-width: 10000%; | ||
max-height: 10000%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.component-image-overlay { | ||
position: relative; | ||
|
||
&:before { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
height: 100%; | ||
width: 100%; | ||
background: color(grey, mid-dark); | ||
opacity: .6; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.module-footer { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.module-navigation { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "page"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.module-page { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import "functions"; | ||
@import "mixins"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@function color($color, $tone: 'base') { | ||
@if map-has-key($colors, $color) == true { | ||
@return map-get(map-get($colors, $color), $tone); | ||
} @else { | ||
@warn "Couldn't find a color named `#{$color}`."; | ||
@return inherit; | ||
} | ||
} | ||
|
||
|
||
@function z-index($level: 'default') { | ||
@if map-has_key($z-index, $level) == true { | ||
@return map-get($z-index, $level); | ||
} @else { | ||
@warn "Couldn't find a z-index `#{$level}`."; | ||
@return inherit; | ||
} | ||
} | ||
|
||
@function breakpoint($bp) { | ||
@if map-has_key($breakpoints, $bp) == true { | ||
@return map-get($breakpoints, $bp) + 0px; | ||
} @else { | ||
@return null; | ||
} | ||
} | ||
|
||
@function strip-unit($number) { | ||
@if type-of($number) == 'number' and not unitless($number) { | ||
@return $number / ($number * 0 + 1); | ||
} | ||
|
||
@return $number; | ||
} | ||
|
Oops, something went wrong.