Skip to content

Commit 7f4e29e

Browse files
committed
fix post list and profile
1 parent dcb024f commit 7f4e29e

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

src/components/AnalyticsScripts.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ if (import.meta.env.VITE_ENV == 'production') {
2121
} else {
2222
console.log("Tracking scripts disabled.")
2323
}
24-
</script>
24+
</script>
25+
26+
<template>
27+
<div></div>
28+
</template>

src/data/ProfileIcons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export const HomepageLinks = [
1818
blank: ''
1919
},
2020
{
21-
label: 'Curriculum',
21+
label: 'Currículo',
2222
icon: 'hugeicons:briefcase-01',
23-
target: 'https://andrepg.github.io/curriculum',
23+
target: 'https://andrepg.github.io/curriculo',
2424
blank: ''
2525
}
2626
];

src/views/PostListView.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ import { useRoute } from 'vue-router'
55
import PostTimelineFeature from '@/components/Blog/PostTimelineFeature.vue'
66
77
import { SitemapBridge } from '@/router/sitemap'
8+
import { Post } from '@/data/Posts'
89
910
const route = useRoute()
1011
const isLoading = ref(true)
11-
const posts = ref([])
12+
13+
const posts = ref<Post[]>([])
14+
1215
const sitemapBridge = SitemapBridge.getInstance()
1316
14-
const seriesFilter = computed<string>(() => route.params.series.toString())
17+
const seriesFilter = computed<string>(() => route.params.series?.toString() ?? '');
1518
1619
const pageTitle = computed(() => {
1720
if (seriesFilter.value) {

0 commit comments

Comments
 (0)