-
+
-
@@ -12,12 +11,10 @@
{{ marketTitle }}
-
-
-
+
+
-
-
-
+
+
+
+ {{ yesLabel }}
+
+
+ {{ noLabel }}
+
+
+
+
+
+
+
- Yes
-
-
- No
-
+
+
+
+
+ {{ outcome.title }}
+ {{ outcome.chanceValue }}%
+
+
+
+ {{ outcome.yesLabel ?? 'Yes' }}
+
+
+ {{ outcome.noLabel ?? 'No' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
{{ marketInfo }}
+
+ + NEW
+ {{ marketInfo }}
+
mdi-gift
mdi-bookmark
@@ -80,47 +163,69 @@
diff --git a/src/router/index.ts b/src/router/index.ts
index 7516959..70d4fa9 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -34,6 +34,11 @@ const router = createRouter({
component: Wallet
}
],
+ scrollBehavior(to, from, savedPosition) {
+ if (savedPosition) return savedPosition
+ if (to.hash) return { el: to.hash }
+ return { top: 0 }
+ },
})
export default router
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 5ea86cc..39dfa2f 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -1,6 +1,6 @@
-
+
Market Overview
@@ -12,7 +12,7 @@