diff --git a/src/components/Home/SearchFields.vue b/src/components/Home/SearchFields.vue
index 6d4f331c2..617109847 100644
--- a/src/components/Home/SearchFields.vue
+++ b/src/components/Home/SearchFields.vue
@@ -48,14 +48,19 @@
{{ t("Events") }}
@@ -167,6 +174,16 @@ const distanceList = computed(() => {
return distances;
});
+const select_button_class = (current_content_type: string) => {
+ if (route.query.contentType === undefined) {
+ return "";
+ } else {
+ return current_content_type === route.query.contentType
+ ? "active"
+ : "disactive";
+ }
+};
+
console.debug("initial", distance.value, search.value, address.value);
const modelValueUpdate = (newaddress: IAddress | null) => {
@@ -220,4 +237,12 @@ const { t } = useI18n({ useScope: "global" });
#search-anchor :deep(.o-input__wrapper) {
flex: 1;
}
+.active {
+ text-decoration: underline;
+ font-weight: bold;
+}
+.disactive {
+ color: #eee;
+ font-weight: 300;
+}