import { useState } from "react"; import { motion } from "framer-motion"; export default function CustomerLogin() { const [username, setUsername] = useState(""); const [password, setPassword] = useState(""); const [loggedIn, setLoggedIn] = useState(false); const [customerData, setCustomerData] = useState(null); const handleLogin = () => { // Mock authentication and data retrieval setCustomerData({ name: "John Doe", accountNumber: "123456789", devices: [ { name: "Smart TV", location: "Living Room", usage: "3 hrs/day", wifiSpeed: "100 Mbps" }, { name: "Thermostat", location: "Bedroom", usage: "Auto", wifiSpeed: "N/A" }, ], smartHome: true, energySaver: true, services: ["Internet", "TV", "Smart Home Integration"], }); setLoggedIn(true); }; return (
{!loggedIn ? (

Customer Login

setUsername(e.target.value)} className="wp-block-input mb-2" /> setPassword(e.target.value)} className="wp-block-input mb-4" />
) : (

Welcome, {customerData.name}

Account Number: {customerData.accountNumber}

Devices

Features

Smart Home: {customerData.smartHome ? "Enabled" : "Disabled"}

Energy Saver: {customerData.energySaver ? "Enabled" : "Disabled"}

Services on Account

)}
); } Xstream | COMMUNICATION
top of page

Xstream

LEADING THE FUTURE

SERVICES

TV
Phone
Training

Here at Xstream we are a professional team. We have mastered the job skills and with that mastery, we build confidence with our clients. We honor being committed, responsible and certainly one others can count to get the job done right the first time.  

we provide the following:

  • CCTV

  • DIRECTIONAL DRILLING

  • FIBER SPLICING

  • LOW VOLATAGE

  • ELECTRICAL

  • UNDERGROUND CONSTRUTCTION

  • AERIAL CONSTRUCTION

  • MDU 

  • ACCESS CONTROL

  • POINT OF SALES

  • NETWORKING

  • PHONE

  • MORE...

Anchor 1
Provider(s)
Product(s)

REQUEST A SERVICE

To book a free on-site quote call 469*297*3917 or fill out the form below, and we’ll call and arrange to book your job.

Your content has been submitted

An error occurred. Try again later

Anchor 2
Anchor 3

CONTACT US 

Monday - Friday

8am - 5pm 

CALL Xstream

EMAIL US

FOLLOW US ON

  • Instagram
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube
  • TikTok
bottom of page