Minor fixes

This commit is contained in:
Frikky
2025-03-03 21:38:29 +01:00
parent a658ccafaf
commit e0d479219b
4 changed files with 11 additions and 2590 deletions
+1 -1
View File
@@ -60,9 +60,9 @@ import 'react-toastify/dist/ReactToastify.css';
import Drift from "react-driftjs"; import Drift from "react-driftjs";
import { AppContext } from './context/ContextApi.jsx'; import { AppContext } from './context/ContextApi.jsx';
import Navbar from "./components/Navbar.jsx";
import Workflows2 from "./views/Workflows2.jsx"; import Workflows2 from "./views/Workflows2.jsx";
import AppExplorer from "./views/AppExplorer.jsx"; import AppExplorer from "./views/AppExplorer.jsx";
import Navbar from "./views/Navbar.jsx";
// Production - backend proxy forwarding in nginx // Production - backend proxy forwarding in nginx
var globalUrl = window.location.origin; var globalUrl = window.location.origin;
+8 -4
View File
@@ -864,10 +864,14 @@ const LicencePopup = (props) => {
return return
} }
const priceItem = window.location.origin === "https://shuffler.io" ? const priceItem =
shuffleVariant === 0 ? "app_executions" : "cores" window.location.origin === "https://shuffler.io/" || "https://sandbox.shuffler.io/"
: ? shuffleVariant === 0
shuffleVariant === 0 ? "price_1PZPSSEJjT17t98NLJoTMYja" : "price_1PZPQuEJjT17t98N3yORUtd9" ? "app_executions"
: "cores"
: shuffleVariant === 0
? "price_1PZPSSEJjT17t98NLJoTMYja"
: "price_1PZPQuEJjT17t98N3yORUtd9";
const successUrl = `${window.location.origin}/admin?admin_tab=billingstats&payment=success` const successUrl = `${window.location.origin}/admin?admin_tab=billingstats&payment=success`
const failUrl = `${window.location.origin}/admin?admin_tab=billingstats&payment=failure` const failUrl = `${window.location.origin}/admin?admin_tab=billingstats&payment=failure`
+2 -2
View File
@@ -680,8 +680,8 @@ const LoginPage = props => {
<form onSubmit={onSubmit} style={{ margin: 15, width: isMobile ? "100%" : "360px", width: "max-content", overflow: "hidden", textAlign: "center", }}> <form onSubmit={onSubmit} style={{ margin: 15, width: isMobile ? "100%" : "360px", width: "max-content", overflow: "hidden", textAlign: "center", }}>
<img <img
style={{ style={{
height: isMobile ? 44 : 75, height: isMobile ? 44 : 60,
width: isMobile ? 44 : 75, width: isMobile ? 44 : 60,
paddingBottom: isMobile ? null : 40 paddingBottom: isMobile ? null : 40
}} }}
src="images/logos/orange_logo.svg" src="images/logos/orange_logo.svg"
File diff suppressed because it is too large Load Diff