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 {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {},
|
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.'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -5,17 +5,15 @@ import Vue3Storage from "vue3-storage";
|
|||||||
import router from './router'
|
import router from './router'
|
||||||
import "./styles/main.scss"
|
import "./styles/main.scss"
|
||||||
import directives from "./directives/"
|
import directives from "./directives/"
|
||||||
// import titleMixin from './mixins/titleMixin'
|
import titleMixin from './mixins/titleMixin'
|
||||||
import {Tabs, Tab} from 'vue3-tabs-component';
|
import {Tabs, Tab} from 'vue3-tabs-component';
|
||||||
import VueMeta from 'vue-meta'
|
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
.use(router)
|
.use(router)
|
||||||
.use(VueMeta)
|
|
||||||
.use(Vue3Storage, { namespace: "nostrwatch_" })
|
.use(Vue3Storage, { namespace: "nostrwatch_" })
|
||||||
.component('tabs', Tabs)
|
.component('tabs', Tabs)
|
||||||
.component('tab', Tab)
|
.component('tab', Tab)
|
||||||
// .mixin(titleMixin)
|
.mixin(titleMixin)
|
||||||
|
|
||||||
directives(app);
|
directives(app);
|
||||||
|
|
||||||
|
|||||||
@@ -98,8 +98,8 @@ import { geo } from '../../geo.yaml'
|
|||||||
import { messages as RELAY_MESSAGES, codes as RELAY_CODES } from '../../codes.yaml'
|
import { messages as RELAY_MESSAGES, codes as RELAY_CODES } from '../../codes.yaml'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
title: "nostr.watch registry & network status",
|
||||||
name: 'ByStatus',
|
name: 'ByStatus',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
Row,
|
Row,
|
||||||
Column,
|
Column,
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ import { relays } from '../../relays.yaml'
|
|||||||
import { geo } from '../../geo.yaml'
|
import { geo } from '../../geo.yaml'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
title: "nostr.watch registry & network status",
|
||||||
name: 'HomePage',
|
name: 'HomePage',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ const localMethods = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
title: "nostr.watch registry & network status",
|
||||||
name: 'SingleRelay',
|
name: 'SingleRelay',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
Reference in New Issue
Block a user