forge
Explore
Log in

Don't you dare go Hollow

Align the form and its aside to one height

Browse files at this commit

f85993c7ba7710dad49f27b6e2f6653ae3f3a231Burak BoduroğluParent: 20cbb6c
  • fix
    • align the form and its aside to one height
Show full message
fix(contact): align the form and its aside to one height

İki kolon artık ikisinin uzunu kadar uzuyor: yan panelin adımları boşluğu alıyor, adres bloğu ve şema bağlantısı alt kenarı tutuyor. Önceden kısa olan kolon beyaz bir sütunun içinde asılı kalıyordu.

Şehir bilgisi metinlerden, footer'dan, iletişim panelinden ve yapısal veriden kaldırıldı.
src/app.cssmodified+14 -2
@@ -1136,13 +1136,17 @@
1136 }1136 }
1137 1137
1138 /* ---- Contact page ---------------------------------------------------------- */1138 /* ---- Contact page ---------------------------------------------------------- */
1139+/* The form and the panel beside it are one block: both columns stretch to
1140+ the taller of the two, so their tops and bottoms line up instead of the
1141+ short one floating in a column of white. */
1139 .hz-contact-split {1142 .hz-contact-split {
1140 display: grid;1143 display: grid;
1141 grid-template-columns: 1.4fr 1fr;1144 grid-template-columns: 1.4fr 1fr;
1142 gap: clamp(28px, 4vw, 56px);1145 gap: clamp(28px, 4vw, 56px);
1143- align-items: start;1146+ align-items: stretch;
1144 }1147 }
1145 .hz-form-card {1148 .hz-form-card {
1149+ height: 100%;
1146 padding: clamp(22px, 3vw, 36px);1150 padding: clamp(22px, 3vw, 36px);
1147 border: 1px solid var(--line);1151 border: 1px solid var(--line);
1148 border-radius: var(--radius-xl);1152 border-radius: var(--radius-xl);
@@ -1267,12 +1271,20 @@
1267 }1271 }
1268 .hz-contact-aside {1272 .hz-contact-aside {
1269 display: grid;1273 display: grid;
1270- gap: 32px;1274+ /* The steps take the space, the address block sits under them and the
1275+ diagram link holds the bottom edge — which is what makes the column end
1276+ level with the form's last field rather than short of it. */
1277+ grid-template-rows: 1fr auto auto;
1278+ gap: 28px;
1279+ height: 100%;
1271 padding: clamp(20px, 3vw, 28px);1280 padding: clamp(20px, 3vw, 28px);
1272 border: 1px solid var(--line);1281 border: 1px solid var(--line);
1273 border-radius: var(--radius-xl);1282 border-radius: var(--radius-xl);
1274 background: var(--paper);1283 background: var(--paper);
1275 }1284 }
1285+.hz-contact-aside > *:first-child {
1286+ align-self: start;
1287+}
1276 .hz-ministeps {1288 .hz-ministeps {
1277 display: grid;1289 display: grid;
1278 gap: 18px;1290 gap: 18px;
src/components/Footer.tsxmodified+0 -1
@@ -50,7 +50,6 @@ export default function Footer() {
50 <Logo />50 <Logo />
51 <p class="hz-small mt-4 max-w-[36ch]">{t.footer.tagline}</p>51 <p class="hz-small mt-4 max-w-[36ch]">{t.footer.tagline}</p>
52 <p class="hz-small mt-4">52 <p class="hz-small mt-4">
53- {site.city} ·{" "}
54 <a53 <a
55 href={site.builder.url}54 href={site.builder.url}
56 rel="noopener noreferrer"55 rel="noopener noreferrer"
src/config.tsmodified+0 -2
@@ -16,8 +16,6 @@ export const site = {
16 and is already answered, and a contact address nobody reads is worse16 and is already answered, and a contact address nobody reads is worse
17 than one that does not match the site's domain. */17 than one that does not match the site's domain. */
18 email: "merhaba@dizey.sh",18 email: "merhaba@dizey.sh",
19- phone: "+90 352 000 00 00",
20- city: "Kayseri",
21 founded: 2026,19 founded: 2026,
22 /** Who builds it. The product speaks for itself; this is the credit line. */20 /** Who builds it. The product speaks for itself; this is the credit line. */
23 builder: { name: "Dizey Lab", url: "https://dizey.sh" },21 builder: { name: "Dizey Lab", url: "https://dizey.sh" },
src/i18n/tr-pages.tsmodified+0 -1
@@ -189,7 +189,6 @@ export const trPages = {
189 direct: {189 direct: {
190 title: "Doğrudan iletişim",190 title: "Doğrudan iletişim",
191 description: "Form yerine yazmayı tercih ederseniz aynı yere düşer.",191 description: "Form yerine yazmayı tercih ederseniz aynı yere düşer.",
192- cityLabel: "Merkez",
193 },192 },
194 kvkk: "Form verileri yalnızca talebin değerlendirilmesi için kullanılır, üçüncü taraflarla paylaşılmaz ve talebiniz kapandıktan sonra saklanmaz.",193 kvkk: "Form verileri yalnızca talebin değerlendirilmesi için kullanılır, üçüncü taraflarla paylaşılmaz ve talebiniz kapandıktan sonra saklanmaz.",
195 },194 },
src/i18n/tr.tsmodified+1 -1
@@ -274,7 +274,7 @@ export const tr = {
274 paragraphs: [274 paragraphs: [
275 "Hezarfen; okul, kurs ve etüt merkezlerinin akademik, idari ve finansal süreçlerini tek merkezde birleştiren rol tabanlı bir eğitim yönetim platformudur. Sınav sorusu konu ve kazanım etiketiyle, cevaplar soru soru saklandığı için kurumda biriken veri raporun ötesine geçer: öğrencinin neye, neden ve ne kadar çalışması gerektiğini gösteren bir plana dönüşür.",275 "Hezarfen; okul, kurs ve etüt merkezlerinin akademik, idari ve finansal süreçlerini tek merkezde birleştiren rol tabanlı bir eğitim yönetim platformudur. Sınav sorusu konu ve kazanım etiketiyle, cevaplar soru soru saklandığı için kurumda biriken veri raporun ötesine geçer: öğrencinin neye, neden ve ne kadar çalışması gerektiğini gösteren bir plana dönüşür.",
276 "Analiz ve içerik üretimi kaynağa bağlı çalışır. Kişisel çalışma planı, kaynak özeti, ders çizelgesi taslağı, öğretmen denetimindeki soru üretimi ve sesli ders içeriği; hepsi kurumun kendi verisinden ve kendi yüklediği kaynaklardan üretilir. Öğrenciye gidecek hiçbir çıktı öğretmen onayı olmadan yayımlanmaz.",276 "Analiz ve içerik üretimi kaynağa bağlı çalışır. Kişisel çalışma planı, kaynak özeti, ders çizelgesi taslağı, öğretmen denetimindeki soru üretimi ve sesli ders içeriği; hepsi kurumun kendi verisinden ve kendi yüklediği kaynaklardan üretilir. Öğrenciye gidecek hiçbir çıktı öğretmen onayı olmadan yayımlanmaz.",
277- "Ürün Kayseri'de geliştiriliyor; ilk kurulumlar ve eğitimler yüz yüze destekle yürütülüyor. Türkçe içerik ve MEB süreçlerine uyum sonradan eklenen bir özellik değil, ürünün başlangıç kabulü.",277+ "İlk kurulumlar ve eğitimler yüz yüze destekle yürütülüyor. Türkçe içerik ve MEB süreçlerine uyum sonradan eklenen bir özellik değil, ürünün başlangıç kabulü.",
278 ],278 ],
279 builder: {279 builder: {
280 title: "Dizey Lab tarafından geliştiriliyor",280 title: "Dizey Lab tarafından geliştiriliyor",
src/lib/schema.tsmodified+0 -1
@@ -60,7 +60,6 @@ export function pageGraph(input: PageInput) {
60 image: OG_IMAGE,60 image: OG_IMAGE,
61 address: {61 address: {
62 "@type": "PostalAddress",62 "@type": "PostalAddress",
63- addressLocality: site.city,
64 addressCountry: "TR",63 addressCountry: "TR",
65 },64 },
66 // Who builds it, so the credit in the about band is part of the entity65 // Who builds it, so the credit in the about band is part of the entity
src/routes/iletisim.tsxmodified+0 -3
@@ -59,9 +59,6 @@ export default function Contact() {
59 <a class="hz-contact-mail" href={mailto(t.cta.subject)}>59 <a class="hz-contact-mail" href={mailto(t.cta.subject)}>
60 {site.email}60 {site.email}
61 </a>61 </a>
62- <p class="hz-small">
63- {t.contact.direct.cityLabel}: {site.city}
64- </p>
65 </div>62 </div>
66 63
67 <A href={routes.how} class="hz-btn hz-btn-quiet">64 <A href={routes.how} class="hz-btn hz-btn-quiet">