From 3e4738763984745ca96708a69cd4e55ab6556f2f Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 18 Oct 2025 02:16:30 +0000 Subject: [PATCH] Prettier format pending files --- client/components/Layout.tsx | 435 ++++++++++++++++---------------- client/contexts/AuthContext.tsx | 2 +- client/pages/Dashboard.tsx | 18 +- client/pages/Explore.tsx | 163 +++++++++--- client/pages/Index.tsx | 49 +++- client/pages/ResetPassword.tsx | 5 +- server/index.ts | 13 +- 7 files changed, 419 insertions(+), 266 deletions(-) diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 5ebcfdd6..ee4d5941 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -76,7 +76,10 @@ export default function CodeLayout({ children, hideFooter }: LayoutProps) {
{/* Logo */} - +
{children} {!hideFooter && ( -
-
-
- {/* Company Info */} -
-
- AeThex Logo - - AeThex - +
+
+
+ {/* Company Info */} +
+
+ AeThex Logo + + AeThex + +
+

+ Pushing the boundaries of technology through cutting-edge + research and breakthrough discoveries. +

+
+

+ + Queen Creek, Arizona +

+

+ + + info@aethex.biz + +

+

+ + (346) 556-7100 +

+
-

- Pushing the boundaries of technology through cutting-edge - research and breakthrough discoveries. + + {/* Services */} +

+

+ Services +

+
    +
  • + + Game Development + +
  • +
  • + + Development Consulting + +
  • +
  • + + Mentorship Programs + +
  • +
  • + + Research & Labs + +
  • +
+
+ + {/* Company */} +
+

+ Company +

+
    +
  • + + About AeThex + +
  • +
  • + + Opportunities + +
  • +
  • + + Community Hub + +
  • +
  • + + Changelog + +
  • +
  • + + System Status + +
  • +
+
+ + {/* Resources */} +
+

+ Resources +

+
    +
  • + + Documentation + +
  • +
  • + + Tutorials + +
  • +
  • + + Blog + +
  • +
  • + + Support Center + +
  • +
+
+
+ +
+

+ © 2024 AeThex Corporation. All rights reserved.

-
-

- - Queen Creek, Arizona -

-

- - - info@aethex.biz - -

-

- - (346) 556-7100 -

+
+ + Privacy Policy + + + Terms of Service +
- - {/* Services */} -
-

- Services -

-
    -
  • - - Game Development - -
  • -
  • - - Development Consulting - -
  • -
  • - - Mentorship Programs - -
  • -
  • - - Research & Labs - -
  • -
-
- - {/* Company */} -
-

- Company -

-
    -
  • - - About AeThex - -
  • -
  • - - Opportunities - -
  • -
  • - - Community Hub - -
  • -
  • - - Changelog - -
  • -
  • - - System Status - -
  • -
-
- - {/* Resources */} -
-

- Resources -

-
    -
  • - - Documentation - -
  • -
  • - - Tutorials - -
  • -
  • - - Blog - -
  • -
  • - - Support Center - -
  • -
-
- -
-

- © 2024 AeThex Corporation. All rights reserved. -

-
- - Privacy Policy - - - Terms of Service - -
-
-
-
+
)} {/* Supabase Configuration Status */} diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 5f039c70..e30bc0df 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -863,7 +863,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ const { data, error } = await withTimeout( supabase.auth.updateUser({ password: newPassword }), 8000, - "Password update timed out" + "Password update timed out", ); if (error) throw error; if (data?.user) { diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index c5d2a5e5..b1c0c2a3 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -868,7 +868,9 @@ export default function Dashboard() { onChange={async (e) => { const ensureBuckets = async () => { try { - await fetch("/api/storage/ensure-buckets", { method: "POST" }); + await fetch("/api/storage/ensure-buckets", { + method: "POST", + }); } catch {} }; const file = e.target.files?.[0]; @@ -888,7 +890,10 @@ export default function Dashboard() { let { error } = await supabase.storage .from("avatars") .upload(path, file, { upsert: true }); - if (error && /bucket/i.test(error?.message || "")) { + if ( + error && + /bucket/i.test(error?.message || "") + ) { await ensureBuckets(); ({ error } = await supabase.storage .from("avatars") @@ -941,7 +946,9 @@ export default function Dashboard() { onChange={async (e) => { const ensureBuckets = async () => { try { - await fetch("/api/storage/ensure-buckets", { method: "POST" }); + await fetch("/api/storage/ensure-buckets", { + method: "POST", + }); } catch {} }; const file = e.target.files?.[0]; @@ -961,7 +968,10 @@ export default function Dashboard() { let { error } = await supabase.storage .from("banners") .upload(path, file, { upsert: true }); - if (error && /bucket/i.test(error?.message || "")) { + if ( + error && + /bucket/i.test(error?.message || "") + ) { await ensureBuckets(); ({ error } = await supabase.storage .from("banners") diff --git a/client/pages/Explore.tsx b/client/pages/Explore.tsx index 8e5db8e5..779c1264 100644 --- a/client/pages/Explore.tsx +++ b/client/pages/Explore.tsx @@ -8,7 +8,18 @@ import { CardTitle, } from "@/components/ui/card"; import { Link } from "react-router-dom"; -import { Microscope, Sparkles, ArrowRight, Rocket, Layers, Users, BookOpen, Terminal, Shield, Compass } from "lucide-react"; +import { + Microscope, + Sparkles, + ArrowRight, + Rocket, + Layers, + Users, + BookOpen, + Terminal, + Shield, + Compass, +} from "lucide-react"; import { useMemo } from "react"; export default function Explore() { @@ -153,7 +164,6 @@ export default function Explore() { return ( - {/* Achievements Section */}
@@ -194,8 +204,12 @@ export default function Explore() {
-

Core Areas

-

Services, programs, resources, and community

+

+ Core Areas +

+

+ Services, programs, resources, and community +

{(() => { @@ -221,13 +235,18 @@ export default function Explore() {
)}
- + {offering.description} {offering.tags && (
{offering.tags.map((t: string) => ( - + {t} ))} @@ -236,7 +255,10 @@ export default function Explore() { {offering.link ? ( - ) : ( @@ -248,25 +270,43 @@ export default function Explore() { className={`w-full ${offering.actions[0].buttonClass || "border-border"}`} > {offering.actions[0].external ? ( - {offering.actions[0].label} + + {offering.actions[0].label} + ) : ( - {offering.actions[0].label} + + {offering.actions[0].label} + )} ) : null} {offering.actions && offering.actions.length > 1 ? (
- {offering.actions.slice(1).map((a: any) => ( + {offering.actions.slice(1).map((a: any) => a.external ? ( - + {a.label} ) : ( - + {a.label} - ) - ))} + ), + )}
) : null} @@ -287,20 +327,36 @@ export default function Explore() {
-
R&D
+
+ R&D +

AeThex Labs

- Experimental interfaces, prototypes, and internal tooling. Enter the BlackSite to see what's next. + Experimental interfaces, prototypes, and internal tooling. + Enter the BlackSite to see what's next.

@@ -309,7 +365,10 @@ export default function Explore() {
{/* Technology Showcase */} -
+
@@ -325,12 +384,48 @@ export default function Explore() {
{[ - { name: "Game Studios", status: "Active", color: "from-purple-500 to-blue-600", icon: Rocket, desc: "Production pipelines, content tooling, and live ops." }, - { name: "Design Systems", status: "Evolving", color: "from-blue-500 to-green-600", icon: Layers, desc: "Unified components and patterns across apps." }, - { name: "Creator Tools", status: "Live", color: "from-green-500 to-yellow-600", icon: Terminal, desc: "CLI, automation, and workflow accelerators." }, - { name: "Launch Ops", status: "Scaling", color: "from-yellow-500 to-red-600", icon: Shield, desc: "Release orchestration, quality gates, and metrics." }, - { name: "Content Pipeline", status: "In Progress", color: "from-red-500 to-purple-600", icon: BookOpen, desc: "Publishing, assets, and distribution systems." }, - { name: "Edge Experiences", status: "Deployed", color: "from-purple-500 to-pink-600", icon: Users, desc: "Low-latency interfaces on the edge." }, + { + name: "Game Studios", + status: "Active", + color: "from-purple-500 to-blue-600", + icon: Rocket, + desc: "Production pipelines, content tooling, and live ops.", + }, + { + name: "Design Systems", + status: "Evolving", + color: "from-blue-500 to-green-600", + icon: Layers, + desc: "Unified components and patterns across apps.", + }, + { + name: "Creator Tools", + status: "Live", + color: "from-green-500 to-yellow-600", + icon: Terminal, + desc: "CLI, automation, and workflow accelerators.", + }, + { + name: "Launch Ops", + status: "Scaling", + color: "from-yellow-500 to-red-600", + icon: Shield, + desc: "Release orchestration, quality gates, and metrics.", + }, + { + name: "Content Pipeline", + status: "In Progress", + color: "from-red-500 to-purple-600", + icon: BookOpen, + desc: "Publishing, assets, and distribution systems.", + }, + { + name: "Edge Experiences", + status: "Deployed", + color: "from-purple-500 to-pink-600", + icon: Users, + desc: "Low-latency interfaces on the edge.", + }, ].map((tech, index) => (
-
+
{/* @ts-ignore */}
-

{tech.name}

+

+ {tech.name} +

- {tech.status} + + {tech.status} +

{tech.desc}

-
+
))} diff --git a/client/pages/Index.tsx b/client/pages/Index.tsx index 2dfc1c00..ad646fb2 100644 --- a/client/pages/Index.tsx +++ b/client/pages/Index.tsx @@ -303,7 +303,8 @@ export default function Index() { Crafting Digital Realities

- Where vision meets execution. We craft experiences through design, development, and community. + Where vision meets execution. We craft experiences through + design, development, and community.

@@ -325,14 +326,22 @@ export default function Index() { >
-
+
-

{feature.title}

+

+ {feature.title} +

{(feature.tags || []).slice(0, 2).map((tag, i) => ( - + {tag} ))} @@ -340,10 +349,15 @@ export default function Index() {

{feature.description}

-
+
{feature.link ? (
- + Explore @@ -372,14 +386,22 @@ export default function Index() { >
-
+
-

{feature.title}

+

+ {feature.title} +

{(feature.tags || []).slice(0, 2).map((tag, i) => ( - + {tag} ))} @@ -387,10 +409,15 @@ export default function Index() {

{feature.description}

-
+
{feature.link ? (
- + Explore diff --git a/client/pages/ResetPassword.tsx b/client/pages/ResetPassword.tsx index 38c9dcc0..a4826b43 100644 --- a/client/pages/ResetPassword.tsx +++ b/client/pages/ResetPassword.tsx @@ -49,7 +49,10 @@ export default function ResetPassword() { const access_token = params.get("access_token"); const refresh_token = params.get("refresh_token"); if (access_token && refresh_token) { - const { error: setErr } = await supabase.auth.setSession({ access_token, refresh_token }); + const { error: setErr } = await supabase.auth.setSession({ + access_token, + refresh_token, + }); if (setErr) { setLinkError("Reset link is invalid or has expired."); return; diff --git a/server/index.ts b/server/index.ts index 0faad354..c86d068b 100644 --- a/server/index.ts +++ b/server/index.ts @@ -203,19 +203,26 @@ export function createServer() { // Storage administration endpoints (service role) app.post("/api/storage/ensure-buckets", async (_req, res) => { if (!adminSupabase) { - return res.status(500).json({ error: "Supabase admin client unavailable" }); + return res + .status(500) + .json({ error: "Supabase admin client unavailable" }); } try { const targets = [ { name: "avatars", public: true }, { name: "banners", public: true }, ]; - const { data: buckets } = await (adminSupabase as any).storage.listBuckets(); + const { data: buckets } = await ( + adminSupabase as any + ).storage.listBuckets(); const existing = new Set((buckets || []).map((b: any) => b.name)); const created: string[] = []; for (const t of targets) { if (!existing.has(t.name)) { - const { error } = await (adminSupabase as any).storage.createBucket(t.name, { public: t.public }); + const { error } = await (adminSupabase as any).storage.createBucket( + t.name, + { public: t.public }, + ); if (error) { console.warn("Failed to create bucket", t.name, error); } else {