diff --git a/website/client/src/components/404.vue b/website/client/src/components/404.vue index bc7929b33b..734f8aafac 100644 --- a/website/client/src/components/404.vue +++ b/website/client/src/components/404.vue @@ -1,26 +1,35 @@ @@ -37,6 +46,9 @@ export default { } return { name: 'contact' }; }, + retiredChatPage () { + return this.$route.fullPath.indexOf('/groups') !== -1; + }, }, }; @@ -44,28 +56,14 @@ export default { diff --git a/website/client/src/router/index.js b/website/client/src/router/index.js index 57828f998d..45aff3d7b2 100644 --- a/website/client/src/router/index.js +++ b/website/client/src/router/index.js @@ -74,10 +74,6 @@ const EquipmentPage = () => import(/* webpackChunkName: "inventory" */'@/compone const StablePage = () => import(/* webpackChunkName: "inventory" */'@/components/inventory/stable/index'); // Guilds & Parties -const GuildIndex = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/index'); -const TavernPage = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/tavern'); -const MyGuilds = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/myGuilds'); -const GuildsDiscoveryPage = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/discovery'); const GroupPage = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/group'); const GroupPlansAppPage = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/groupPlan'); const LookingForParty = () => import(/* webpackChunkName: "guilds" */ '@/components/groups/lookingForParty'); @@ -189,23 +185,20 @@ const router = new VueRouter({ }, { path: '/groups', - component: GuildIndex, + component: NotFoundPage, children: [ - { name: 'tavern', path: 'tavern', component: TavernPage }, + { name: 'tavern', path: 'tavern' }, { name: 'myGuilds', path: 'myGuilds', - component: MyGuilds, }, { name: 'guildsDiscovery', path: 'discovery', - component: GuildsDiscoveryPage, }, { name: 'guild', path: 'guild/:groupId', - component: GroupPage, props: true, }, ], diff --git a/website/common/locales/en/groups.json b/website/common/locales/en/groups.json index 758f76fa7d..81247ee22e 100644 --- a/website/common/locales/en/groups.json +++ b/website/common/locales/en/groups.json @@ -417,5 +417,8 @@ "lookingForPartyTitle": "Find Members", "findMorePartyMembers": "Find More Members", "findPartyMembers": "Find Party Members", - "noOneLooking": "There’s no one looking for a Party right now.
You can check back later!" + "noOneLooking": "There’s no one looking for a Party right now.
You can check back later!", + "tavernDiscontinued": "The Tavern and Guilds have been discontinued", + "tavernDiscontinuedDetail": "Due to a number of factors, including changes in how our player base interacts with Habitica, the resources necessary to maintain these spaces became disproportionate to the number of people participating in them and unsustainable over the long term.", + "tavernDiscontinuedLinks": "Read more about the Tavern and Guild Service Discontinuation or head back to the homepage." }