Skip to content

Commit 8fdc506

Browse files
committed
feat: Replace newsletter form with a contact and feedback section, updating UI and translations.
1 parent 1db6125 commit 8fdc506

File tree

3 files changed

+73
-41
lines changed

3 files changed

+73
-41
lines changed

docs/index.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,14 +384,22 @@ <h2 data-i18n="download.title">Hemen İndirin</h2>
384384
<p class="download-note" data-i18n="download.note">Yakında Android sürümü ile birlikte • Tamamen
385385
ücretsiz</p>
386386

387-
<!-- Newsletter Form -->
387+
<!-- Contact & Feedback Section -->
388388
<div class="newsletter-section">
389-
<h3 data-i18n="newsletter.title">Gelişmelerden Haberdar Olun</h3>
390-
<form class="newsletter-form">
391-
<input type="email" placeholder="E-posta" data-i18n="newsletter.placeholder"
392-
data-i18n-attr="placeholder" required>
393-
<button type="submit" class="btn btn-primary" data-i18n="newsletter.button">Abone Ol</button>
394-
</form>
389+
<h3 data-i18n="contact.title">Geri Bildirim ve İletişim</h3>
390+
<p class="contact-description" data-i18n="contact.description">Vakit'i daha iyi hale getirmek için
391+
fikirleriniz bizim için çok değerli.</p>
392+
<div class="contact-links">
393+
<a href="https://docs.google.com/forms/d/1kFwSM_XayYaRrkUyB8rynTJzWF8ahrcnHQp7fvhSfNU"
394+
target="_blank" class="btn btn-apple-primary feedback-button"
395+
data-i18n="contact.feedbackUrl" data-i18n-attr="href">
396+
<span data-i18n="contact.feedbackButton">Geri Bildirim Gönder</span>
397+
</a>
398+
<p class="email-contact">
399+
<span data-i18n="contact.emailLabel">Bize ulaşın:</span>
400+
<a href="mailto:[email protected]" class="email-link">[email protected]</a>
401+
</p>
402+
</div>
395403
</div>
396404
</div>
397405
</div>

docs/styles.css

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ body {
784784
/* Download & Footer */
785785
.download {
786786
padding: var(--spacing-xxl) 0;
787-
background: var(--text-primary);
788-
color: white;
787+
background: var(--background-alt);
788+
color: var(--text-primary);
789789
text-align: center;
790790
}
791791

@@ -799,12 +799,12 @@ body {
799799
.download-content p {
800800
font-size: 1.2rem;
801801
margin-bottom: var(--spacing-lg);
802-
opacity: 0.9;
802+
color: var(--text-secondary);
803803
}
804804

805805
.download-note {
806806
margin-top: var(--spacing-md);
807-
opacity: 0.7;
807+
color: var(--text-muted);
808808
font-size: 0.9rem;
809809
}
810810

@@ -1578,41 +1578,59 @@ html {
15781578
/* Newsletter Section */
15791579
.newsletter-section {
15801580
margin-top: var(--spacing-xl);
1581-
padding: var(--spacing-lg);
1582-
background: var(--glass-bg);
1581+
padding: var(--spacing-xl) var(--spacing-lg);
1582+
background: var(--surface);
15831583
backdrop-filter: blur(var(--glass-blur));
1584-
border-radius: var(--radius-lg);
1585-
border: 1px solid var(--glass-border);
1586-
max-width: 600px;
1584+
border-radius: var(--radius-xl);
1585+
border: 1px solid var(--card-border);
1586+
max-width: 700px;
15871587
margin-left: auto;
15881588
margin-right: auto;
1589+
box-shadow: var(--shadow-xl);
15891590
}
15901591

15911592
.newsletter-section h3 {
15921593
margin-bottom: var(--spacing-md);
15931594
font-size: 1.5rem;
15941595
}
15951596

1596-
.newsletter-form {
1597+
.contact-description {
1598+
color: var(--text-secondary);
1599+
margin-bottom: var(--spacing-lg);
1600+
font-size: 1.1rem;
1601+
text-align: center;
1602+
}
1603+
1604+
.contact-links {
15971605
display: flex;
1598-
gap: var(--spacing-sm);
1606+
flex-direction: column;
1607+
align-items: center;
1608+
gap: var(--spacing-md);
15991609
}
16001610

1601-
.newsletter-form input {
1602-
flex: 1;
1603-
padding: 1rem 1.5rem;
1604-
border-radius: var(--radius-md);
1605-
border: 1px solid var(--card-border);
1606-
background: var(--background);
1607-
color: var(--text-primary);
1608-
font-family: inherit;
1609-
font-size: 1rem;
1611+
.feedback-button {
1612+
text-decoration: none;
1613+
width: 100%;
1614+
max-width: 320px;
1615+
display: flex;
1616+
justify-content: center;
1617+
align-items: center;
16101618
}
16111619

1612-
.newsletter-form input:focus {
1613-
outline: none;
1614-
border-color: var(--primary);
1615-
box-shadow: 0 0 0 3px var(--primary-light);
1620+
.email-contact {
1621+
font-size: 0.95rem;
1622+
color: var(--text-secondary);
1623+
margin-top: var(--spacing-xs);
1624+
}
1625+
1626+
.email-link {
1627+
color: var(--primary);
1628+
text-decoration: none;
1629+
font-weight: 600;
1630+
}
1631+
1632+
.email-link:hover {
1633+
text-decoration: underline;
16161634
}
16171635

16181636
@media (max-width: 768px) {

docs/translations.js

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,14 @@ const translations = {
206206
]
207207
},
208208

209-
// Newsletter
210-
newsletter: {
211-
title: "Gelişmelerden Haberdar Olun",
212-
placeholder: "E-posta adresiniz",
213-
button: "Abone Ol"
209+
// Contact & Feedback
210+
contact: {
211+
title: "Geri Bildirim ve İletişim",
212+
description: "Vakit'i daha iyi hale getirmek için fikirleriniz bizim için çok değerli.",
213+
feedbackButton: "Geri Bildirim Gönder",
214+
feedbackUrl: "https://docs.google.com/forms/d/1kFwSM_XayYaRrkUyB8rynTJzWF8ahrcnHQp7fvhSfNU",
215+
emailLabel: "Bize ulaşın:",
216+
214217
},
215218

216219
// Footer Section
@@ -492,11 +495,14 @@ const translations = {
492495
]
493496
},
494497

495-
// Newsletter
496-
newsletter: {
497-
title: "Stay Updated",
498-
placeholder: "Your email address",
499-
button: "Subscribe"
498+
// Contact & Feedback
499+
contact: {
500+
title: "Feedback & Contact",
501+
description: "Your ideas are valuable to make Vakit even better.",
502+
feedbackButton: "Send Feedback",
503+
feedbackUrl: "https://docs.google.com/forms/d/16ozSBeDPPwNhG2ViJaHLaHYski-oS8HLvHO52_g3Joc",
504+
emailLabel: "Contact us:",
505+
500506
},
501507

502508
// Footer Section

0 commit comments

Comments
 (0)