Skip to content

Commit

Permalink
rollback code
Browse files Browse the repository at this point in the history
  • Loading branch information
binhnguyen2501 committed May 30, 2024
1 parent 204c016 commit 38044f8
Show file tree
Hide file tree
Showing 160 changed files with 3,033 additions and 3,727 deletions.
32 changes: 14 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@
"@tsconfig/svelte": "^2.0.1",
"@types/webextension-polyfill": "^0.8.3",
"retype": "^0.2.0",
"rollup": "3.29.4",
"svelte": "4.2.17",
"svelte-check": "^3.7.1",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
"svelte-preprocess": "^4.9.8",
"tslib": "^2.3.1",
"typescript": "^4.4.4",
"unplugin-auto-import": "^0.11.1",
"vite": "^3.1.3",
"vite-plugin-static-copy": "^0.11.1",
Expand Down Expand Up @@ -63,24 +62,21 @@
"@tonconnect/sdk": "^3.0.0",
"@tonconnect/ui": "^2.0.0",
"@twa-dev/sdk": "^6.7.1",
"@types/canvas-confetti": "^1.6.4",
"@types/mixpanel-browser": "^2.49.0",
"@types/numeral": "^2.0.5",
"@web3-onboard/bitget": "^2.0.1",
"@web3-onboard/coinbase": "^2.2.6",
"@web3-onboard/core": "^2.21.2",
"@web3-onboard/injected-wallets": "^2.10.11",
"@web3-onboard/ledger": "^2.5.2",
"@webcomponents/webcomponentsjs": "^2.6.0",
"axios": "^1.7.2",
"axios": "^0.27.2",
"bind-mousetrap-global": "^1.0.1",
"bs58": "^5.0.0",
"buffer": "^6.0.3",
"canvas-confetti": "^1.9.0",
"classnames": "^2.3.2",
"countup.js": "^2.8.0",
"countup.js": "^2.5.0",
"date-picker-svelte": "^2.12.0",
"dayjs": "^1.11.11",
"dayjs": "^1.11.4",
"driver.js": "^1.3.0",
"echarts": "^5.4.3",
"ethers": "^6.6.4",
Expand Down Expand Up @@ -111,21 +107,21 @@
"svelte-copy-to-clipboard": "^0.2.5",
"svelte-dnd-action": "^0.9.22",
"svelte-inview": "^4.0.2",
"svelte-loading-spinners": "^0.3.6",
"svelte-motion": "^0.12.2",
"svelte-loading-spinners": "^0.3.4",
"svelte-motion": "^0.11.5",
"svelte-router-spa": "^7.0.1",
"svelte-spark": "^1.0.4",
"svelte-system-info": "^1.0.2",
"svelte-tiny-virtual-list": "^2.1.0",
"svelte-typewriter": "^3.2.3",
"svelte-system-info": "^1.0.0",
"svelte-tiny-virtual-list": "^2.0.5",
"svelte-typewriter": "^3.1.6",
"svelte-windicss-preprocess": "^4.2.8",
"swiper": "6",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.1.8",
"tippy.js": "^6.3.7",
"url-pattern": "^1.0.3",
"uuid": "^9.0.1",
"vezgo-sdk-js": "^1.1.6",
"vezgo-sdk-js": "^1.1.2",
"viem": "^1.18.9",
"vite-imagetools": "^4.0.4",
"vite-plugin-pwa": "^0.16.5",
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Analytic/ClosedHoldingToken.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -605,5 +605,5 @@
</span>
</AnalyticSection>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/Analytic/CorrelationsMatrix.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@
</div>
</AppOverlay>

<style>
<style global windi:preflights:global windi:safelist:global>
:global(body) .active:hover {
background: #dbeafe;
}
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Analytic/PastPerformance.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/DailyPnL.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/HistoricalActivities.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@
{/if}
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/InflowOutflow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,4 @@
{/if}
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/MoneyFlow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -513,5 +513,5 @@
</span>
</AnalyticSection>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/NetworthChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/ProfitGrows.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/ReturnChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -555,5 +555,5 @@
</span>
</AnalyticSection>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/RiskChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -761,5 +761,5 @@
</span>
</AnalyticSection>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/RiskReturnChart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -748,5 +748,5 @@
</span>
</AnalyticSection>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/SectorGrowth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -542,5 +542,5 @@
</div>
</div>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/TotalGasFee.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,4 @@
{/if}
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/AnalyticChart/TotalValueHistory.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/Auth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@
</div>
</AppOverlay>

