Importar Modelo GLB
@@ -98,19 +98,19 @@ const Index = () => {
variant="outline"
className="h-12 w-full gap-3 border-muted-foreground/30 text-muted-foreground hover:border-primary hover:text-primary transition-all"
onClick={handleLoadDemo}
- disabled={loadingDemo}
- >
- {loadingDemo ? (
-
- ) : (
-
- )}
+ disabled={loadingDemo}>
+
+ {loadingDemo ?
+
:
+
+
+ }
{loadingDemo ? 'Gerando modelo…' : 'Carregar Demo — Viga IPE 200'}
- {model && (
-
+ {model &&
+
@@ -122,45 +122,45 @@ const Index = () => {
- )}
+ }
{/* Enter viewer */}
{/* XR Status */}
- {xrSupported === null ? (
- <>
+ {xrSupported === null ?
+ <>
Verificando suporte WebXR…
- >
- ) : xrSupported ? (
- <>
+ > :
+ xrSupported ?
+ <>
WebXR Compatível — Passthrough disponível
- >
- ) : (
- <>
+ > :
+
+ <>
WebXR não disponível neste navegador
>
- )}
+ }
{/* Footer */}
- TrackkSteelXR v1.0 — Advance Steel Inspection
+ TrackSteelXR v1.0 — Q.C. Inspection
-
- );
+
);
+
};
-export default Index;
+export default Index;
\ No newline at end of file