From 33f7721b694d2080260905c8f1088b2b967b420c Mon Sep 17 00:00:00 2001 From: ceriddenn Date: Sat, 16 Mar 2024 14:25:01 -0400 Subject: [PATCH] refactor: move old comps into dep folder --- apps/app/{ => pages-dep}/components/BlacklistedModal.tsx | 0 apps/app/{ => pages-dep}/components/Finished.tsx | 0 apps/app/{ => pages-dep}/components/Footer.tsx | 0 apps/app/{ => pages-dep}/components/Layout.tsx | 0 apps/app/{ => pages-dep}/components/Loading.tsx | 0 apps/app/{ => pages-dep}/components/LoginTabItems.tsx | 0 apps/app/{ => pages-dep}/components/Navbar.tsx | 0 apps/app/{ => pages-dep}/components/TurnstileWidget.tsx | 0 .../{ => pages-dep}/components/account/AccountGameplayItem.tsx | 0 apps/app/{ => pages-dep}/components/account/DeleteAccModal.tsx | 0 apps/app/{ => pages-dep}/components/dashboard/Layout.tsx | 0 apps/app/{ => pages-dep}/components/dashboard/Sidebar.tsx | 0 .../app/{ => pages-dep}/components/dashboard/status/Account.tsx | 0 .../{ => pages-dep}/components/dashboard/status/Maintenance.tsx | 0 apps/app/{ => pages-dep}/components/dashboard/status/Review.tsx | 0 apps/app/{ => pages-dep}/components/dashboard/status/Stats.tsx | 0 apps/app/{ => pages-dep}/components/dashboard/status/Upload.tsx | 0 .../{ => pages-dep}/components/dashboard/status/WaldoSite.tsx | 0 .../{ => pages-dep}/components/portal/developers/Sidebar.tsx | 0 apps/app/server/trpc/router/site/getPageData.ts | 2 +- 20 files changed, 1 insertion(+), 1 deletion(-) rename apps/app/{ => pages-dep}/components/BlacklistedModal.tsx (100%) rename apps/app/{ => pages-dep}/components/Finished.tsx (100%) rename apps/app/{ => pages-dep}/components/Footer.tsx (100%) rename apps/app/{ => pages-dep}/components/Layout.tsx (100%) rename apps/app/{ => pages-dep}/components/Loading.tsx (100%) rename apps/app/{ => pages-dep}/components/LoginTabItems.tsx (100%) rename apps/app/{ => pages-dep}/components/Navbar.tsx (100%) rename apps/app/{ => pages-dep}/components/TurnstileWidget.tsx (100%) rename apps/app/{ => pages-dep}/components/account/AccountGameplayItem.tsx (100%) rename apps/app/{ => pages-dep}/components/account/DeleteAccModal.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/Layout.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/Sidebar.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/Account.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/Maintenance.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/Review.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/Stats.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/Upload.tsx (100%) rename apps/app/{ => pages-dep}/components/dashboard/status/WaldoSite.tsx (100%) rename apps/app/{ => pages-dep}/components/portal/developers/Sidebar.tsx (100%) diff --git a/apps/app/components/BlacklistedModal.tsx b/apps/app/pages-dep/components/BlacklistedModal.tsx similarity index 100% rename from apps/app/components/BlacklistedModal.tsx rename to apps/app/pages-dep/components/BlacklistedModal.tsx diff --git a/apps/app/components/Finished.tsx b/apps/app/pages-dep/components/Finished.tsx similarity index 100% rename from apps/app/components/Finished.tsx rename to apps/app/pages-dep/components/Finished.tsx diff --git a/apps/app/components/Footer.tsx b/apps/app/pages-dep/components/Footer.tsx similarity index 100% rename from apps/app/components/Footer.tsx rename to apps/app/pages-dep/components/Footer.tsx diff --git a/apps/app/components/Layout.tsx b/apps/app/pages-dep/components/Layout.tsx similarity index 100% rename from apps/app/components/Layout.tsx rename to apps/app/pages-dep/components/Layout.tsx diff --git a/apps/app/components/Loading.tsx b/apps/app/pages-dep/components/Loading.tsx similarity index 100% rename from apps/app/components/Loading.tsx rename to apps/app/pages-dep/components/Loading.tsx diff --git a/apps/app/components/LoginTabItems.tsx b/apps/app/pages-dep/components/LoginTabItems.tsx similarity index 100% rename from apps/app/components/LoginTabItems.tsx rename to apps/app/pages-dep/components/LoginTabItems.tsx diff --git a/apps/app/components/Navbar.tsx b/apps/app/pages-dep/components/Navbar.tsx similarity index 100% rename from apps/app/components/Navbar.tsx rename to apps/app/pages-dep/components/Navbar.tsx diff --git a/apps/app/components/TurnstileWidget.tsx b/apps/app/pages-dep/components/TurnstileWidget.tsx similarity index 100% rename from apps/app/components/TurnstileWidget.tsx rename to apps/app/pages-dep/components/TurnstileWidget.tsx diff --git a/apps/app/components/account/AccountGameplayItem.tsx b/apps/app/pages-dep/components/account/AccountGameplayItem.tsx similarity index 100% rename from apps/app/components/account/AccountGameplayItem.tsx rename to apps/app/pages-dep/components/account/AccountGameplayItem.tsx diff --git a/apps/app/components/account/DeleteAccModal.tsx b/apps/app/pages-dep/components/account/DeleteAccModal.tsx similarity index 100% rename from apps/app/components/account/DeleteAccModal.tsx rename to apps/app/pages-dep/components/account/DeleteAccModal.tsx diff --git a/apps/app/components/dashboard/Layout.tsx b/apps/app/pages-dep/components/dashboard/Layout.tsx similarity index 100% rename from apps/app/components/dashboard/Layout.tsx rename to apps/app/pages-dep/components/dashboard/Layout.tsx diff --git a/apps/app/components/dashboard/Sidebar.tsx b/apps/app/pages-dep/components/dashboard/Sidebar.tsx similarity index 100% rename from apps/app/components/dashboard/Sidebar.tsx rename to apps/app/pages-dep/components/dashboard/Sidebar.tsx diff --git a/apps/app/components/dashboard/status/Account.tsx b/apps/app/pages-dep/components/dashboard/status/Account.tsx similarity index 100% rename from apps/app/components/dashboard/status/Account.tsx rename to apps/app/pages-dep/components/dashboard/status/Account.tsx diff --git a/apps/app/components/dashboard/status/Maintenance.tsx b/apps/app/pages-dep/components/dashboard/status/Maintenance.tsx similarity index 100% rename from apps/app/components/dashboard/status/Maintenance.tsx rename to apps/app/pages-dep/components/dashboard/status/Maintenance.tsx diff --git a/apps/app/components/dashboard/status/Review.tsx b/apps/app/pages-dep/components/dashboard/status/Review.tsx similarity index 100% rename from apps/app/components/dashboard/status/Review.tsx rename to apps/app/pages-dep/components/dashboard/status/Review.tsx diff --git a/apps/app/components/dashboard/status/Stats.tsx b/apps/app/pages-dep/components/dashboard/status/Stats.tsx similarity index 100% rename from apps/app/components/dashboard/status/Stats.tsx rename to apps/app/pages-dep/components/dashboard/status/Stats.tsx diff --git a/apps/app/components/dashboard/status/Upload.tsx b/apps/app/pages-dep/components/dashboard/status/Upload.tsx similarity index 100% rename from apps/app/components/dashboard/status/Upload.tsx rename to apps/app/pages-dep/components/dashboard/status/Upload.tsx diff --git a/apps/app/components/dashboard/status/WaldoSite.tsx b/apps/app/pages-dep/components/dashboard/status/WaldoSite.tsx similarity index 100% rename from apps/app/components/dashboard/status/WaldoSite.tsx rename to apps/app/pages-dep/components/dashboard/status/WaldoSite.tsx diff --git a/apps/app/components/portal/developers/Sidebar.tsx b/apps/app/pages-dep/components/portal/developers/Sidebar.tsx similarity index 100% rename from apps/app/components/portal/developers/Sidebar.tsx rename to apps/app/pages-dep/components/portal/developers/Sidebar.tsx diff --git a/apps/app/server/trpc/router/site/getPageData.ts b/apps/app/server/trpc/router/site/getPageData.ts index 97f8f38a..f6bc4092 100644 --- a/apps/app/server/trpc/router/site/getPageData.ts +++ b/apps/app/server/trpc/router/site/getPageData.ts @@ -35,7 +35,7 @@ export default publicProcedure } // no error checking because the docs will never be deleted. - return { maintenance: true }; + return pageData; } catch (error) { console.log(error); throw new TRPCError({