intro vid on homepage

This commit is contained in:
tim
2025-03-05 18:12:34 -04:00
parent 488e9f45f1
commit ebf70dd10c
6 changed files with 55 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
<template>
<template class="d-flex align-content-center flex-column" style="height: 100%; width: 100%;">
<rung-builder name='DCA' :order="order" :builder="builder" v-model="timeEndpoints"
:shape="VLine"
:mode="1" :flip="flipped" :orientation="0"
@@ -82,7 +82,7 @@ const times = ref([])
const weights = ref([])
const amountSymbol = computed(()=>props.order.amountIsTokenA ? co.selectedSymbol.base.s : co.selectedSymbol.quote.s )
const allocationTexts = computed(()=>weights.value.map((w)=>allocationText(props.order.buy, w, w*props.order.amount, amountSymbol.value)))
const allocationTexts = computed(()=>weights.value.map((w)=>allocationText(props.order.buy, w, w*props.order.amount, amountSymbol.value, ' ', props.order.amountIsTokenA?null:co.selectedSymbol.base.s)))
const endTimes = computed(()=>{
if (props.builder.rungs === 1)