Skip to content
24 changes: 17 additions & 7 deletions astro/src/pages/mutua11y/mentor-registration.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const crumbs: Breadcrumbs = [

import Branding from "@components/Branding.astro";
import Column from "@components/Column.astro";
import ExternalLink from "@components/ExternalLink.astro";
import GoogleForm from "@components/forms/GoogleForm.astro";
import ImageHeading from "@components/ImageHeading.astro";
import Layout from "src/layouts/Layout.astro";
Expand Down Expand Up @@ -133,10 +134,10 @@ import ThemedSection from "@components/ThemedSection.astro";
<Column noDefault md="12" class="mb-3">
<h3 class="display-5">Your location and language information</h3>
<p class="form-text">
We will use this information to try and best match your geographic region, timezone and spoken languages whenever possible.
We will use this information to try and best match your geographic region, time zone and spoken languages whenever possible.
</p>
</Column>
<Column noDefault md="6" class="mb-3">
<Column noDefault lg="6" class="mb-3">
<fieldset>
<legend class="mb-1 fs-6 required-field">
What region do you primarily live and work in? <span class="asterisk" aria-hidden="true"></span>
Expand All @@ -154,20 +155,29 @@ import ThemedSection from "@components/ThemedSection.astro";
</select>
</fieldset>
</Column>
<Column noDefault md="6" class="mb-3">
<Column noDefault lg="6" class="mb-3">
<fieldset>
<legend class="mb-1 fs-6 required-field">
What timezone do you live in? <span class="asterisk" aria-hidden="true"></span>
What time zone do you live in?
<span class="asterisk" aria-hidden="true"></span>
<span class="form-text">(UTC stands for Universal Coordinated Time)</span>
</legend>
<select
class="form-select mb-2"
name="Timezone"
aria-label="Timezone selection"
name="TimeZone"
aria-label="Time zone selection"
aria-describedby="timeZoneHelpLink"
required
>
<option value="" selected disabled aria-disabled="false">Select the timezone you live in...</option>
<option value="" selected disabled aria-disabled="false">Select the time zone you live in...</option>
{ timeZones.map((tz) => <option value={tz} set:text={tz} />) }
</select>
<div id="timeZoneHelpLink" class="form-text small">
Not sure what your time zone is?
<ExternalLink href="https://time.is/your_time_zone">
Find your time zone and UTC offset
</ExternalLink>.
</div>
</fieldset>
</Column>
<div class="col-12 mb-3">
Expand Down
27 changes: 19 additions & 8 deletions astro/src/pages/mutua11y/protege-registration.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const crumbs: Breadcrumbs = [

import Branding from "@components/Branding.astro";
import Column from "@components/Column.astro";
import ExternalLink from "@components/ExternalLink.astro";
import GoogleForm from "@components/forms/GoogleForm.astro";
import ImageHeading from "@components/ImageHeading.astro";
import Layout from "src/layouts/Layout.astro";
Expand Down Expand Up @@ -131,13 +132,14 @@ import ThemedSection from "@components/ThemedSection.astro";
<Column noDefault md="12" class="mb-3">
<h3 class="display-5">Your location and language information</h3>
<p class="form-text">
We will use this information to try and best match your geographic region, timezone and spoken languages whenever possible.
We will use this information to try and best match your geographic region, time zone and spoken languages whenever possible.
</p>
</Column>
<Column noDefault md="6" class="mb-3">
<Column noDefault lg="6" class="mb-3">
<fieldset>
<legend class="mb-1 fs-6 required-field">
What region do you primarily live and work in? <span class="asterisk" aria-hidden="true"></span>
What region do you primarily live and work in?
<span class="asterisk" aria-hidden="true"></span>
</legend>
<select
class="form-select mb-2"
Expand All @@ -152,20 +154,29 @@ import ThemedSection from "@components/ThemedSection.astro";
</select>
</fieldset>
</Column>
<Column noDefault md="6" class="mb-3">
<Column noDefault lg="6" class="mb-3">
<fieldset>
<legend class="mb-1 fs-6 required-field">
What timezone do you live in? <span class="asterisk" aria-hidden="true"></span>
What time zone do you live in?
<span class="asterisk" aria-hidden="true"></span>
<span class="form-text">(UTC stands for Universal Coordinated Time)</span>
</legend>
<select
class="form-select mb-2"
name="Timezone"
aria-label="Timezone selection"
name="TimeZone"
aria-label="Time zone selection"
aria-describedby="timeZoneHelpLink"
required
>
<option value="" selected disabled aria-disabled="false">Select the timezone you live in...</option>
<option value="" selected disabled aria-disabled="false">Select the time zone you live in...</option>
{ timeZones.map((tz) => <option value={tz} set:text={tz} />) }
</select>
<div id="timeZoneHelpLink" class="form-text small">
Not sure what your time zone is?
<ExternalLink href="https://time.is/your_time_zone">
Find your time zone and UTC offset
</ExternalLink>.
</div>
</fieldset>
</Column>
<div class="col-12 mb-3">
Expand Down
Loading