Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1004 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 1004 Bytes

Invitations

The hosted app allows you to send out links to others that will render an animated invitation.

The app doesn't require or collect any personal information from you. It will just read the data from the URL and use it to display your personal information for everyone who opens that link.

Here is out it works:

Run e.g. this in your JS console:

const options = {
    content: "Here is my text.\nCheck it out",
    img: "https://live.staticflickr.com/4150/5045502202_1d867c8a41_b.jpg"
};
window.open("https://vikingair.github.io/invitations/?q=" + btoa(JSON.stringify(options)));

This will open the link with the given content and image directly for you.

Options

All options are optional and here is a complete list:

 Option Type  Default
content string Here could be your text
song URL -
img URL -
imgPosition object-fit CSS attribute -
envelopeColor CSS color #ea899a
confettiColor CSS color - (colorful)