"use client" import type React from "react" import { useState } from "react" import { Button } from "@/components/ui/button" import { Download, Monitor, Smartphone, Apple, Copy, CheckCircle, Key, Check, ExternalLink, Menu, X, Palette, MessageCircle, } from "lucide-react" import { cn } from "@/lib/utils" const platforms = [ { id: "windows", name: "Windows", icon: Monitor }, { id: "ios", name: "iOS", icon: Smartphone }, { id: "android", name: "Android", icon: Smartphone }, { id: "macos", name: "macOS", icon: Apple }, ] const scripts = [ { id: "bloxfruits", name: "Blox Fruits", code: 'loadstring(game:HttpGet("https://raw.githubusercontent.com/Overgustx2/Main/refs/heads/main/BloxFruits_25.html"))()', image: "/images/blox-fruits.png", available: true, }, { id: "garden", name: "Grow a Garden", code: "", image: "/images/grow-garden.png", available: false, }, { id: "brainrot", name: "Steal a Brainrot", code: "", image: "/images/brainrot.png", available: false, }, ] const navigationItems = [ { id: "download", label: "Download" }, { id: "script", label: "Script" }, { id: "getkey", label: "GetKey" }, { id: "premiums", label: "Premiums" }, ] const themes = [ { id: "red", name: "Red", primary: "#ff0000", secondary: "#dc2626", accent: "#ff6666" }, { id: "blue", name: "Blue", primary: "#0066ff", secondary: "#0052cc", accent: "#3399ff" }, { id: "purple", name: "Purple", primary: "#8b5cf6", secondary: "#7c3aed", accent: "#a78bfa" }, { id: "green", name: "Green", primary: "#10b981", secondary: "#059669", accent: "#34d399" }, { id: "orange", name: "Orange", primary: "#f97316", secondary: "#ea580c", accent: "#fb923c" }, { id: "pink", name: "Pink", primary: "#ec4899", secondary: "#db2777", accent: "#f472b6" }, { id: "cyan", name: "Cyan", primary: "#06b6d4", secondary: "#0891b2", accent: "#22d3ee" }, { id: "yellow", name: "Yellow", primary: "#eab308", secondary: "#ca8a04", accent: "#facc15" }, ] export default function VortexExecutor() { const [currentPage, setCurrentPage] = useState("download") const [selectedPlatform, setSelectedPlatform] = useState(null) const [copiedScript, setCopiedScript] = useState(null) const [menuOpen, setMenuOpen] = useState(false) const [themeMenuOpen, setThemeMenuOpen] = useState(false) const [currentTheme, setCurrentTheme] = useState(themes[0]) const copyToClipboard = async (code: string, scriptId: string) => { try { await navigator.clipboard.writeText(code) setCopiedScript(scriptId) setTimeout(() => setCopiedScript(null), 2000) } catch (err) { console.error("Failed to copy:", err) } } const handleNavigation = (pageId: string) => { setCurrentPage(pageId) setMenuOpen(false) setSelectedPlatform(null) } const handleThemeChange = (theme: (typeof themes)[0]) => { setCurrentTheme(theme) setThemeMenuOpen(false) // Update CSS custom properties document.documentElement.style.setProperty("--theme-primary", theme.primary) document.documentElement.style.setProperty("--theme-secondary", theme.secondary) document.documentElement.style.setProperty("--theme-accent", theme.accent) } const openDiscord = () => { window.open("https://discord.gg/3gGZCs7tPt", "_blank", "noopener,noreferrer") } const renderPage = () => { switch (currentPage) { case "download": return (

Download Vortex

{selectedPlatform === "dropdown" && (
{platforms.map((platform) => { const IconComponent = platform.icon return ( ) })}
)}
) case "script": return (

Script Library

{scripts.map((script) => (
{script.name} {!script.available && (
In Development
)}

{script.name}

{script.available ? (
Keyless
) : (
In Development
)}
{script.available ? ( ) : ( )}
))}
) case "getkey": return (

How to Get a Key

1

Join Our Discord

Connect with our community and get the latest updates.

2

Complete Verification

Follow the verification process in our Discord server.

3

Get Your Key

Receive your unique access key and start using Vortex.

Key System Status

Our key system is currently being developed. Most scripts are keyless for now!

) case "premiums": return (

Vortex Premium Features

Free

$0
Basic Scripts
Community Support
Regular Updates

Premium

$9.99
Early Access Scripts
No Key System
Priority Support
Exclusive Features
Beta Access
) default: return null } } return (
{/* Background Effects */}
{/* Top Navigation */} {/* Theme Menu */} {themeMenuOpen && (

Choose Theme

{themes.map((theme) => ( ))}
)} {/* Navigation Menu */} {menuOpen && (

Navigation

{navigationItems.map((item) => ( ))}
)} {/* Main Content */}
{renderPage()}
{/* Footer */}
) }