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 @@
11361136 }
11371137
11381138 /* ---- 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. */
11391142 .hz-contact-split {
11401143 display: grid;
11411144 grid-template-columns: 1.4fr 1fr;
11421145 gap: clamp(28px, 4vw, 56px);
1143- align-items: start;
1146+ align-items: stretch;
11441147 }
11451148 .hz-form-card {
1149+ height: 100%;
11461150 padding: clamp(22px, 3vw, 36px);
11471151 border: 1px solid var(--line);
11481152 border-radius: var(--radius-xl);
@@ -1267,12 +1271,20 @@
12671271 }
12681272 .hz-contact-aside {
12691273 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%;
12711280 padding: clamp(20px, 3vw, 28px);
12721281 border: 1px solid var(--line);
12731282 border-radius: var(--radius-xl);
12741283 background: var(--paper);
12751284 }
1285+.hz-contact-aside > *:first-child {
1286+ align-self: start;
1287+}
12761288 .hz-ministeps {
12771289 display: grid;
12781290 gap: 18px;
src/components/Footer.tsxmodified+0 -1
@@ -50,7 +50,6 @@ export default function Footer() {
5050 <Logo />
5151 <p class="hz-small mt-4 max-w-[36ch]">{t.footer.tagline}</p>
5252 <p class="hz-small mt-4">
53- {site.city} ·{" "}
5453 <a
5554 href={site.builder.url}
5655 rel="noopener noreferrer"
src/config.tsmodified+0 -2
@@ -16,8 +16,6 @@ export const site = {
1616 and is already answered, and a contact address nobody reads is worse
1717 than one that does not match the site's domain. */
1818 email: "merhaba@dizey.sh",
19- phone: "+90 352 000 00 00",
20- city: "Kayseri",
2119 founded: 2026,
2220 /** Who builds it. The product speaks for itself; this is the credit line. */
2321 builder: { name: "Dizey Lab", url: "https://dizey.sh" },
src/i18n/tr-pages.tsmodified+0 -1
@@ -189,7 +189,6 @@ export const trPages = {
189189 direct: {
190190 title: "Doğrudan iletişim",
191191 description: "Form yerine yazmayı tercih ederseniz aynı yere düşer.",
192- cityLabel: "Merkez",
193192 },
194193 kvkk: "Form verileri yalnızca talebin değerlendirilmesi için kullanılır, üçüncü taraflarla paylaşılmaz ve talebiniz kapandıktan sonra saklanmaz.",
195194 },
src/i18n/tr.tsmodified+1 -1
@@ -274,7 +274,7 @@ export const tr = {
274274 paragraphs: [
275275 "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.",
276276 "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ü.",
278278 ],
279279 builder: {
280280 title: "Dizey Lab tarafından geliştiriliyor",
src/lib/schema.tsmodified+0 -1
@@ -60,7 +60,6 @@ export function pageGraph(input: PageInput) {
6060 image: OG_IMAGE,
6161 address: {
6262 "@type": "PostalAddress",
63- addressLocality: site.city,
6463 addressCountry: "TR",
6564 },
6665 // 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() {
5959 <a class="hz-contact-mail" href={mailto(t.cta.subject)}>
6060 {site.email}
6161 </a>
62- <p class="hz-small">
63- {t.contact.direct.cityLabel}: {site.city}
64- </p>
6562 </div>
6663
6764 <A href={routes.how} class="hz-btn hz-btn-quiet">