2024-03-19 12:54:15 +00:00
|
|
|
import React from "react";
|
2024-03-20 10:26:43 +00:00
|
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
2024-03-19 06:47:12 +00:00
|
|
|
|
2024-03-20 10:26:43 +00:00
|
|
|
import ConnectWallet from "./pages/ConnectWallet";
|
|
|
|
import SignWithEthereum from "./pages/SignWithEthereum";
|
|
|
|
import SignWithCosmos from "./pages/SignWithCosmos";
|
|
|
|
import Success from "./pages/Success";
|
2024-03-19 12:54:15 +00:00
|
|
|
|
2024-03-20 10:26:43 +00:00
|
|
|
function App() {
|
2024-03-19 06:47:12 +00:00
|
|
|
return (
|
2024-03-20 10:26:43 +00:00
|
|
|
<Router>
|
|
|
|
<Routes>
|
|
|
|
<Route path="/" element={<ConnectWallet />} />
|
|
|
|
<Route path="/sign-with-ethereum" element={<SignWithEthereum />} />
|
|
|
|
<Route path="/sign-with-cosmos" element={<SignWithCosmos />} />
|
|
|
|
<Route path="/success" element={<Success />} />
|
|
|
|
</Routes>
|
|
|
|
</Router>
|
2024-03-19 06:47:12 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|