Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update the language selector to work with the yellow pages (#1936)
Dhruv Bhanushali2d693d73a5e2
diff --git a/src/components/VFourOhFour.vue b/src/components/VFourOhFour.vueindex aa9a45892..79403ed02 100644--- a/src/components/VFourOhFour.vue+++ b/src/components/VFourOhFour.vue@@ -44,7 +44,7 @@<VFooterv-if="isNewHeaderEnabled"mode="internal"- :language-props="{ variant: 'borderless' }"+ :language-props="{ variant: 'yellow' }"/></div></template>diff --git a/src/components/VSelectField/VSelectField.vue b/src/components/VSelectField/VSelectField.vueindex f8a731bd0..225694cff 100644--- a/src/components/VSelectField/VSelectField.vue+++ b/src/components/VSelectField/VSelectField.vue@@ -1,7 +1,9 @@<template><divclass="relative m-0.5px box-content block w-fit overflow-hidden rounded-sm border text-sm focus-within:m-0 focus-within:border-1.5 focus-within:border-pink hover:border-dark-charcoal focus-within:hover:border-pink"- :class="variant === 'borderless' ? 'border-tx' : 'border-dark-charcoal-20'"+ :class="+ variant === 'yellow' ? 'border-[#d6bb32]' : 'border-dark-charcoal-20'+ "><div class="pointer-events-none absolute inset-y-0 my-auto h-fit start-2"><slot name="start" />@@ -12,7 +14,7 @@<select:id="fieldId"v-model="modelMedium"- class="flex h-[calc(theme(spacing.10)_-_2_*_theme(borderWidth.DEFAULT))] w-full appearance-none truncate bg-white pe-10"+ class="flex h-[calc(theme(spacing.10)_-_2_*_theme(borderWidth.DEFAULT))] w-full appearance-none truncate bg-tx pe-10":class="hasStartContent ? 'ps-10' : 'ps-2'":name="fieldName"v-bind="$attrs"@@ -98,8 +100,12 @@ const VSelectField = defineComponent({type: Array as PropType<Choice[]>,default: () => [],},+ /**+ * the stylistic variant of the select field to use; The 'yellow' variant+ * has a `#d6bb32` border (20% dark charcoal on top of brand yellow).+ */variant: {- type: String as PropType<'regular' | 'borderless'>,+ type: String as PropType<'regular' | 'yellow'>,default: 'regular',},},