2021-08-28 07:16:32 +00:00
|
|
|
import type { BlitzPage } from "blitz";
|
2021-08-28 08:30:23 +00:00
|
|
|
import clsx from "clsx";
|
2021-09-07 20:59:38 +00:00
|
|
|
import { IoClose, IoCheckmark, IoCodeSlash } from "react-icons/io5";
|
2021-08-30 15:19:33 +00:00
|
|
|
|
2021-08-29 21:28:42 +00:00
|
|
|
import Layout from "../components/layout";
|
2021-08-28 07:16:32 +00:00
|
|
|
|
|
|
|
const Roadmap: BlitzPage = () => {
|
|
|
|
return (
|
2021-08-29 21:28:42 +00:00
|
|
|
<ul role="list" className="-mb-8">
|
|
|
|
{roadmap.map((feature, index) => {
|
|
|
|
const isDone = feature.status === "done";
|
|
|
|
const isInProgress = feature.status === "in-progress";
|
|
|
|
return (
|
|
|
|
<li key={feature.name}>
|
|
|
|
<div className="relative pb-8">
|
|
|
|
{index !== roadmap.length - 1 ? (
|
|
|
|
<span
|
|
|
|
className="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
|
|
aria-hidden="true"
|
|
|
|
/>
|
|
|
|
) : null}
|
|
|
|
<div className="relative flex space-x-3">
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
className={clsx(
|
|
|
|
isDone ? "bg-green-500" : isInProgress ? "bg-yellow-500" : "bg-gray-400",
|
|
|
|
"h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white",
|
|
|
|
)}
|
|
|
|
>
|
|
|
|
{isDone ? (
|
2021-09-07 20:59:38 +00:00
|
|
|
<IoCheckmark className="h-5 w-5 text-white" aria-hidden="true" />
|
2021-08-29 21:28:42 +00:00
|
|
|
) : isInProgress ? (
|
2021-09-07 20:59:38 +00:00
|
|
|
<IoCodeSlash className="h-5 w-5 text-white" aria-hidden="true" />
|
2021-08-29 21:28:42 +00:00
|
|
|
) : (
|
2021-09-07 20:59:38 +00:00
|
|
|
<IoClose className="h-5 w-5 text-white" aria-hidden="true" />
|
2021-08-29 21:28:42 +00:00
|
|
|
)}
|
|
|
|
</span>
|
2021-08-28 19:56:26 +00:00
|
|
|
</div>
|
2021-08-29 21:28:42 +00:00
|
|
|
<div className="min-w-0 flex-1 items-center flex justify-between space-x-4">
|
|
|
|
<div>
|
|
|
|
<p className="text-md xl:text-lg text-gray-900">{feature.name}</p>
|
|
|
|
</div>
|
2021-08-28 08:30:23 +00:00
|
|
|
</div>
|
2021-08-28 07:16:32 +00:00
|
|
|
</div>
|
2021-08-29 21:28:42 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
);
|
|
|
|
})}
|
|
|
|
</ul>
|
2021-08-28 07:16:32 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2021-08-28 08:30:23 +00:00
|
|
|
type RoadmapItem = {
|
|
|
|
name: string;
|
|
|
|
doneDate?: unknown;
|
|
|
|
} & (
|
|
|
|
| {
|
|
|
|
status: "done";
|
|
|
|
doneDate: Date;
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
status: "in-progress";
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
status: "to-do";
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
const roadmap: RoadmapItem[] = [
|
|
|
|
{
|
|
|
|
name: "Send SMS",
|
|
|
|
status: "done",
|
|
|
|
doneDate: new Date("2021-07-18T15:33:08Z"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Receive SMS",
|
|
|
|
status: "done",
|
|
|
|
doneDate: new Date("2021-08-01T10:54:51Z"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Make a phone call",
|
2021-09-06 21:17:23 +00:00
|
|
|
status: "done",
|
|
|
|
doneDate: new Date("2021-09-04T16:29:00"),
|
2021-08-28 08:30:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Receive a phone call",
|
2021-09-06 21:17:23 +00:00
|
|
|
status: "in-progress",
|
2021-08-28 08:30:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Get notified of incoming messages and calls",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Remove any phone call or message from history",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Allow incoming calls to go to voicemail",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Forward incoming messages and phone calls to your desired phone number",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Import contacts from your mobile phone",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Use Shellphone with multiple phone numbers at once",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Port your phone number to Shellphone - you won't have to deal with Twilio anymore!",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Send delayed messages",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Record phone calls",
|
|
|
|
status: "to-do",
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
2021-08-29 21:28:42 +00:00
|
|
|
Roadmap.getLayout = (page) => <Layout title="(Rough) Roadmap">{page}</Layout>;
|
2021-08-28 07:16:32 +00:00
|
|
|
Roadmap.suppressFirstRenderFlicker = true;
|
|
|
|
|
|
|
|
export default Roadmap;
|