diff --git a/bun.lockb b/bun.lockb new file mode 100644 index 0000000..5ce9deb Binary files /dev/null and b/bun.lockb differ diff --git a/public/media/browsers/chrome.svg b/public/media/browsers/chrome.svg new file mode 100644 index 0000000..f9533e1 --- /dev/null +++ b/public/media/browsers/chrome.svg @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/public/media/browsers/edge.svg b/public/media/browsers/edge.svg new file mode 100644 index 0000000..f744852 --- /dev/null +++ b/public/media/browsers/edge.svg @@ -0,0 +1,53 @@ + \ No newline at end of file diff --git a/public/media/browsers/firefox.svg b/public/media/browsers/firefox.svg new file mode 100644 index 0000000..2f6c51e --- /dev/null +++ b/public/media/browsers/firefox.svg @@ -0,0 +1,147 @@ + + + \ No newline at end of file diff --git a/public/media/browsers/safari.svg b/public/media/browsers/safari.svg new file mode 100644 index 0000000..47ae0d5 --- /dev/null +++ b/public/media/browsers/safari.svg @@ -0,0 +1,50 @@ + + \ No newline at end of file diff --git a/public/media/browsers/samsung.svg b/public/media/browsers/samsung.svg new file mode 100644 index 0000000..8689cd9 --- /dev/null +++ b/public/media/browsers/samsung.svg @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/src/components/dashboard/org/status-page/create-status-page-dialog.tsx b/src/components/dashboard/org/status-page/create-status-page-dialog.tsx new file mode 100644 index 0000000..3562fb5 --- /dev/null +++ b/src/components/dashboard/org/status-page/create-status-page-dialog.tsx @@ -0,0 +1,36 @@ +import { ReactElement } from "react"; +import { + Dialog, + DialogContent, + DialogDescription, + DialogHeader, + DialogTitle, + DialogTrigger, +} from "@/components/ui/dialog"; +import { Button } from "@/components/ui/button"; +import SimpleTooltip from "@/components/simple-tooltip"; + +const CreateStatusPageDialog = (): ReactElement => { + return ( + + ); +}; +export default CreateStatusPageDialog; diff --git a/src/components/dashboard/org/status-page/status-page-list.tsx b/src/components/dashboard/org/status-page/status-page-list.tsx index 904a87b..51c77fc 100644 --- a/src/components/dashboard/org/status-page/status-page-list.tsx +++ b/src/components/dashboard/org/status-page/status-page-list.tsx @@ -1,13 +1,12 @@ "use client"; import { ReactElement } from "react"; -import { Button } from "@/components/ui/button"; -import SimpleTooltip from "@/components/simple-tooltip"; import { Organization } from "@/app/types/org/organization"; import { useOrganizationContext } from "@/app/provider/organization-provider"; import { OrganizationState } from "@/app/store/organization-store"; import { StatusPage as StatusPageType } from "@/app/types/page/status-page"; import StatusPage from "@/components/dashboard/org/status-page/status-page"; +import CreateStatusPageDialog from "@/components/dashboard/org/status-page/create-status-page-dialog"; /** * A list of status pages for the @@ -22,11 +21,9 @@ const StatusPageList = (): ReactElement => { return (
- {device.location ?? "Unknown Location"} ·{" "} - {timeSinceFirstLogin} -
++ {device.location ?? "Unknown Location"} ·{" "} + {timeSinceFirstLogin} +
+