diff --git a/app/about/layout.tsx b/app/about/layout.tsx
deleted file mode 100644
index 98956a52ad..0000000000
--- a/app/about/layout.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export default function AboutLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/about/page.tsx b/app/about/page.tsx
deleted file mode 100644
index 5a85989de9..0000000000
--- a/app/about/page.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { title } from "@/components/primitives";
-
-export default function AboutPage() {
- return (
-
-
About
-
This is a page with no components on it
-
- );
-}
diff --git a/app/blog/layout.tsx b/app/blog/layout.tsx
deleted file mode 100644
index 911d0bcf41..0000000000
--- a/app/blog/layout.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export default function BlogLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/blog/page.tsx b/app/blog/page.tsx
deleted file mode 100644
index c6d0c65b43..0000000000
--- a/app/blog/page.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { title } from "@/components/primitives";
-
-export default function BlogPage() {
- return (
-
-
Blog
-
- );
-}
diff --git a/app/clouds/layout.tsx b/app/clouds/layout.tsx
deleted file mode 100644
index d9ca1e80e4..0000000000
--- a/app/clouds/layout.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-export default function CloudsLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/clouds/page.tsx b/app/clouds/page.tsx
deleted file mode 100644
index d546612378..0000000000
--- a/app/clouds/page.tsx
+++ /dev/null
@@ -1,108 +0,0 @@
-"use client";
-
-// import { PencilSquareIcon } from "@heroicons/react/24/solid";
-// import { TrashIcon } from "@heroicons/react/24/solid";
-// import { EyeIcon } from "@heroicons/react/24/solid";
-import {
- // Chip,
- // getKeyValue,
- Table,
- TableBody,
- TableCell,
- TableColumn,
- TableHeader,
- TableRow,
- // Tooltip,
- // User,
-} from "@nextui-org/react";
-import React from "react";
-import useSWR from "swr";
-
-import { title } from "@/components/primitives";
-import { fetcher } from "@/utils/fetcher";
-
-export default function CloudsPage() {
- const getAccounts = useSWR(
- "http://localhost:8080/api/v1/providers/aws/accounts",
- fetcher,
- );
-
- const getAudits = useSWR(
- "http://localhost:8080/api/v1/providers/aws/audits",
- fetcher,
- );
-
- // TODO FIX TYPE CHECKING
- const getScanDetails = (account_id: number, detail: string) => {
- const scan =
- getAudits.data &&
- getAudits.data.find((audit: any) => audit.account_id === account_id);
-
- if (detail === "status") {
- return scan?.audit_complete && "Completed";
- }
-
- if (detail === "duration") {
- return scan?.audit_duration;
- }
-
- if (detail === "added") {
- return new Date(scan?.inserted_at).toDateString();
- }
-
- return;
- };
-
- // console.log("### getAccounts data", getAccounts.data);
- // console.log("### getAudits data", getAudits.data);
-
- // TODO FIX TYPE CHECKING
- const rowItems = getAccounts.data?.map((row: any) => (
-
- {row.aws_account_id}
- {row.provider_id}
- {row.alias}
- {row.connected && "Connected"}
- {row.groups.map(String).join(", ")}
- {getScanDetails(row.account_id, "status")}
- {getScanDetails(row.account_id, "duration")}
- TBD
- {row.resources}
- {getScanDetails(row.account_id, "added")}
-
- ));
-
- // TODO IMPLEMENT NEXT UI SPECIFIC TABLE COMPONENT WITH VARIED RENDERING
-
- return (
-
-
Cloud Accounts
-
- {getAccounts.error && (
- Failed to load
- )}
- {getAccounts.isLoading && (
- Loading
- )}
-
- {getAccounts.data && (
-
-
- ACCOUNT ID
- PROVIDER ID
- ALIAS
- CONNECTED
- GROUP(S)
- SCAN STATUS
- LAST SCAN
- NEXT SCAN
- RESOURCES
- ADDED
-
- {rowItems}
-
- )}
-
This is a page with "use client", useSWR
-
- );
-}
diff --git a/app/docs/layout.tsx b/app/docs/layout.tsx
deleted file mode 100644
index eaf63f3b99..0000000000
--- a/app/docs/layout.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export default function DocsLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/docs/page.tsx b/app/docs/page.tsx
deleted file mode 100644
index 4a2f19b357..0000000000
--- a/app/docs/page.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { title } from "@/components/primitives";
-
-export default function DocsPage() {
- return (
-
-
Docs
-
- );
-}
diff --git a/app/login/layout.tsx b/app/login/layout.tsx
deleted file mode 100644
index d3a4a58ea4..0000000000
--- a/app/login/layout.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export default function LoginLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/login/page.tsx b/app/login/page.tsx
deleted file mode 100644
index f07535d803..0000000000
--- a/app/login/page.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-"use client";
-
-import { EyeIcon } from "@heroicons/react/24/solid";
-import { EyeSlashIcon } from "@heroicons/react/24/solid";
-import {
- Button,
- Card,
- CardBody,
- CardFooter,
- CardHeader,
- Input,
- Link,
-} from "@nextui-org/react";
-import React from "react";
-
-export default function LoginPage() {
- const [isVisible, setIsVisible] = React.useState(false);
-
- const toggleVisibility = () => setIsVisible(!isVisible);
-
- return (
-
- );
-}
diff --git a/app/pricing/layout.tsx b/app/pricing/layout.tsx
deleted file mode 100644
index dc3db6af64..0000000000
--- a/app/pricing/layout.tsx
+++ /dev/null
@@ -1,13 +0,0 @@
-export default function PricingLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
- );
-}
diff --git a/app/pricing/page.tsx b/app/pricing/page.tsx
deleted file mode 100644
index 42e233392d..0000000000
--- a/app/pricing/page.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { title } from "@/components/primitives";
-
-export default function PricingPage() {
- return (
-
-
Pricing
-
- );
-}