mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-17 03:52:26 +01:00
seo changes for meta tags
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
//You should have received a copy of the GNU Affero General Public License
|
||||
//along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import { createMemoryHistory, createRouter, createWebHistory } from "vue-router";
|
||||
|
||||
const CourseSelection = () => import("../view/CourseSelection.vue");
|
||||
const AdditionalModules = () => import("../view/create/AdditionalModules.vue");
|
||||
@@ -31,7 +31,7 @@ const Faq = () => import("../view/Faq.vue");
|
||||
import i18n from "../i18n";
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
history: import.meta.env.SSR ? createMemoryHistory(import.meta.env.BASE_URL) : createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
@@ -47,6 +47,7 @@ const router = createRouter({
|
||||
component: RoomFinder,
|
||||
meta: {
|
||||
label: "roomFinderPage.roomSchedule",
|
||||
description: "roomFinderPage.description",
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -55,7 +56,8 @@ const router = createRouter({
|
||||
component: FreeRooms,
|
||||
meta: {
|
||||
label: "freeRooms.freeRooms",
|
||||
}
|
||||
description: "freeRooms.description",
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/faq",
|
||||
@@ -63,6 +65,7 @@ const router = createRouter({
|
||||
component: Faq,
|
||||
meta: {
|
||||
label: "faq",
|
||||
description: "faqView.description",
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -79,6 +82,7 @@ const router = createRouter({
|
||||
component: EditAdditionalModules,
|
||||
meta: {
|
||||
label: "editCalendar",
|
||||
description: "editCalendarView.description"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -87,6 +91,7 @@ const router = createRouter({
|
||||
component: EditModules,
|
||||
meta: {
|
||||
label: "editCalendar",
|
||||
description: "editCalendarView.description"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -103,6 +108,7 @@ const router = createRouter({
|
||||
component: EditCalendarView,
|
||||
meta: {
|
||||
label: "editCalendar",
|
||||
description: "editCalendarView.description"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user