{{ zone }}
diff --git a/src/components/DomainResult.vue b/src/components/DomainResult.vue
new file mode 100644
index 0000000..d3e0209
--- /dev/null
+++ b/src/components/DomainResult.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
{{ domain }}
+
is owned.
+
Click here to explore
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/TonButton.vue b/src/components/TonButton.vue
index e475995..360cbe2 100644
--- a/src/components/TonButton.vue
+++ b/src/components/TonButton.vue
@@ -19,6 +19,7 @@ button.b.darkish {
font-family: 'Inconsolata', monospace;
font-weight: bold;
font-size: 1.15rem;
+ cursor: default;
}
button > img:not(:first-child) {
diff --git a/src/result.ts b/src/result.ts
index b9bd610..151b865 100644
--- a/src/result.ts
+++ b/src/result.ts
@@ -16,6 +16,7 @@ export class Result {
getRouteParams(): any {
return {
domain_init: /* domain up to . */ this.domain.split('.')[0],
+ domain: /* domain up to . */ this.domain.split('.')[0],
zone: /* domain after . */ this.domain.split('.').slice(1).join('.')
}
}
@@ -43,3 +44,12 @@ export async function get_search_results(query: string) {
new Result(query + '.ton', undefined, undefined, '123')
];
}
+
+export async function get_domain_result(domain: string) {
+ // return await call_api('get/' + domain);
+ await sleep(1000);
+ if (domain === 'test.ton') {
+ return new Result(domain);
+ }
+ return new Result(domain, 5, 3);
+}
diff --git a/src/router/index.ts b/src/router/index.ts
index 61551a9..6203e83 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -48,11 +48,23 @@ const router = createRouter({
name: 'Find',
component: () => import('../views/Find.vue')
},
+ {
+ path: '/checkout/:zone/:domain',
+ name: 'Checkout',
+ component: () => import('../views/Checkout.vue'),
+ props: true
+ },
{
path: '/find/:query',
name: 'FindQ',
component: () => import('../views/FindQ.vue'),
props: true
+ },
+ {
+ path: '/explore/:domain',
+ name: 'Explore',
+ component: () => import('../views/Explore.vue'),
+ props: true
}
]
})
diff --git a/src/views/Checkout.vue b/src/views/Checkout.vue
new file mode 100644
index 0000000..411e6f1
--- /dev/null
+++ b/src/views/Checkout.vue
@@ -0,0 +1,29 @@
+
+
+
+ To buy
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Explore.vue b/src/views/Explore.vue
new file mode 100644
index 0000000..f146f63
--- /dev/null
+++ b/src/views/Explore.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Get.vue b/src/views/Get.vue
index 04a75ed..27651d7 100644
--- a/src/views/Get.vue
+++ b/src/views/Get.vue
@@ -1,15 +1,17 @@
-
+
+
+
-
+