diff --git a/src/api/users.ts b/src/api/users.ts index f38ab75..dc27ceb 100644 --- a/src/api/users.ts +++ b/src/api/users.ts @@ -31,6 +31,7 @@ export interface Profile { note: string | null; avatar: string | null; header: string | null; + locked: boolean; identity_proofs: ProfileField[]; payment_options: ProfilePaymentOption[]; fields: ProfileField[]; @@ -41,7 +42,7 @@ export interface Profile { statuses_count: number; } -export function guest() { +export function guest(): Profile { return { id: "", username: "", @@ -51,6 +52,7 @@ export function guest() { note: null, avatar: null, header: null, + locked: false, identity_proofs: [], payment_options: [], fields: [], diff --git a/src/assets/feather/lock.svg b/src/assets/feather/lock.svg deleted file mode 100644 index 9aa54b1..0000000 --- a/src/assets/feather/lock.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/assets/forkawesome/lock.svg b/src/assets/forkawesome/lock.svg new file mode 100644 index 0000000..a34fda0 --- /dev/null +++ b/src/assets/forkawesome/lock.svg @@ -0,0 +1,2 @@ + + diff --git a/src/components/Post.vue b/src/components/Post.vue index 5fe1135..3f1c27e 100644 --- a/src/components/Post.vue +++ b/src/components/Post.vue @@ -621,7 +621,7 @@ async function onMintToken() { display: flex; flex-direction: row; flex-wrap: wrap; - gap: 0.25em; + gap: $whitespace; padding: calc($block-inner-padding / 4) $block-inner-padding 0; a { diff --git a/src/styles/_layout.scss b/src/styles/_layout.scss index 2f44a7f..0c4b6c9 100644 --- a/src/styles/_layout.scss +++ b/src/styles/_layout.scss @@ -16,6 +16,7 @@ $wide-sidebar-width: 400px; $avatar-size: 42px; $icon-size: $block-inner-padding; +$whitespace: 0.25em; $screen-breakpoint-medium: 1000px; $screen-breakpoint-small: 700px; diff --git a/src/styles/_mixins.scss b/src/styles/_mixins.scss index 6334509..b054cfd 100644 --- a/src/styles/_mixins.scss +++ b/src/styles/_mixins.scss @@ -48,7 +48,7 @@ } a { - margin-right: 0.25em; /* single space */ + margin-right: $whitespace; } } @@ -57,7 +57,7 @@ align-items: center; color: $secondary-text-color; display: flex; - gap: 0.25em; + gap: $whitespace; img { filter: $secondary-text-colorizer; diff --git a/src/views/Profile.vue b/src/views/Profile.vue index f4957b2..fc147dc 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -104,7 +104,14 @@ > Edit profile - +