From 7fb3ffec79227e20f448e89ced4309e8c57c56fc Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 14 Apr 2026 20:50:15 +0700 Subject: [PATCH] commented out routes and page access for now --- frontend/apps/artcraft-website/_redirects | 8 -------- frontend/apps/artcraft-website/src/app/app.tsx | 8 ++++---- .../artcraft-website/src/components/navbar/navbar.tsx | 8 +++----- .../apps/artcraft-website/src/pages/library/library.tsx | 4 ++-- 4 files changed, 9 insertions(+), 19 deletions(-) diff --git a/frontend/apps/artcraft-website/_redirects b/frontend/apps/artcraft-website/_redirects index 5b15c53dfd..d863c06b6c 100644 --- a/frontend/apps/artcraft-website/_redirects +++ b/frontend/apps/artcraft-website/_redirects @@ -17,14 +17,6 @@ /checkout* /index.html 200 /checkout/* /index.html 200 -/create-image /index.html 200 -/create-image/ /index.html 200 -/create-image/* /index.html 200 - -/create-video /index.html 200 -/create-video/ /index.html 200 -/create-video/* /index.html 200 - /library /index.html 200 /library/ /index.html 200 /library/* /index.html 200 diff --git a/frontend/apps/artcraft-website/src/app/app.tsx b/frontend/apps/artcraft-website/src/app/app.tsx index d8c362e21f..06a097545c 100644 --- a/frontend/apps/artcraft-website/src/app/app.tsx +++ b/frontend/apps/artcraft-website/src/app/app.tsx @@ -4,8 +4,8 @@ import Media from "../pages/media"; import PressKit from "../pages/press-kit"; import Navbar from "../components/navbar"; import { ToastContainer } from "../components/toast/toast"; -import CreateImage from "../pages/create-image"; -import CreateVideo from "../pages/create-video"; +// import CreateImage from "../pages/create-image"; +// import CreateVideo from "../pages/create-video"; import Landing2 from "../pages/landing2"; import LandingSD2 from "../pages/landing-sd2"; import TutorialsPage from "../pages/tutorials"; @@ -30,8 +30,8 @@ export function App() { } /> - } /> - } /> + {/* } /> + } /> */} } /> } /> } /> diff --git a/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx b/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx index 8036322164..4f2a657102 100644 --- a/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx +++ b/frontend/apps/artcraft-website/src/components/navbar/navbar.tsx @@ -24,8 +24,8 @@ import { TaskQueue } from "./task-queue"; const NAV_ITEMS = [ { name: "Home", href: "/" }, - { name: "Image", href: "/create-image" }, - { name: "Video", href: "/create-video" }, + // { name: "Image", href: "/create-image" }, + // { name: "Video", href: "/create-video" }, { name: "Tutorials", href: "/tutorials" }, { name: "News", href: "/news" }, { name: "FAQ", href: "/faq" }, @@ -119,9 +119,7 @@ export default function Navbar() {
diff --git a/frontend/apps/artcraft-website/src/pages/library/library.tsx b/frontend/apps/artcraft-website/src/pages/library/library.tsx index c40847074c..9256408b38 100644 --- a/frontend/apps/artcraft-website/src/pages/library/library.tsx +++ b/frontend/apps/artcraft-website/src/pages/library/library.tsx @@ -396,7 +396,7 @@ export default function Library() { ) : allItems.length === 0 && !loading ? (

No items yet.

-
+ {/*
-
+
*/}
) : (