-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from orbs-network/refactor
Refactor
- Loading branch information
Showing
51 changed files
with
2,792 additions
and
5,194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,35 @@ | ||
import { Header } from '@/components/header' | ||
import { Trade } from './trade/trade' | ||
import { Header } from "@/components/header"; | ||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs"; | ||
import { SwapLiquidityHub } from "./trade/liquidity-hub/liquidity-hub-swap"; | ||
import { Settings } from "./trade/settings"; | ||
import { SwapTwap, SwapLimit } from "./trade/twap/twap"; | ||
|
||
export function App() { | ||
return ( | ||
<> | ||
<Header /> | ||
<div className="flex justify-center h-full py-32"> | ||
<Trade /> | ||
<div className="max-w-lg w-full px-4"> | ||
<h1 className="text-5xl font-bold mb-8">Trade</h1> | ||
<Settings /> | ||
<Tabs defaultValue="swap" className="w-full"> | ||
<TabsList> | ||
<TabsTrigger value="swap">Swap</TabsTrigger> | ||
<TabsTrigger value="twap">TWAP</TabsTrigger> | ||
<TabsTrigger value="limit">Limit</TabsTrigger> | ||
</TabsList> | ||
<TabsContent value="swap"> | ||
<SwapLiquidityHub /> | ||
</TabsContent> | ||
<TabsContent value="twap"> | ||
<SwapTwap /> | ||
</TabsContent> | ||
<TabsContent value="limit"> | ||
<SwapLimit /> | ||
</TabsContent> | ||
</Tabs> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.