Skip to content

Instantly share code, notes, and snippets.

@PamornT
Created January 17, 2021 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PamornT/33e97658f181ace6e3b4ea7c257866ef to your computer and use it in GitHub Desktop.
Save PamornT/33e97658f181ace6e3b4ea7c257866ef to your computer and use it in GitHub Desktop.
{
"type": "bubble",
"size": "giga",
"body": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "image",
"url": "https://www.saturday-school.org/wp-content/uploads/2019/06/06-Daily-News-1024x239.png",
"size": "5xl",
"gravity": "top",
"aspectMode": "cover",
"aspectRatio": "9:2"
},
{
"type": "text",
"text": "17 มกราคม 2564",
"align": "center",
"margin": "md",
"weight": "bold"
}
]
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "1",
"size": "4xl",
"align": "center",
"weight": "bold"
},
{
"type": "text",
"text": "*",
"position": "absolute",
"size": "4xl",
"margin": "none",
"offsetTop": "-10px",
"offsetEnd": "14px",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "8",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"backgroundColor": "#FF00FF",
"height": "2px"
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "5",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "2",
"size": "4xl",
"align": "center",
"weight": "bold"
},
{
"type": "text",
"text": "*",
"position": "absolute",
"size": "4xl",
"margin": "none",
"offsetTop": "-10px",
"offsetEnd": "14px",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "9",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"backgroundColor": "#FF00FF",
"height": "2px"
},
{
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "3",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"width": "114px"
},
{
"type": "box",
"layout": "vertical",
"contents": [],
"borderWidth": "1px",
"borderColor": "#FF00FF",
"width": "1px"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "6",
"size": "4xl",
"align": "center",
"weight": "bold"
}
],
"borderWidth": "1px",
"width": "114px"
}
],
"height": "80px"
}
],
"margin": "xl"
},
{
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "ที่มา : หนังสือพิมพ์เดลินิวส์",
"size": "sm",
"margin": "lg",
"align": "center"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment