Much like the HTML Event Widget, you can embed a calendar view of your events as a widget on your website using.
Important: This feature is experimental. Please expect and report issues in Discourse.
Quick Start
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src='https://cdn.jsdelivr.net/npm/fullcalendar@6.1.18/index.global.min.js'></script>
<script src='https://smokesignal.events/static/calendar_fullcalendar_v1.js'></script>
</head>
<body>
<div data-smoke-signal-calendar
data-api-url="https://smokesignal.events"
data-repository="did:plc:rkh7hrrprgtarfraofpbh4vt"></div>
</body>
</html>
Rendered Result
Usage
The calendar widget is used to display basic Smoke Signal event lists. To use this widget, define a container for the widget that includes the necessary configuration and include the Javascript for it.
data-smoke-signal-calendar
is required by the Javascript include to identify the element to populate and render.data-api-url
is the Smoke Signal instance to invoke the XRPC call to.data-repository
is the repository containing the events to display.