# Subscription welcome

URL: https://samva.dev/templates/subscription-welcome

Welcome a new subscriber with the day of the first delivery, a dated timeline up to it, what is in the first box, and one swap action.

## Guidance

- Pass the timeline as a list of date, day, title and detail, with a state of done, ahead or arrival and an optional deadline. The arrival step ends the rail, so it goes last. The first box is a list of name, quantity, farm and note, so a box of five items and one of eight render from the same source.
- The credit is optional: omit it, as the default fixture does, and the swap action runs straight into the note; long-content includes a referral credit. Format the delivery day and date, every timeline date and the swap cutoff in your application; the template never reads the clock.
- It is written for Gorsefold, a fictional weekly produce box. There are no pictures to replace, since the timeline and the delivery board are built in markup. The look lives in the theme tokens in starter.css and the design's stylesheet, so a restyle edits those files.

## Variables

| Variable | Meaning |
| --- | --- |
| boxName | Value for box name. |
| credit | Value for credit. |
| deliveryDate | Date for delivery. |
| deliveryDay | Value for delivery day. |
| deliveryPlace | Value for delivery place. |
| deliveryWindow | Value for delivery window. |
| firstName | Value for first name. |
| homeUrl | Link for home. |
| items | Value for items. |
| note | Value for note. |
| preferencesUrl | Link for preferences. |
| swapCutoff | Value for swap cutoff. |
| swapUrl | Link for swap. |
| timeline | Value for timeline. |
| unsubscribeUrl | Link for unsubscribe. |
