home page tweaks
This commit is contained in:
@@ -50,7 +50,7 @@ async function componentFindRoute() {
|
|||||||
os.routes = result
|
os.routes = result
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('ignoring routes exception', e)
|
// console.log('ignoring routes exception', e)
|
||||||
} finally {
|
} finally {
|
||||||
os.routesPending = false
|
os.routesPending = false
|
||||||
}
|
}
|
||||||
|
|||||||
19
src/components/Logo.vue
Normal file
19
src/components/Logo.vue
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<span class="d-inline-flex align-baseline">
|
||||||
|
<v-icon icon="mdi-arrow-up-bold" color="primary" class="arrow"/>
|
||||||
|
<span class="logo">dexorder</span>
|
||||||
|
<alpha v-if="alpha"/>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
|
||||||
|
import Alpha from "@/components/Alpha.vue";
|
||||||
|
|
||||||
|
const props = defineProps({
|
||||||
|
alpha: {type: Boolean, default: true}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
</style>
|
||||||
@@ -2,11 +2,15 @@
|
|||||||
<slot v-if="pluginOk && loggedIn" v-bind="$props"/>
|
<slot v-if="pluginOk && loggedIn" v-bind="$props"/>
|
||||||
<v-card v-if="!loggedIn" rounded="0">
|
<v-card v-if="!loggedIn" rounded="0">
|
||||||
<v-card-title>
|
<v-card-title>
|
||||||
<v-icon icon="mdi-hand-wave" color="grey"/> Welcome to Dexorder Alpha!
|
<!-- <v-icon icon="mdi-hand-wave" color="grey"/>-->
|
||||||
|
Welcome to Dexorder Alpha!
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
This alpha test runs on the Dexorder Testnet blockchain, which gives you free testnet tokens to trade.
|
This alpha test runs on the Dexorder Testnet blockchain, which gives you free testnet tokens to trade.
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
<v-card-text>
|
||||||
|
Play with the order builder by clicking on the <logo :alpha="false" class="logo-small"/> logo or on the <v-icon icon="mdi-chart-timeline-variant"/> button.
|
||||||
|
</v-card-text>
|
||||||
<div v-if="!pluginOk">
|
<div v-if="!pluginOk">
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
A cryptocurrency wallet such as <a href="https://metamask.io/download/" target="MetaMask">MetaMask</a> is
|
A cryptocurrency wallet such as <a href="https://metamask.io/download/" target="MetaMask">MetaMask</a> is
|
||||||
@@ -18,8 +22,10 @@
|
|||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<btn v-if="pluginOk" icon="mdi-wallet-outline" color="warning" variant="outlined"
|
<v-card-actions>
|
||||||
@click="connect" :disabled="disabled" text="Connect Wallet"/>
|
<btn v-if="pluginOk" icon="mdi-wallet-outline" color="warning" variant="outlined"
|
||||||
|
@click="connect" :disabled="disabled" text="Connect Wallet"/>
|
||||||
|
</v-card-actions>
|
||||||
<div v-if="needsNetwork">
|
<div v-if="needsNetwork">
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<table id="manualsetup">
|
<table id="manualsetup">
|
||||||
@@ -66,6 +72,7 @@ import {computed, ref} from "vue";
|
|||||||
import {addTestnet, connectWallet, switchChain, useWalletStore} from "@/blockchain/wallet.js";
|
import {addTestnet, connectWallet, switchChain, useWalletStore} from "@/blockchain/wallet.js";
|
||||||
import Btn from "@/components/Btn.vue";
|
import Btn from "@/components/Btn.vue";
|
||||||
import CopyButton from "@/components/CopyButton.vue";
|
import CopyButton from "@/components/CopyButton.vue";
|
||||||
|
import Logo from "@/components/Logo.vue";
|
||||||
|
|
||||||
const s = useStore()
|
const s = useStore()
|
||||||
const ws = useWalletStore()
|
const ws = useWalletStore()
|
||||||
|
|||||||
@@ -32,11 +32,14 @@
|
|||||||
<span :style="colorStyle" class="ma-3">Add condition:</span>
|
<span :style="colorStyle" class="ma-3">Add condition:</span>
|
||||||
<v-btn :color="color" variant="text" prepend-icon="mdi-clock-outline" @click="build(order,'DCABuilder')">DCA</v-btn>
|
<v-btn :color="color" variant="text" prepend-icon="mdi-clock-outline" @click="build(order,'DCABuilder')">DCA</v-btn>
|
||||||
<v-btn :color="color" variant="text" prepend-icon="mdi-ray-vertex" @click="build(order,'LimitBuilder')">Limit</v-btn>
|
<v-btn :color="color" variant="text" prepend-icon="mdi-ray-vertex" @click="build(order,'LimitBuilder')">Limit</v-btn>
|
||||||
<!-- <v-btn variant="flat" prepend-icon="mdi-vector-line">Line</v-btn>-->
|
<v-tooltip text="Coming Soon!" location="top">
|
||||||
<!--
|
<template v-slot:activator="{ props }">
|
||||||
mdi-ray-start-end
|
<span v-bind="props">
|
||||||
mdi-vector-polyline
|
<v-btn :color="color" variant="text" prepend-icon="mdi-vector-line" disabled>Diagonal</v-btn>
|
||||||
-->
|
</span>
|
||||||
|
</template>
|
||||||
|
</v-tooltip>
|
||||||
|
<!-- mdi-ray-start-end mdi-vector-polyline -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="d-flex mb-1 align-center w-100">
|
<div class="d-flex mb-1 align-center w-100">
|
||||||
|
<logo class="d-flex align-end clickable logo-large" @click="$router.push('/order')"/>
|
||||||
|
<!--
|
||||||
<div class="d-flex align-end clickable" @click="$router.push('/order')">
|
<div class="d-flex align-end clickable" @click="$router.push('/order')">
|
||||||
<span class="arrow align-self-start"><v-icon icon="mdi-arrow-up-bold" :color="theme.colors.success"/></span>
|
<span class="arrow align-self-start"><v-icon icon="mdi-arrow-up-bold" :color="theme.colors.success"/></span>
|
||||||
<span class="logo">dexorder</span>
|
<span class="logo">dexorder</span>
|
||||||
<alpha class="pr-6"/>
|
<alpha class="pr-6"/>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<!--
|
<!--
|
||||||
<div class="d-flex align-center">
|
<div class="d-flex align-center">
|
||||||
</div>
|
</div>
|
||||||
@@ -29,6 +32,7 @@ import {useChartOrderStore} from "@/orderbuild.js";
|
|||||||
import {useTheme} from "vuetify";
|
import {useTheme} from "vuetify";
|
||||||
import ToolbarButton from "@/components/chart/ToolbarButton.vue";
|
import ToolbarButton from "@/components/chart/ToolbarButton.vue";
|
||||||
import Alpha from "@/components/Alpha.vue";
|
import Alpha from "@/components/Alpha.vue";
|
||||||
|
import Logo from "@/components/Logo.vue";
|
||||||
|
|
||||||
const props = defineProps(['title', 'icon'])
|
const props = defineProps(['title', 'icon'])
|
||||||
|
|
||||||
|
|||||||
@@ -7,28 +7,29 @@
|
|||||||
<v-card-subtitle class="pl-8 mx-auto">Advanced DeFi Orders</v-card-subtitle>
|
<v-card-subtitle class="pl-8 mx-auto">Advanced DeFi Orders</v-card-subtitle>
|
||||||
<!-- <social class="ml-12"/>-->
|
<!-- <social class="ml-12"/>-->
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
Dexorder powers up your favorite DeFi exchanges with advanced order types!
|
Dexorder powers up your favorite DeFi exchange with advanced order types!
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<v-list>
|
<v-list>
|
||||||
<v-list-item><v-icon icon="mdi-ray-vertex" class="mr-2"/> Limit Orders <alpha/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-clock-outline" class="mr-2"/> DCA and TWAP Orders <alpha/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-vector-line" class="mr-2"/> Diagonal Limit Orders <soon/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-chart-timeline-variant-shimmer" class="mr-2"/> Stop Loss / Take Profit <soon/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-format-list-checks" class="mr-2"/> One-Cancels-the-Other (OCO) Groups <soon/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-cancel" class="mr-2"/> One-Click Cancel All <alpha/></v-list-item>
|
|
||||||
<v-list-item><v-icon icon="mdi-shimmer" class="mr-2"/> Custom Complex Orders <soon/></v-list-item>
|
|
||||||
<v-list-item>
|
<v-list-item>
|
||||||
<v-img src="https://upload.wikimedia.org/wikipedia/commons/e/e7/Uniswap_Logo.svg" width="1.3em"
|
<v-img src="https://upload.wikimedia.org/wikipedia/commons/e/e7/Uniswap_Logo.svg" width="1.3em"
|
||||||
inline style="vertical-align: middle" class="mr-2"/>
|
inline style="vertical-align: middle" class="mr-2"/>
|
||||||
Supports Uniswap v3 <alpha/>
|
Supports Uniswap v3 <alpha/>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-ray-vertex" class="mr-2"/> Limit Orders <alpha/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-clock-outline" class="mr-2"/> DCA and TWAP Orders <alpha/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-vector-line" class="mr-2"/> Diagonal Limit Orders <soon/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-chart-timeline-variant-shimmer" class="mr-2"/> Stop Loss / Take Profit <soon/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-format-list-checks" class="mr-2"/> One-Cancels-the-Other (OCO) Groups <soon/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-cancel" class="mr-2"/> Single-transaction Cancel All <alpha/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-alert-outline" class="mr-2"/> Single-transaction Sell Everything <soon/></v-list-item>
|
||||||
|
<v-list-item><v-icon icon="mdi-shimmer" class="mr-2"/> Custom Complex Orders <soon/></v-list-item>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-btn prepend-icon="mdi-arrow-up-bold" color="primary" variant="tonal" text="Try the App" @click="openApp"/>
|
<v-btn prepend-icon="mdi-arrow-up-bold" color="primary" variant="tonal" text="Try the App" @click="openApp"/>
|
||||||
<v-btn prepend-icon="mdi-discord" variant="flat" text="Join Discord" @click="discord"/>
|
<v-btn prepend-icon="mdi-discord" variant="flat" text="Join Discord" @click="discord"/>
|
||||||
<v-btn prepend-icon="mdi-twitter" variant="flat" text="Follow on Twitter" @click="twitter"/>
|
<v-btn prepend-icon="mdi-twitter" variant="flat" text="Follow Twitter" @click="twitter"/>
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -4,7 +4,23 @@
|
|||||||
.logo {
|
.logo {
|
||||||
font-family: v.$heading-font-family;
|
font-family: v.$heading-font-family;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
.arrow {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-large {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
.arrow {
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-small {
|
||||||
|
font-size: 0.8em;
|
||||||
|
.arrow {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|||||||
Reference in New Issue
Block a user