/gift-card

Primary LanguageCSSMIT LicenseMIT

Gift card

A static page has a gift card in which allows user to customize title and other contents.

How to use

The page uses request parameters to customize title, message, soundclound, etc.

A simple template on url pattern as bellow:

https://lthoang.github.io/gift-card/?ot=<outside title>&it=<inside title>&m=<message>

Params list:

  • ot (outside-title): title at the gift card's outside page
  • it (inside-title): title at the gift card's inside page
  • m (message): message content of the gift card's
  • os (outside subtitle): sub-title of the gift cart's outside page
  • op (outside-picture): encoded url of the picture outside the gift card
  • ip (inside-picture): encoded url of the picture inside the gift card
  • sc (sound-cloud): encoded source path of embed sound cloud iframe.
  • sch (sound-cloud-hidden): the sound cloud component will be hidden if set this parameter to true

Demo