diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..36bf83f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab + +[{*.md,*.json}] +max_line_length = null diff --git a/.gitignore b/.gitignore index 30dc353..e3cf55e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,4 @@ -/prepros.cfg -/.netlify -/.jshintrc -/.gitattributes -/.editorconfig -/.bowerrc -/.DS_Store -Grid.css +.DS_Store +node_modules +public +/.env diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7e4ff24 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +sudo: false +language: node_js +node_js: + - 8 diff --git a/404.html b/404.html deleted file mode 100644 index b60cfaf..0000000 --- a/404.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Page Not Found - - - - -
-

Not found :(

-

Sorry, but the page you were trying to view does not exist.

-

It looks like this was the result of either:

- - -
- - - diff --git a/_redirects b/_redirects new file mode 100644 index 0000000..e69de29 diff --git a/app.js b/app.js new file mode 100644 index 0000000..428e63c --- /dev/null +++ b/app.js @@ -0,0 +1,61 @@ +require('dotenv').config() + +const htmlStandards = require('reshape-standard') +const cssStandards = require('spike-css-standards') +const jsStandards = require('spike-js-standards') +const pageId = require('spike-page-id') + +const SpikeDatoCMS = require('spike-datocms') +const postcssMixins = require('postcss-mixins') +const postcssColorFunc = require('postcss-color-mod-function') +const markdownItAttrs = require('markdown-it-attrs') + +const env = process.env.SPIKE_ENV +const Records = require('spike-records') +const locals = {} + + +module.exports = { + devtool: 'source-map', + matchers: { html: '*(**/)*.html', css: '*(**/)*.css', js: '*(**/)*.js' }, + vendor: 'assets/js/vendor/**', + ignore: ['_*.html', '**/layout.html','**/*.sgr','**/.*', '_cache/**', 'readme.md'], + reshape: htmlStandards({ + locals: (ctx) => { return Object.assign(locals)}, + markdownPlugins: [ markdownItAttrs] + }), + postcss: cssStandards({ + appendPlugins: [postcssMixins(), postcssColorFunc()], + + }), + babel: jsStandards(), + plugins: [ + new Records({ + addDataTo: locals, + projects: { + graphql: { + url: 'https://graphql.datocms.com/', + query: ` { + allProjects(filter: {editions: {eq: "950754"}}, orderBy: [name_ASC], first: 100) { + name + category + link + slug + creator { name } + image { url } + } + }`, + variables: { + startDate: new Date() + }, + headers: { + "Content-Type": "application/json", + Accept: "application/json", + Authorization: 'Bearer c7beb611e7b4ed9a3c3015e12875a0' + } + }, + transform: (res) => res.data.allProjects + } + }) + ] +} diff --git a/application/index.html b/application/index.html deleted file mode 100644 index 50a216f..0000000 --- a/application/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Dames Making Games VR Intensive Program: SPF90FPS - - - - - - - Apply to Participate in SPF 90 FPS - - - - - - diff --git a/assets/css/_forms.scss b/assets/css/_forms.scss new file mode 100644 index 0000000..cf8d50a --- /dev/null +++ b/assets/css/_forms.scss @@ -0,0 +1,387 @@ +// scss-lint:disable QualifyingElement + +// +// Textual form controls +// + +.form-control { + display: block; + width: 100%; + // // Make inputs at least the height of their button counterpart (base line-height + padding + border) + // height: $input-height; + padding: $input-padding-y $input-padding-x; + font-size: $font-size-base; + line-height: $input-line-height; + color: $input-color; + background-color: $input-bg; + // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. + background-image: none; + background-clip: padding-box; + border: $input-btn-border-width solid $input-border-color; + + // Note: This has no effect on `s in CSS. + @if $enable-rounded { + // Manually use the if/else instead of the mixin to account for iOS override + border-radius: $input-border-radius; + } @else { + // Otherwise undo the iOS default + border-radius: 0; + } + + @include box-shadow($input-box-shadow); + @include transition($input-transition); + + // Unstyle the caret on ` receives focus + // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to + // match the appearance of the native widget. + // See https://github.com/twbs/bootstrap/issues/19398. + color: $input-color; + background-color: $input-bg; + } +} + +// Make file inputs better match text inputs by forcing them to new lines. +.form-control-file, +.form-control-range { + display: block; +} + +// +// Labels +// + +// For use with horizontal and inline forms, when you need the label text to +// align with the form controls. +.col-form-label { + padding-top: calc(#{$input-padding-y} - #{$input-btn-border-width} * 2); + padding-bottom: calc(#{$input-padding-y} - #{$input-btn-border-width} * 2); + margin-bottom: 0; // Override the `