Align the form and its aside to one height
Browse files at this commitf85993c7ba7710dad49f27b6e2f6653ae3f3a231Parent: 20cbb6c- fix
- align the form and its aside to one height
7 changed files +15 -11
- src/app.css +14 -2
- src/components/Footer.tsx +0 -1
- src/config.ts +0 -2
- src/i18n/tr-pages.ts +0 -1
- src/i18n/tr.ts +1 -1
- src/lib/schema.ts +0 -1
- src/routes/iletisim.tsx +0 -3
src/app.cssmodified+14 -2
| @@ -1136,13 +1136,17 @@ | ||
| 1136 | 1136 | } |
| 1137 | 1137 | |
| 1138 | 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 | 1142 | .hz-contact-split { |
| 1140 | 1143 | display: grid; |
| 1141 | 1144 | grid-template-columns: 1.4fr 1fr; |
| 1142 | 1145 | gap: clamp(28px, 4vw, 56px); |
| 1143 | - align-items: start; | |
| 1146 | + align-items: stretch; | |
| 1144 | 1147 | } |
| 1145 | 1148 | .hz-form-card { |
| 1149 | + height: 100%; | |
| 1146 | 1150 | padding: clamp(22px, 3vw, 36px); |
| 1147 | 1151 | border: 1px solid var(--line); |
| 1148 | 1152 | border-radius: var(--radius-xl); |
| @@ -1267,12 +1271,20 @@ | ||
| 1267 | 1271 | } |
| 1268 | 1272 | .hz-contact-aside { |
| 1269 | 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 | 1280 | padding: clamp(20px, 3vw, 28px); |
| 1272 | 1281 | border: 1px solid var(--line); |
| 1273 | 1282 | border-radius: var(--radius-xl); |
| 1274 | 1283 | background: var(--paper); |
| 1275 | 1284 | } |
| 1285 | +.hz-contact-aside > *:first-child { | |
| 1286 | + align-self: start; | |
| 1287 | +} | |
| 1276 | 1288 | .hz-ministeps { |
| 1277 | 1289 | display: grid; |
| 1278 | 1290 | gap: 18px; |
src/components/Footer.tsxmodified+0 -1
| @@ -50,7 +50,6 @@ export default function Footer() { | ||
| 50 | 50 | <Logo /> |
| 51 | 51 | <p class="hz-small mt-4 max-w-[36ch]">{t.footer.tagline}</p> |
| 52 | 52 | <p class="hz-small mt-4"> |
| 53 | - {site.city} ·{" "} | |
| 54 | 53 | <a |
| 55 | 54 | href={site.builder.url} |
| 56 | 55 | rel="noopener noreferrer" |
src/config.tsmodified+0 -2
| @@ -16,8 +16,6 @@ export const site = { | ||
| 16 | 16 | and is already answered, and a contact address nobody reads is worse |
| 17 | 17 | than one that does not match the site's domain. */ |
| 18 | 18 | email: "merhaba@dizey.sh", |
| 19 | - phone: "+90 352 000 00 00", | |
| 20 | - city: "Kayseri", | |
| 21 | 19 | founded: 2026, |
| 22 | 20 | /** Who builds it. The product speaks for itself; this is the credit line. */ |
| 23 | 21 | builder: { name: "Dizey Lab", url: "https://dizey.sh" }, |
src/i18n/tr-pages.tsmodified+0 -1
| @@ -189,7 +189,6 @@ export const trPages = { | ||
| 189 | 189 | direct: { |
| 190 | 190 | title: "Doğrudan iletişim", |
| 191 | 191 | description: "Form yerine yazmayı tercih ederseniz aynı yere düşer.", |
| 192 | - cityLabel: "Merkez", | |
| 193 | 192 | }, |
| 194 | 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 | 274 | paragraphs: [ |
| 275 | 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 | 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 | 279 | builder: { |
| 280 | 280 | title: "Dizey Lab tarafından geliştiriliyor", |
src/lib/schema.tsmodified+0 -1
| @@ -60,7 +60,6 @@ export function pageGraph(input: PageInput) { | ||
| 60 | 60 | image: OG_IMAGE, |
| 61 | 61 | address: { |
| 62 | 62 | "@type": "PostalAddress", |
| 63 | - addressLocality: site.city, | |
| 64 | 63 | addressCountry: "TR", |
| 65 | 64 | }, |
| 66 | 65 | // 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 | 59 | <a class="hz-contact-mail" href={mailto(t.cta.subject)}> |
| 60 | 60 | {site.email} |
| 61 | 61 | </a> |
| 62 | - <p class="hz-small"> | |
| 63 | - {t.contact.direct.cityLabel}: {site.city} | |
| 64 | - </p> | |
| 65 | 62 | </div> |
| 66 | 63 | |
| 67 | 64 | <A href={routes.how} class="hz-btn hz-btn-quiet"> |