Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions src/components/landing/Spotlight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,41 @@
import { Component, Vue } from 'vue-property-decorator';

@Component<Leaderboard>({
metaInfo() {
return {
meta: [
{
property: 'og:title',
content: 'KodaDot | Kusama NFT Market explorer'
},
{ property: 'og:url', content: 'https://nft.kodadot.xyz' },
{
property: 'og:description',
content: 'Discover new artists based on the ranking'
},
{
property: 'og:site_name',
content: 'Low fees and low carbon minting'
},
{
property: 'og:image',
content: 'https://nft.kodadot.xyz/kodadot_community.jpeg'
},
{
property: 'twitter:title',
content: 'NFT artist ranking'
},
{
property: 'twitter:description',
content: 'Discover new artists based on the ranking'
},
{
property: 'twitter:image',
content: 'https://nft.kodadot.xyz/kodadot_community.jpeg'
}
]
};
},
components: {
Identity: () => import('@/components/shared/format/Identity.vue'),
SpotlightTable: () => import('@/components/spotlight/SpotlightTable.vue')
Expand Down
5 changes: 3 additions & 2 deletions src/utils/WithKeyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class WithKeyring extends Vue {
protected keyringLoaded: boolean = false;
protected keyringAccounts: KeyringPair[] = [];
protected importedAccounts: InjectedAccountWithMeta[] = [];
protected keys: any = '';
// protected keys: any = '';

public async mountWasmCrypto(): Promise<void> {
await cryptoWaitReady();
Expand All @@ -31,7 +31,7 @@ export default class WithKeyring extends Vue {

public async loadKeyring(): Promise<void> {
this.keyringLoaded = true;
this.keys = keyring;
// this.keys = keyring;
this.mapAccounts();
await this.extensionAccounts();
}
Expand Down Expand Up @@ -82,6 +82,7 @@ export default class WithKeyring extends Vue {
console.log('ss58Format', val)
// https://github.com/polkadot-js/ui/pull/494
keyring.setSS58Format(Number(val))
this.loadKeyring();
}

// public passwordRequired(address: string): boolean {
Expand Down