<style>
<style windi:preflights:global windi:safelist:global>
:global(body) .select_content {
background: #ffffff;
border: 0.5px solid transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Auth/DiscordAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
<div class="font-normal text-[15px]">Log in with Discord</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/GoogleAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
<div class="font-normal text-[15px]">Log in with Google</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/SUIAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@
integrator="svelte-example"
/>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/SolanaAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@
/>
{/if}

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/TelegramAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
></script>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/TonAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@
<div class="font-normal text-[15px]">Log in with Ton</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Auth/TwitterAuth.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@
<div class="font-normal text-[15px]">Log in with X</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Banner/Banner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
{/if}
</div>

<style>
<style windi:preflights:global windi:safelist:global>
.marquee {
height: 20px;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Compare/CompareResult.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@
</div>
</div>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/Compare/WhalesList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@
</table>
</div>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/DailyCheckin/TabDailyCheckin.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1131,5 +1131,5 @@
</div>
{/if}

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/DailyCheckin/TabLeaderBoard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
</div>
{/if}

<style>
<style windi:preflights:global windi:safelist:global>
@media (min-height: 320px) {
.h-300 {
height: 300px;
Expand Down
2 changes: 1 addition & 1 deletion src/UI/DailyCheckin/TabQuests.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
</div>
{/if}

<style>
<style windi:preflights:global windi:safelist:global>
@media (min-width: 1900px) {
.grid-cols-4-1900px {
grid-template-columns: repeat(4, minmax(0, 1fr));
Expand Down
2 changes: 1 addition & 1 deletion src/UI/DailyCheckin/TabReward.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -613,5 +613,5 @@
</div>
</AppOverlay>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
16 changes: 8 additions & 8 deletions src/UI/Footer/DarkModeFooter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
$: selectedTypeMode = darkMode ? "dark" : "light";
</script>

<div class="w-max flex items-center xl:gap-1 gap-2">
<div class="w-max flex items-center gap-2">
<input
checked={darkMode}
on:click={handleSwitchDarkMode}
Expand All @@ -61,36 +61,36 @@
class="hidden"
/>
<div
class={`cursor-pointer font-medium xl:text-base text-xl ${auto ? "text-[#3b82f6]" : "text-gray-300"}`}
class={`cursor-pointer font-medium xl:text-lg text-xl ${auto ? "text-[#3b82f6]" : "text-gray-300"}`}
on:click={handleToggleAuto}
>
Auto
</div>
<div class="text-gray-300 mb-1 xl:text-base text-xl">/</div>
<div class="text-gray-300 mb-1 xl:text-lg text-xl">/</div>
<label
for="theme-toggle"
class={`cursor-pointer ${auto ? "opacity-40" : "opacity-100"}`}
>
<div class="flex items-center justify-between xl:gap-1 gap-2">
<div class="flex items-center justify-between gap-2">
<div
class={`${
selectedTypeMode === "light" ? "text-[#3b82f6]" : "text-gray-300"
}`}
>
<div class="xl:block hidden">
<Icon
size="lg"
name="sun-solid"
role="img"
class="select-none border-none focus:outline-none focus:ring-0"
size="lg"
/>
</div>
<div class="xl:hidden block">
<Icon
size="xl"
name="sun-solid"
role="img"
class="select-none border-none focus:outline-none focus:ring-0"
size="lg"
/>
</div>
</div>
Expand All @@ -102,18 +102,18 @@
>
<div class="xl:block hidden">
<Icon
size="md"
name="moon-solid"
role="img"
class="select-none border-none focus:outline-none focus:ring-0"
size="lg"
/>
</div>
<div class="xl:hidden block">
<Icon
size="lg"
name="moon-solid"
role="img"
class="select-none border-none focus:outline-none focus:ring-0"
size="lg"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,7 @@
</div>
</div>

<style>
<style windi:preflights:global windi:safelist:global>
.customScrollDiv::-webkit-scrollbar {
width: 3px;
background: #27326f;
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Header/MobileHeaderTab.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,4 @@
</div>
</div>

<style></style>
<style global windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Hero/Hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/NFTDetail/NFTDetailSidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -419,5 +419,5 @@
<NftTradeHistory {selectedNftCollectionChain} {selectedNftCollectionId} />
</ErrorBoundary>

<style>
<style windi:preflights:global windi:safelist:global>
</style>
2 changes: 1 addition & 1 deletion src/UI/NFTDetail/NFTTradeHistory.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@
</div>
</div>

<style></style>
<style windi:preflights:global windi:safelist:global></style>
2 changes: 1 addition & 1 deletion src/UI/Option/TabAccounts.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@
</div>
</AppOverlay>

<style>
<style windi:preflights:global windi:safelist:global>
:global(body) .bg_fafafbff {
background: #fafafbff;
}
Expand Down
Loading

0 comments on commit 38044f8

Please sign in to comment.