From f3d6e2d92e9af8347fa59ff6f38631b8e930ee2c Mon Sep 17 00:00:00 2001 From: mustafa_98 Date: Fri, 16 Jan 2026 22:59:45 +0000 Subject: [PATCH] =?UTF-8?q?=D8=AD=D8=B0=D9=81=20App.jsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.jsx | 101 -------------------------------------------------------- 1 file changed, 101 deletions(-) delete mode 100644 App.jsx diff --git a/App.jsx b/App.jsx deleted file mode 100644 index 79f371b..0000000 --- a/App.jsx +++ /dev/null @@ -1,101 +0,0 @@ -import { Routes, Route, Link, useLocation } from "react-router-dom"; -import { useState, useEffect } from "react"; -import MySQLMySQLMigrator from "./components/MySQLMySQLMigrator"; -import PostgreSQLPostgreSQLMigrator from "./components/PostgreSQLPostgreSQLMigrator"; -import PostgreSQLS3Migrator from "./components/PostgreSQLS3Migrator"; -import S3S3Migrator from "./components/S3S3Migrator"; - -export default function App() { - const [darkMode, setDarkMode] = useState(() => { - const saved = localStorage.getItem('darkMode'); - return saved ? JSON.parse(saved) : true; // Default to dark mode - }); - - const location = useLocation(); - - useEffect(() => { - localStorage.setItem('darkMode', JSON.stringify(darkMode)); - if (darkMode) { - document.body.classList.add('dark'); - } else { - document.body.classList.remove('dark'); - } - }, [darkMode]); - - const navItems = [ - { path: "/mysql-mysql", label: "MySQL → MySQL", icon: "🗄️" }, - { path: "/psql-psql", label: "PostgreSQL → PostgreSQL", icon: "🐘" }, - { path: "/psql-s3", label: "PostgreSQL → S3", icon: "☁️" }, - { path: "/s3-s3", label: "S3 → S3", icon: "📦" }, - ]; - - return ( -
-
- {/* Header */} -
-
-
-

- Universal Database Migrator -

-

- Seamlessly migrate your databases across platforms -

-
- -
-
- - {/* Navigation */} - - - {/* Main Content */} -
- - } /> - } /> - } /> - } /> - -
🚀
-

Welcome to Universal Migrator

-

- Choose a migration type from the navigation above to get started. -

-
- } - /> - - -
- - ); -} \ No newline at end of file