2023-07-02 09:28:41 +00:00
|
|
|
import {type TourData, TourId} from "../types.js";
|
2023-07-01 13:46:23 +00:00
|
|
|
import {renderInContainer} from "../utilities.js";
|
|
|
|
|
|
|
|
const step01 = renderInContainer(
|
|
|
|
<>
|
|
|
|
<h1>Your Account Settings</h1>
|
|
|
|
</>,
|
|
|
|
);
|
|
|
|
|
2023-07-02 09:28:41 +00:00
|
|
|
const steps: TourData["steps"] = [
|
2023-07-01 13:46:23 +00:00
|
|
|
{
|
|
|
|
id: "account-settings-01",
|
|
|
|
text: step01,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
2023-07-02 09:28:41 +00:00
|
|
|
const eventHandlers: TourData["eventHandlers"] = [];
|
|
|
|
|
|
|
|
const requirements: TourData["requirements"] = {
|
|
|
|
mustBeLoggedIn: true,
|
|
|
|
path: "/settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
export const accountSettingsTour: TourData = {
|
|
|
|
id: TourId.InterfaceAccountSettings,
|
|
|
|
title: "Your Account Settings",
|
|
|
|
description: "View your account settings and all that you can customize.",
|
|
|
|
displayInOptionsPage: true,
|
|
|
|
eventHandlers,
|
|
|
|
requirements,
|
|
|
|
steps,
|
|
|
|
};
|