major change fixing bugs when running SSR in the project
This commit is contained in:
@@ -43,7 +43,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
journals: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
seo: {
|
||||
type: Object,
|
||||
@@ -62,7 +62,7 @@ export default {
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
|
||||
<BasicPageWrapper>
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
|
||||
<BasicPageWrapper>
|
||||
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<div class="relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10">
|
||||
|
||||
@@ -24,7 +24,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
divisions: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
seo: {
|
||||
type: Object,
|
||||
@@ -42,7 +42,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<div class="flex flex-col h-screen">
|
||||
<main class="flex-grow">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<div class="flex flex-col h-screen">
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<main class="flex-grow">
|
||||
<div class="relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10">
|
||||
|
||||
@@ -51,16 +51,16 @@ export default {
|
||||
type: String,
|
||||
},
|
||||
eventDates: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
navigation: {
|
||||
type: Object,
|
||||
},
|
||||
filters: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
categories: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
breadcrumbs: {
|
||||
type: Object
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer breakpoint="md">
|
||||
@@ -129,7 +129,7 @@ export default {
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<BasicPagination :links="events.links" />
|
||||
<BasicPagination v-if="events.links.next" :links="events.links" />
|
||||
</div>
|
||||
|
||||
</BasicPageContainer>
|
||||
|
||||
@@ -40,19 +40,19 @@ export default {
|
||||
type: Object,
|
||||
},
|
||||
currentDate: {
|
||||
type: String,
|
||||
type: Object,
|
||||
},
|
||||
eventDates: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
navigation: {
|
||||
type: Object,
|
||||
},
|
||||
filters: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
categories: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
breadcrumbs: {
|
||||
type: Object
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer breakpoint="md">
|
||||
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -45,7 +45,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
faculties: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
seo: {
|
||||
type: Object,
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<div class="relative mx-auto mb-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
|
||||
<BasicPageWrapper>
|
||||
|
||||
@@ -39,17 +39,12 @@ export default {
|
||||
Link,
|
||||
Head,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
},
|
||||
props: {
|
||||
posts: {
|
||||
type: Object,
|
||||
},
|
||||
filters: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
categories: {
|
||||
type: Object,
|
||||
@@ -79,7 +74,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -84,7 +84,7 @@ export default {
|
||||
|
||||
<ScrollTimeline />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer breakpoint="md">
|
||||
<div class="space-y-5 md:space-y-10">
|
||||
|
||||
@@ -44,22 +44,22 @@ export default {
|
||||
type: String,
|
||||
},
|
||||
levelsEducational: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
naprs: {
|
||||
type: Array
|
||||
type: Object,
|
||||
},
|
||||
filters: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
formsEdu: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
budgetEdu: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
direction_studies: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
seo: {
|
||||
type: Object,
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -63,10 +63,10 @@ export default {
|
||||
},
|
||||
props: {
|
||||
program: {
|
||||
type: Array,
|
||||
type: Object,
|
||||
},
|
||||
formsEdu: {
|
||||
type: Array
|
||||
type: Object
|
||||
},
|
||||
seo: {
|
||||
type: Object,
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
<template>
|
||||
<MetaTags :seo="seo" />
|
||||
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<BasicPageWrapper>
|
||||
<BasicPageContainer>
|
||||
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<MetaTags :seo="this.seo" />
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation" />
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
<div class="flex flex-col h-screen">
|
||||
<main class="flex-grow">
|
||||
|
||||
@@ -79,7 +79,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MainPageNavBar class="border-b" :sections="$page.props.navigation"></MainPageNavBar>
|
||||
<MainPageNavBar :sections="$page.props.navigation" />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user