diff --git a/app/components/TheHome.server.vue b/app/components/TheHome.server.vue index 91d54ce9..192f7450 100644 --- a/app/components/TheHome.server.vue +++ b/app/components/TheHome.server.vue @@ -221,7 +221,7 @@ const [{ data: currentLocation }, { data: upcomingConferences }, { data: streams :src="conference.image.url" width="320" height="128" - :alt="`Logo for ${conference.name}`" + :alt="conference.image.alt" class="w-full h-full object-cover object-center" /> diff --git a/app/components/TheUses.server.vue b/app/components/TheUses.server.vue index 86f64166..963cb244 100644 --- a/app/components/TheUses.server.vue +++ b/app/components/TheUses.server.vue @@ -27,7 +27,7 @@ > () const form = reactive({ - city: props.initial?.city ?? '', - region: props.initial?.region ?? '', - country: props.initial?.country ?? '', - countryCode: props.initial?.countryCode ?? '', + city: props.initial?.address?.locality ?? '', + region: props.initial?.address?.region ?? '', + countryCode: props.initial?.address?.country ?? '', meetupAvailable: props.initial?.meetupAvailable ?? true, }) @@ -28,10 +27,12 @@ async function onSubmit () { submitting.value = true try { const value: LocationValue = { - city: form.city, - ...(form.region ? { region: form.region } : {}), - country: form.country, - countryCode: form.countryCode.toUpperCase(), + address: { + $type: 'community.lexicon.location.address', + country: form.countryCode.toUpperCase(), + ...(form.region ? { region: form.region } : {}), + locality: form.city, + }, meetupAvailable: form.meetupAvailable, ...(props.initial?.createdAt ? { createdAt: props.initial.createdAt } : { createdAt: new Date().toISOString() }), } @@ -78,29 +79,19 @@ async function onSubmit () { -
- - -
+
- Screenshot +
-
-