a standalone component built using github api
Default | Dark Theme On | User Not Found |
---|---|---|
Attribute | Values | Default Value |
---|---|---|
data-user | string github usernames | |
data-width | values that can be given for width (px, %, em, auto, initial, inherit etc.) | 400px |
data-height | values that can be given for height (px, %, em, auto, initial, inherit etc.) | 220px |
Add the external script in your body
<script src="https://cdn.jsdelivr.net/gh/sidarilaslan/timeline@main/js/timeline.js"></script>
Paste the div in your HTML code and change the data-user value
<div id="timeline" data-user="sidarilaslan"></div>
Optional width and height usage
<div id="timeline" data-user="sidarilaslan" data-width="400px" data-height="400px"></div>