Git Product home page Git Product logo

uk-gov-mirror / alphagov.digitalmarketplace-maintenance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crown-commercial-service/digitalmarketplace-maintenance

0.0 0.0 0.0 64 KB

helps generate a maintenance page

Home Page: https://github.com/alphagov/digitalmarketplace-aws/blob/master/playbooks/roles/nginx/files/maintenance.html

License: MIT License

JavaScript 4.52% HTML 1.41% CSS 94.07%

alphagov.digitalmarketplace-maintenance's Introduction

Digital Marketplace Maintenance Page

As of October 2019 the Digital Marketplace is no longer maintaining this repository. Use the GOV.UK Design System components for creating static pages.

The code in here was used to create our maintenance page. More generally, it is helpful for creating static pages for the Digital Marketplace.

What it does specifically

There are some manual steps and some automated steps in creating our static maintenance page. At the time of writing this has been used for exactly one page, so I didn't try too hard to automate stuff.

In order:

  • Manually copy + paste (and linted) the HTML for our 404 page
  • Manually added in our compiled CSS files generated from the buyer frontend app
    • specifically, govuk-template.css and application.css
    • copied in the IE8 versions each of these files as well
  • Manually added our compiled ie8.js file generated from the buyer frontend app
    • without this file, HTML5 elements break in IE8
  • Add some gulp tasks to process our large CSS files
  • Make manual changes to HTML
  • Updating the content
  • Adding default tracking
    • Spoke to Ash Chohan about what he wanted on this page and he gave me this

Running it

  1. Clone the repo
  2. Run npm install
  3. Run gulp to generate the new CSS files
  4. Run gulp bs to host the page at http://localhost:3000/maintenance.html

alphagov.digitalmarketplace-maintenance's People

Contributors

katstevens avatar pcraig3 avatar thedoublek avatar

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.