|
1 | 1 | <template> |
2 | | - <div class="profile-wrapper container"> |
| 2 | + <div class="profile-wrapper container is-fluid"> |
3 | 3 | <div class="columns is-centered"> |
4 | 4 | <div class="column is-half has-text-centered"> |
5 | 5 | <div class="container image is-64x64 mb-2"> |
|
18 | 18 | </div> |
19 | 19 |
|
20 | 20 | <div class="columns"> |
21 | | - <div class="column has-text-centered-mobile"> |
22 | | - <DonationButton :address="id" /> |
| 21 | + <div class="column"> |
| 22 | + <div class="label"> |
| 23 | + {{ $t('profile.user') }} |
| 24 | + </div> |
| 25 | + <div class="subtitle is-size-6"> |
| 26 | + <ProfileLink :address="id" :inline="true" :showTwitter="true"/> |
| 27 | + </div> |
23 | 28 | </div> |
24 | | - <div class="column has-text-centered"> |
25 | | - <OnChainProperty |
26 | | - v-bind:email="email" |
27 | | - v-bind:twitter="twitter" |
28 | | - v-bind:web="web" |
29 | | - v-bind:legal="legal" |
30 | | - v-bind:riot="riot" |
| 29 | + <div class="column is-2"> |
| 30 | + <Sharing |
| 31 | + class="mb-2" |
| 32 | + v-if="!sharingVisible" |
| 33 | + label="Check this awesome Profile on %23KusamaNetwork %23KodaDot" |
| 34 | + :iframe="iframeSettings" |
31 | 35 | /> |
32 | | - </div> |
33 | | - <div class="column has-text-right-tablet"> |
34 | | - <div class="share-mobile"> |
35 | | - <Sharing |
36 | | - v-if="!sharingVisible" |
37 | | - label="Check this awesome Profile on %23KusamaNetwork %23KodaDot" |
38 | | - :iframe="iframeSettings" |
39 | | - /> |
40 | | - </div> |
| 36 | + <DonationButton :address="id" style="width: 100%;" /> |
41 | 37 | </div> |
42 | 38 | </div> |
43 | 39 |
|
@@ -131,11 +127,12 @@ const components = { |
131 | 127 | Sharing: () => import('@/components/rmrk/Gallery/Item/Sharing.vue'), |
132 | 128 | Identity: () => import('@/components/shared/format/Identity.vue'), |
133 | 129 | Pagination: () => import('@/components/rmrk/Gallery/Pagination.vue'), |
134 | | - OnChainProperty: () => import('@/views/OnChainProperty.vue'), |
| 130 | + // OnChainProperty: () => import('@/views/OnChainProperty.vue'), |
135 | 131 | PaginatedCardList: () => |
136 | 132 | import('@/components/rmrk/Gallery/PaginatedCardList.vue'), |
137 | 133 | DonationButton: () => import('@/components/transfer/DonationButton.vue'), |
138 | 134 | Avatar: () => import('@/components/shared/Avatar.vue'), |
| 135 | + ProfileLink: () => import('@/components/rmrk/Profile/ProfileLink.vue'), |
139 | 136 |
|
140 | 137 | } |
141 | 138 |
|
@@ -377,24 +374,4 @@ export default class Profile extends Vue { |
377 | 374 | flex-basis: auto; |
378 | 375 | } |
379 | 376 |
|
380 | | -.share-mobile { |
381 | | - width: 50%; |
382 | | - margin-left: auto; |
383 | | -} |
384 | | -
|
385 | | -@media only screen and (max-width: 768px) { |
386 | | - .column-mobile { |
387 | | - align-items: center; |
388 | | - display: flex; |
389 | | - justify-content: center; |
390 | | - } |
391 | | -
|
392 | | - .container-mobile { |
393 | | - flex-direction: column; |
394 | | - } |
395 | | -
|
396 | | - .share-mobile { |
397 | | - width: 100%; |
398 | | - } |
399 | | -} |
400 | 377 | </style> |
0 commit comments