JSFiddle - React, Tailwind, and code Playground
by vniacob
HTML
<!DOCTYPE HTML>
<html>
<head>
<title>Astral Blessing</title>
<script src="https://visjs.github.io/vis-timeline/standalone/umd/vis-timeline-graph2d.min.js"></script>
<link href="https://visjs.github.io/vis-timeline/styles/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Titillium+Web:300,400,400i,600,600i,700" rel="stylesheet">
<style type="text/css">
body, html {
font-family: 'Titillium Web';
background-color: #ECEDE7;
}
ul {
padding-left: 1em;
padding-top: 0px;
margin-block-start: 0px;
margin-block-end: 0px;
}
.vis-timeline {
border: .3em solid #D4D4CD;
background-color: #F9F9F8;
}
.vis-item.vis-range {
border-color: #D4D4CD;
border-radius: 10px!important;
background-color: #ECEDE7;
line-height: 1em;
margin: 0px;
}
.vis-inner {
font-weight: bold;
}
.vis-sunday {
background: #ffaaaa;
}
.vis-major {
height: 2.5em;
}
</style>
</head>
<body>
<h1>Astral Blessing</h1>
<div id="visualization"></div>
<script type="text/javascript">
// DOM element where the Timeline will be attached
var container = document.getElementById('visualization');
var groups = new vis.DataSet([
{id: 0, content: 'CELESTIAL FESTIVAL ', value: 0},
{id: 6, content: 'OTHER EVENTS', value: 0},
{id: 8, content: 'BURNING WORLD', value: 0},
{id: 98, content: 'Spell Trace Fever Time', value: 0},
{id: 99, content: 'Sunny Sunday', value: 0},
]);
// Create a DataSet (allows two way data-binding)
var items = new vis.DataSet([
{id: 001, group: 0, start: '2020-08-26T21:00:00Z', end: '2020-09-22T23:59:59Z', content: 'Celestial Festival, Celestial Skills, Celestial Main Events, The Fire Thief, Princess Parade, Celestial Jackpot, Ride the Hot-Air Balloon'},
{id: 002, group: 0, start: '2020-08-26T21:00:00Z', end:...