Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/src/components/features/launch/HeroSection.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const t = await createTranslator(locale);
{/* The key predates the redesign, when this line was the eyebrow. */}
<h1 class="launch-hero-title">{t("launch.hero.eyebrow")}</h1>
<p class="launch-hero-sub">{t("launch.hero.sub")}</p>
<SignupForm id="launch-hero" note={t("launch.signup.micro")} />
<SignupForm id="launch-hero" />
</section>

<style>
Expand Down
19 changes: 1 addition & 18 deletions website/src/components/features/launch/SignupForm.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ interface Props {
id: string;
/** Which waitlist these signups belong to. */
source?: WaitlistSource;
/** Optional line under the field, hidden once signed up. */
note?: string;
}

const { id, source = WAITLIST_SOURCE.LAUNCH, note } = Astro.props;
const { id, source = WAITLIST_SOURCE.LAUNCH } = Astro.props;

const locale = getLocaleFromUrl(Astro.url.pathname);
const t = await createTranslator(locale);
Expand Down Expand Up @@ -40,8 +38,6 @@ const t = await createTranslator(locale);
<span class="launch-error-msg" id={`${id}-error`} data-signup-error>
{t("launch.signup.error_message")}
</span>

{note && <p class="launch-note">{note}</p>}
</form>

{/* Receipt: the field becomes a confirmed row carrying the address. */}
Expand Down Expand Up @@ -170,14 +166,6 @@ const t = await createTranslator(locale);
display: block;
}

.launch-note {
margin: 20px 0 0;
font-size: 13px;
line-height: 1.5;
color: var(--color-content-55);
text-align: center;
}

.launch-receipt {
opacity: 0;
transform: translateY(12px);
Expand Down Expand Up @@ -268,11 +256,6 @@ const t = await createTranslator(locale);
font-size: 13.5px;
}

.launch-note {
margin-top: 16px;
font-size: 12px;
}

.launch-receipt-row {
padding: 15px 14px;
}
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,6 @@
"email_aria": "E-Mail-Adresse",
"submit_label": "Benachrichtigen",
"error_message": "Bitte geben Sie eine gültige E-Mail-Adresse ein.",
"micro": "Eine E-Mail, wenn Swaps live gehen. Sonst nichts.",
"success": {
"headline": "Sie stehen auf der Liste.",
"sub": "Sie erfahren es vor allen anderen."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@
"email_aria": "Email address",
"submit_label": "Notify me",
"error_message": "Please enter a valid email address.",
"micro": "One email when swaps go live. Nothing else.",
"success": {
"headline": "You're on the list.",
"sub": "You'll hear before anyone else does."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,6 @@
"email_aria": "Dirección de correo electrónico",
"submit_label": "Avísame",
"error_message": "Por favor, introduzca una dirección de correo electrónico válida.",
"micro": "Un correo cuando los swaps estén activos. Nada más.",
"success": {
"headline": "Está en la lista.",
"sub": "Se enterará antes que nadie."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@
"email_aria": "ईमेल पता",
"submit_label": "मुझे सूचित करें",
"error_message": "कृपया एक मान्य ईमेल पता दर्ज करें।",
"micro": "स्वैप लाइव होने पर सिर्फ एक ईमेल। और कुछ नहीं।",
"success": {
"headline": "आप सूची में हैं।",
"sub": "आपको सबसे पहले पता चलेगा।"
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/id-ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@
"email_aria": "Alamat email",
"submit_label": "Beri tahu saya",
"error_message": "Harap masukkan alamat email yang valid.",
"micro": "Satu email saat swap aktif. Tidak lebih.",
"success": {
"headline": "Anda sudah terdaftar.",
"sub": "Anda akan tahu sebelum orang lain."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,6 @@
"email_aria": "メールアドレス",
"submit_label": "通知を受け取る",
"error_message": "有効なメールアドレスを入力してください。",
"micro": "スワップ開始時にメールを1通だけお送りします。それ以外は送りません。",
"success": {
"headline": "登録が完了しました。",
"sub": "誰よりも早くお知らせします。"
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@
"email_aria": "이메일 주소",
"submit_label": "알림 받기",
"error_message": "유효한 이메일 주소를 입력하세요.",
"micro": "스왑이 시작되면 이메일 한 통만 보내드립니다. 그 외에는 없습니다.",
"success": {
"headline": "등록되었습니다.",
"sub": "누구보다 먼저 소식을 전해드립니다."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@
"email_aria": "Адрес электронной почты",
"submit_label": "Сообщить мне",
"error_message": "Пожалуйста, введите корректный адрес электронной почты.",
"micro": "Одно письмо, когда свопы заработают. Больше ничего.",
"success": {
"headline": "Вы в списке.",
"sub": "Вы узнаете раньше всех."
Expand Down
1 change: 0 additions & 1 deletion website/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,6 @@
"email_aria": "电子邮件地址",
"submit_label": "通知我",
"error_message": "请输入有效的电子邮件地址。",
"micro": "兑换上线时只发一封邮件,别无其他。",
"success": {
"headline": "您已加入名单。",
"sub": "您将比任何人都更早知道。"
Expand Down