diff --git a/src/components/Announcement.vue b/src/components/Announcement.vue new file mode 100644 index 0000000..6443474 --- /dev/null +++ b/src/components/Announcement.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/src/pages/index.vue b/src/pages/index.vue index e229b48..bc461e0 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -6,6 +6,7 @@ useHead({ diff --git a/src/pages/talents.vue b/src/pages/talents.vue index 3719ae5..ddb434c 100644 --- a/src/pages/talents.vue +++ b/src/pages/talents.vue @@ -9,9 +9,7 @@ const { getCategories, talents, isFavorite, toggleFavorite, switchCategory, pend getCategories.value?.forEach(category => categories.value.push({ label: category.name, slug: category.slug })) const appConfig = useAppConfig() -function getColor() { - return `text-${appConfig.ui.primary}-500` -} +const getColor = computed(() => `text-${appConfig.ui.primary}-500`) - diff --git a/src/pages/work.vue b/src/pages/work.vue index 19166be..d2461ba 100644 --- a/src/pages/work.vue +++ b/src/pages/work.vue @@ -1,8 +1,6 @@