Benjamin Harris 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
..
more-data 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
README.md 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
contract-content.html 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
contract-data.js 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
signature.png 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ
style.min.css 1aeef14fb0 Restructure repo: move files into internal/ and contracts/ subfolders 2 nedēļas atpakaļ

README.md

The data folder contains default content

The generator loads this content in the browser memory when you first open the app or after you click "Reset Data".

What’s in each file?

contract-content.html

Initial HTML for the contract content.


signature.png

The signature for the 1st party.

You can get a PNG file for a new signature by drawing it in the generator, clicking "Preview", and saving the signature image from the preview.


contract-data.js

Initial names and emails for the 1st and 2nd party.

export const contractData = {
    client: {
        name: "",
        email: ""
    },
    dev: {
        name: "",
        email: ""
    }
}

style.min.css

All the styles needed for a contract, concatenated and minified.


📁 /more-data/

PostCSS source code, a template to make the downloadable PHP file, 2 HTML partials for the signed and un-signed versions of the contract, a way to control the initial filename (including disabling the default timestamp — in contract-settings.js).

See more info in the /more-data/README file.