mirror of
https://github.com/aljazceru/nostr-watch.git
synced 2025-12-17 05:24:19 +01:00
restore site title mixin
This commit is contained in:
13
src/App.vue
13
src/App.vue
@@ -7,18 +7,7 @@
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {},
|
||||
metaInfo: {
|
||||
title: 'nostr.watch registry & network status',
|
||||
titleTemplate: '%s | nostr.watch',
|
||||
meta: [
|
||||
{
|
||||
vmid: 'description',
|
||||
name: 'description',
|
||||
content: 'nostr.watch monitors the relays that make up the nostr network providing useful information for developers and users.'
|
||||
}
|
||||
]
|
||||
}
|
||||
components: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -5,17 +5,15 @@ import Vue3Storage from "vue3-storage";
|
||||
import router from './router'
|
||||
import "./styles/main.scss"
|
||||
import directives from "./directives/"
|
||||
// import titleMixin from './mixins/titleMixin'
|
||||
import titleMixin from './mixins/titleMixin'
|
||||
import {Tabs, Tab} from 'vue3-tabs-component';
|
||||
import VueMeta from 'vue-meta'
|
||||
|
||||
const app = createApp(App)
|
||||
.use(router)
|
||||
.use(VueMeta)
|
||||
.use(Vue3Storage, { namespace: "nostrwatch_" })
|
||||
.component('tabs', Tabs)
|
||||
.component('tab', Tab)
|
||||
// .mixin(titleMixin)
|
||||
.mixin(titleMixin)
|
||||
|
||||
directives(app);
|
||||
|
||||
|
||||
@@ -98,8 +98,8 @@ import { geo } from '../../geo.yaml'
|
||||
import { messages as RELAY_MESSAGES, codes as RELAY_CODES } from '../../codes.yaml'
|
||||
|
||||
export default defineComponent({
|
||||
title: "nostr.watch registry & network status",
|
||||
name: 'ByStatus',
|
||||
|
||||
components: {
|
||||
Row,
|
||||
Column,
|
||||
|
||||
@@ -74,6 +74,7 @@ import { relays } from '../../relays.yaml'
|
||||
import { geo } from '../../geo.yaml'
|
||||
|
||||
export default defineComponent({
|
||||
title: "nostr.watch registry & network status",
|
||||
name: 'HomePage',
|
||||
|
||||
components: {
|
||||
|
||||
@@ -163,6 +163,7 @@ const localMethods = {
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
title: "nostr.watch registry & network status",
|
||||
name: 'SingleRelay',
|
||||
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user