Explorar o código

upgrade vuetify and minor fixes

Olivier Massot hai 1 ano
pai
achega
816f34ddf9
Modificáronse 5 ficheiros con 17 adicións e 12 borrados
  1. 7 5
      components/Contact/Form.vue
  2. 4 0
      components/Contact/Map.client.vue
  3. 0 1
      components/JoinUs/Form.vue
  4. 1 1
      package.json
  5. 5 5
      yarn.lock

+ 7 - 5
components/Contact/Form.vue

@@ -21,10 +21,12 @@
         <!-- Gender selection -->
         <v-row>
           <v-col cols="12">
-            <v-radio-group v-model="contactRequest.gender" row mandatory inline>
-              <v-radio label="Madame" value="Madame" />
-              <v-radio label="Monsieur" value="Monsieur" />
-            </v-radio-group>
+            <v-select
+              v-model="contactRequest.gender"
+              label="Genre*"
+              :items="['Madame', 'Monsieur']"
+              mandatory
+            />
           </v-col>
         </v-row>
 
@@ -296,7 +298,7 @@ const errorMsg: Ref<string | null> = ref(null)
  * @returns {void}
  */
 const submit = async (): Promise<void> => {
-  const { valid } = await form.value.validate()
+  const { valid } = await form.value!.validate()
 
   if (!valid) {
     contactRequestSent.value = false

+ 4 - 0
components/Contact/Map.client.vue

@@ -130,6 +130,10 @@ h4 {
     opacity: 0.6;
   }
 
+  a {
+    color: var(--on-neutral-color);
+  }
+
   @media (max-width: 600px) {
     order: -1
   }

+ 0 - 1
components/JoinUs/Form.vue

@@ -153,7 +153,6 @@ const validateMessageLength = (message: string | null) =>
  * Soumet le formulaire de candidature (boite de dialogue)
  */
 const submit = async () => {
-  console.log(resumeUpload.value)
   jobApplication.resume =
     resumeUpload.value !== null
       ? {

+ 1 - 1
package.json

@@ -55,7 +55,7 @@
     "uuid": "^9.0.1",
     "vite-plugin-vuetify": "^2.0.3",
     "vue3-carousel": "^0.3.1",
-    "vuetify": "^3.5.15"
+    "vuetify": "^3.6.7"
   },
   "devDependencies": {
     "@nuxt/devtools": "^1.0.8",

+ 5 - 5
yarn.lock

@@ -10242,7 +10242,7 @@ __metadata:
     uuid: "npm:^9.0.1"
     vite-plugin-vuetify: "npm:^2.0.3"
     vue3-carousel: "npm:^0.3.1"
-    vuetify: "npm:^3.5.15"
+    vuetify: "npm:^3.6.7"
   languageName: unknown
   linkType: soft
 
@@ -11818,9 +11818,9 @@ __metadata:
   languageName: node
   linkType: hard
 
-"vuetify@npm:^3.5.15":
-  version: 3.5.15
-  resolution: "vuetify@npm:3.5.15"
+"vuetify@npm:^3.6.7":
+  version: 3.6.7
+  resolution: "vuetify@npm:3.6.7"
   peerDependencies:
     typescript: ">=4.7"
     vite-plugin-vuetify: ">=1.0.0"
@@ -11836,7 +11836,7 @@ __metadata:
       optional: true
     webpack-plugin-vuetify:
       optional: true
-  checksum: 10c0/f65001d8b2184a928efa6d272cef88030ade4dee2afe29090f33ebb9612d34cc2dc469bde99961f7cbf6d9652224870a385ee95ab79ad22e8aef318f57d51d6d
+  checksum: 10c0/7449a292a464a6c2150a2f1d8791d55fcbbafe6481a97a9f479d1ca60402d7434426872dde603e71c60dbfef491233b4bc26c3622b496a1f77587c9ac96d4c4e
   languageName: node
   linkType: hard