# New sign-in alert

URL: https://samva.dev/templates/sign-in-alert

Tell someone a new device signed in to their account, with the device drawn in markup, the details, a secure action and a prompt to turn on two-step verification.

## Guidance

- Pass the details as a list of label and value, such as the time with its time zone, so the reader can tell their own sign-in from someone else's. The device type is a laptop or a phone and is drawn in markup above the details.
- The two-step note is optional: pass the link only when two-step verification is off for the account. The default fixture omits it; long-content includes it. State only what your application recorded. The template never reads the clock.
- It is written for Tidepost, a fictional team chat app. There are no pictures to replace. The look lives in the theme tokens in starter.css and the design's stylesheet.

## Variables

| Variable | Meaning |
| --- | --- |
| accountEmail | Email address for account. |
| activityUrl | Link for activity. |
| details | Value for details. |
| deviceName | Value for device name. |
| deviceType | Value for device type. |
| firstName | Value for first name. |
| place | Value for place. |
| secureUrl | Link for secure. |
| twoStepUrl | Link for two step. |
| workspace | Value for workspace. |
