\ No newline at end of file
diff --git a/src/api.ts b/src/api.ts
index e997b80..1fa5f7e 100644
--- a/src/api.ts
+++ b/src/api.ts
@@ -8,6 +8,7 @@ declare var process : {
export class Api {
public readonly api_url: string;
+ public agorata_adnl: string = "3a3a4515e9092ef501d8d820a2964b42abfe541b7aff3d85f9fe5375bc62de9e";
constructor() {
if (process.env.NODE_ENV === 'development') {
diff --git a/src/components/SiteSettings.vue b/src/components/SiteSettings.vue
new file mode 100644
index 0000000..c414e59
--- /dev/null
+++ b/src/components/SiteSettings.vue
@@ -0,0 +1,192 @@
+
+
+
+
+ By template
+
+
+ Host your own
+
+
+
+
+
Site:
+
+
+ Save
+
+
+ Confirm in the wallet...
+
+
+
+
+
+
+
Title:
+
+
+
+
+ Save
+
+
+ Confirm in the wallet...
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/result.ts b/src/result.ts
index a3c55d1..3e63519 100644
--- a/src/result.ts
+++ b/src/result.ts
@@ -1,11 +1,10 @@
// import {call_api} from "@/api";
import {Zone} from "@/zone";
-import {Collection} from "@/collection";
import type {Message} from "@/utils";
import {call_api} from "@/api";
-let ex_collection = () => new Collection("example.ton", "Example collection");
+// let ex_collection = () => new Collection("example.ton", "Example collection");
export class Result {
domain: string;
@@ -65,9 +64,9 @@ export class Result {
}
}
-const sleep = (milliseconds: number) => {
- return new Promise(resolve => setTimeout(resolve, milliseconds))
-}
+// const sleep = (milliseconds: number) => {
+// return new Promise(resolve => setTimeout(resolve, milliseconds))
+// }
export async function get_search_results(query: string) {
return Result.fromBackend(await call_api('find/' + query));
@@ -80,7 +79,7 @@ export async function get_search_results(query: string) {
];*/
}
-export async function get_domain_result(domain: string, address?: string) {
+export async function get_domain_result(domain: string, _address?: string) {
return Result.fromBackend(await call_api('get/' + domain));
/*await sleep(100);
if (domain === 'test.ton') {
@@ -143,3 +142,12 @@ export class TonLink {
export function get_ton_link(res: Result) {
return new TonLink(res.zone(), 'b/' + res.domain, res.buy_price!);
}
+
+export class SiteConstructorParams {
+ domain: string;
+ title: string;
+ constructor(domain: string, title: string = '') {
+ this.domain = domain;
+ this.title = title;
+ }
+}
diff --git a/src/views/Explore.vue b/src/views/Explore.vue
index d7b9ad2..b3933ce 100644
--- a/src/views/Explore.vue
+++ b/src/views/Explore.vue
@@ -8,52 +8,52 @@
-
-