Skip to content

Instantly share code, notes, and snippets.

@thonerohh
Created March 17, 2024 14:09
Show Gist options
  • Save thonerohh/3c9ee95f7f583abe90b31890decd3fa3 to your computer and use it in GitHub Desktop.
Save thonerohh/3c9ee95f7f583abe90b31890decd3fa3 to your computer and use it in GitHub Desktop.
some simplified
1. input data about service in format name:content:action with (csv), insert nothing if it is the last one
2. input contacts of customer in format title:action, insert nothing if it is the last one
1: wil create array or object within "services" array:
["name", [images], [actions]]
{
"name": "title",
"image": "link",
"action": "link" default #contact
}
2: will create array or object within "contacts" object:
[title, action]
{
"title": name,
"action": link
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment