Giter Site home page Giter Site logo

nickfalcone / amplify Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.81 MB

Build AMP pages quickly. Compress images. AMP validation at build time.

Home Page: https://amplify.surge.sh/

License: MIT License

JavaScript 11.31% HTML 70.98% SCSS 17.71%
amp amp-html build-tool gulpfile

amplify's People

Contributors

dependabot[bot] avatar nickfalcone avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mrcrap

amplify's Issues

Add ADA example

There should be at least one example specifically on ADA practices, ex:

  • passing focus
  • [text] binding to update value of accordion header based on open/closed state

Support multiple scss files

Currently, amplify is limited to one scss file, which is then converted to css. gulpInjectString injects style.css into all HTML files, after the <style amp-custom> tag:

gulp.task('html', () => {
    let cssContent = fs.readFileSync("src/style/style.css", "utf8");
    gulp.src("src/components/*.html")
        .pipe(inject.after('style amp-custom>', cssContent))
        .pipe(htmlmin({collapseWhitespace: true}))
        .pipe(gulp.dest("public/"))
        .pipe(reload({
            stream: true
    }));
});

Will review readFileSync docs and try to pass more than one file path.

test

test automation on kanban board

Update amp-cache

Given parameters specified by update-cache request, create a node script that takes in a URL, public/private key, and flushes AMP cache for that URL.

Consume remote data

Use amp-state and amp-bind to fetch and return JSON service inside amp-list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.