feat: page titles and favicon
This commit is contained in:
@@ -23,6 +23,13 @@ const category = computed(() => {
|
||||
return "all";
|
||||
});
|
||||
|
||||
const categoryTitle = computed(() => {
|
||||
if (category.value === "active") return "Active links";
|
||||
if (category.value === "disabled") return "Disabled links";
|
||||
return "All links";
|
||||
});
|
||||
useHead({ title: categoryTitle });
|
||||
|
||||
const filteredLinks = computed(() => {
|
||||
if (!links.value) return [];
|
||||
if (category.value === "active") return links.value.filter((l) => !l.disabled);
|
||||
|
||||
Reference in New Issue
Block a user