Event
Event package is created via using FTD language to publish events on FTD web pages. With its simple and easy to use features its fun to create your FTD events.
Take a look at below documentation to know how to create events.
Event and its usage
Package Name
fifthtry.github.io/event
To use -- event
on your web package, add below into FASTN.ftd
file.
Event has dependency on -- common.host
and -- common.venue
data records. So, you need to add common
component dependency, add it as shown below:
-- fastn.dependency: fifthtry.github.io/event as event -- fastn.auto-import: event -- fastn.dependency: fifthtry.github.io/common as common -- fastn.auto-import: common
Once you add above lines into your web package, add event
into your .ftd
files. Also add host and venue details into -- common.host
record as shown below:
Example code for -- event
-- common.host amitu: Amit Upadhyay title: CEO, FifthTry, Inc email: amitu@fifthtry.com website: www.fifthtry.com avatar: $assets.files.images.events.amitu.jpg -- common.venue venue: name: Zoom location: Zoo website: will-be-updated-soon link: will-be-updated-soon -- event.event: FTD Workshop on Todo App src: $assets.files.images.events.workshop-21st-oct.png --> events banner image recommonded size 2000x1000px host: $amitu venue: $venue month: Oct date: 21 day: Friday timestamp: Fri, 21 Oct 2022, 12:00 noon presence: In Person body text here. You can also use FTD markup, typography or any FTD component inside this body text.
Event demo: