mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
add blog-post + links
This commit is contained in:
@@ -9,7 +9,7 @@ export type BlogPost = {
|
||||
}
|
||||
|
||||
export const homePostsIndexes = ref<number[]>([
|
||||
0
|
||||
1, 0
|
||||
])
|
||||
|
||||
export const blogPosts = ref<BlogPost[]>([
|
||||
@@ -21,9 +21,19 @@ export const blogPosts = ref<BlogPost[]>([
|
||||
title: 'Presenting Litlyx',
|
||||
subtitle: 'Our Why. Our Vision. Our Manifestation of Intent',
|
||||
id: 'presenting-litlyx'
|
||||
},
|
||||
{
|
||||
author: 'Antonio, CEO at Litlyx',
|
||||
authorImage: 'AntonioVerdiglione.jpg',
|
||||
image: 'posts/why-choose-litlyx.jpg',
|
||||
created_at: "Sep 1, 2024",
|
||||
title: 'Why choose Litlyx',
|
||||
subtitle: 'Litlyx vs Plausible vs Google Analitycs',
|
||||
id: 'why-choose-litlyx'
|
||||
}
|
||||
]);
|
||||
|
||||
export const homePosts = computed(() => {
|
||||
return blogPosts.value.filter((e, i) => homePostsIndexes.value.includes(i));
|
||||
return homePostsIndexes.value.map(e => blogPosts.value[e]);
|
||||
// return blogPosts.value.filter((e, i) => homePostsIndexes.value.includes(i));
|
||||
})
|
||||
Reference in New Issue
Block a user