## Summary - apply public website launch readiness updates across the Astro site shell, content, and navigation - refine website components, metadata, and localization-related structure for launch prep - update docs/content paths and smoke coverage to match the launch-ready public site state ## Scope - touches the website app and related spec artifacts for feature 403 - does not modify `apps/platform` ## Testing - not run in this step Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #394
27 lines
909 B
Plaintext
27 lines
909 B
Plaintext
---
|
|
const { label = Astro.currentLocale === 'fr' ? 'E-mail' : 'Email', id } =
|
|
Astro.props;
|
|
|
|
interface Props {
|
|
label?: string;
|
|
id: string;
|
|
}
|
|
---
|
|
|
|
{/* Container for the label and email input field */}
|
|
<div>
|
|
{
|
|
/* Label for the email input field, visually hidden but accessible to screen readers */
|
|
}
|
|
<label for={id} class="sr-only">{label}</label>
|
|
{/* Email input field */}
|
|
<input
|
|
type="email"
|
|
name="hs-email-contacts"
|
|
id={id}
|
|
autocomplete="email"
|
|
class="block w-full rounded-lg border border-neutral-200 bg-neutral-50 px-4 py-3 text-sm text-neutral-700 placeholder:text-neutral-500 focus:border-neutral-200 focus:ring-3 focus:ring-neutral-400 focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-700/30 dark:text-neutral-300 dark:placeholder:text-neutral-400 dark:focus:ring-1"
|
|
placeholder={label}
|
|
/>
|
|
</div>
|