+64 27 7250 007
import React, { useState, useEffect } from 'react'; export default function Focus360Dashboard() { // Session & Mandatory Verification States const [hasAcceptedTerms, setHasAcceptedTerms] = useState(false); const [showFirstTimeModal, setShowFirstTimeModal] = useState(false); const [emailInput, setEmailInput] = useState(''); const [passwordInput, setPasswordInput] = useState(''); const [termsChecked, setTermsChecked] = useState(false); // Core Trading Parameters const [selectedCommodity, setSelectedCommodity] = useState('CL'); const [openingBasisPrice, setOpeningBasisPrice] = useState(75.10); const [yesterdaysRange, setYesterdaysRange] = useState(1.30); const [focus360PercentR, setFocus360PercentR] = useState(-72); const [prediction, setPrediction] = useState('HOLD (Neutral Consolidation)'); const [systemLog, setSystemLog] = useState('System initialized. Ready for parameter evaluation.'); // Check if this is a first-time setup login on mount useEffect(() => { const termsStatus = localStorage.getItem('focus360_terms_accepted'); if (termsStatus === 'true') { setHasAcceptedTerms(true); setShowFirstTimeModal(false); } else { // First-time user block activated setShowFirstTimeModal(true); } }, []); // Handle the one-time registration submit const handleFirstTimeRegistration = (e) => { e.preventDefault(); if (!termsChecked) { alert("You must accept the Focus360 Limited Terms & Conditions to access this application."); return; } if (!emailInput || !passwordInput) { alert("Please provide a valid account email and security key."); return; } // Persist to local storage so they bypass this modal permanently on next loads localStorage.setItem('focus360_terms_accepted', 'true'); localStorage.setItem('focus360_user_email', emailInput); setHasAcceptedTerms(true); setShowFirstTimeModal(false); setSystemLog(`Account registered under ${emailInput}. Focus360 algorithmic systems online.`); }; // Algorithmic Calculation Matrix const calculateFocus360Vector = () => { if (!hasAcceptedTerms) return; if (focus360PercentR <= -80) { setPrediction('BUY (Oversold Setup)'); setSystemLog('Focus360 Algorithm: Strong oversold structural reversal threshold reached.'); } else if (focus360PercentR >= -20) { setPrediction('SELL (Overbought Extrapolator)'); setSystemLog('Focus360 Algorithm: Upper distribution limits reached. Target exhaustion.'); } else { setPrediction('HOLD (Neutral Consolidation)'); setSystemLog('Focus360 Algorithm: Price tracking within standard deviation bands.'); } }; const handlePrint = () => { window.print(); }; const handleSave = () => { setSystemLog(`Saving... setup state for ${selectedCommodity} stored. OK.`); }; return (
{/* MANDATORY ONE-TIME FIRST LOGIN OVERLAY */} {showFirstTimeModal && (

360 FOCUS™

First-Time Activation & Legal Authorization Window

setEmailInput(e.target.value)} style={{ width: '100%', padding: '10px', backgroundColor: '#131722', border: '1px solid #2a2e3f', borderRadius: '4px', color: '#fff', boxSizing: 'border-box' }} placeholder="na**@****in.com" />
setPasswordInput(e.target.value)} style={{ width: '100%', padding: '10px', backgroundColor: '#131722', border: '1px solid #2a2e3f', borderRadius: '4px', color: '#fff', boxSizing: 'border-box' }} placeholder="••••••••" />
{/* INTEGRATED LEGAL DOCUMENT CONTAINER */}

TERMS & CONDITIONS — FOCUS360 LIMITED

The following terms apply:

1. PAYMENT TERMS & COSTS:
A 30% deposit is required Pre Production as per our quote. Quotes are valid for 30days. The remaining balance is to be paid upon completion of the project and payments are to be made within 7 Days from the date of the invoice. Alternative arrangements are possible, but these must be decided upon before any engagement of services. For long term projects/contracts, periodic progress payments may be required. IF this is the case they will be set out in the contract.

2. ADDITIONAL CHARGES FOR LATE PAYMENT:
If you fail to make a payment by the due date you shall be liable to pay us at our discretion the following costs:
• Interest on the any amount outstanding at the rate of 2% above the banks current overdraft rate. This shall accrue before and after any judgement.
• All expenses, including collection costs from obtaining the services of a debt collection company and/or legal fees in relation to any overdue amount will be added to your account and you as the client are liable for its payment.

3. INTELLECTUAL PROPERTY:
Focus360 Ltd shall retain intellectual property/copyright to all the electronic files, the associated software products, other documents/material prepared by themselves unless specifically agreed to in writing to the contrary. The use of this material cannot be used to obtain further quotes.
All designs and consultation shall remain confidential between the designer and client for a period of 12 months. There shall be no involvement of third parties without the consent of the designer and client without prior arrangement.
We have the right to hold copy write of all videos and photos for our own use for our website & Face book and other promotional activities.

4. HOSTING:
(a) If the situation occurs where hosting payments are behind, Focus360 Ltd reserves the right to take down the website until payments are brought up to date. No notice is required to be given.
(b) When transferring your hosting away from Focus360 Ltd, you will be required to pay transfer fee as per the current market rates.

5. ACCEPTANCE:
Any instructions received by Focus360 Ltd from the client for the supply of services, shall constitute acceptance of the terms & conditions contained herein.

6. VARIATIONS:
Any additional work requested will be priced and charged in addition to the original quote, and will have to be certified and approved via an email by the client before it will be actioned by Focus360 Ltd.

7. DELIVERY:
Delivery shall be deemed to be completed upon receipt of the goods /services by the client. Focus360 Ltd shall not be responsible for any failure in delivery caused by any event beyond the Company’s control.

8. PRIVACY ACT:
8.1 The client permits Focus360 Ltd to collect use and retain information concerning the client, for the purpose of assessing the client’s credit worthiness or to enforce any rights under this contract.
8.2 The client permits Focus360 Ltd to disclose information obtained to any person for the purposes set out in 8.1

9. PERSONAL PROPERTY SECURITIES ACT 1999:
9.1 The client agrees that the provisions herein constitute a Security Interest in Personal Property (as those terms defined in the Personal Property Securities Act 1999 (“PPSA”)) in respect of which Focus360 Limited may register a financing statement on the Personal Property Securities register.
9.2 The client hereby waives its rights contained in sections 116, 119, 120(2), 121, 125, 126, 127, 129, 131 and 132 of the PPSA.

setTermsChecked(e.target.checked)} style={{ marginTop: '3px', cursor: 'pointer' }} />
)} {/* CORE DASHBOARD APPLICATION TERMINAL */}

360 FOCUS™ // Futures Terminal

{hasAcceptedTerms && (
✓ Authenticated Session: {localStorage.getItem('focus360_user_email')}
)}
{/* MAIN CONTAINER PANELS */}
{/* LEFT COMPONENT PANEL */} {/* RIGHT MAIN GRAPH & SIGNAL DISPLAY */}
{/* CRITICAL SIGNAL BOX */}
Focus360 Target Matrix Output
{prediction}
{/* GRAPHICS PLOT CONTAINER */}

TREND ANALYSIS MATRIX — {selectedCommodity}

{/* Live Chart Visual Simulation Area */}
API Live Data Link Connected
[ Line and OHLC Candle Render Array Map for Contract {selectedCommodity} ]
{/* SYSTEM CONSOLE DEBUGGER LOG */}
Console Status: {systemLog}
); }