Skip to content

Commit 8bb064d

Browse files
committed
day by day we grow
1 parent ba0ef09 commit 8bb064d

12 files changed

Lines changed: 39 additions & 39 deletions

File tree

assets/css/modern-dark-theme.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,11 +1015,9 @@
10151015
background-color: rgb(15 23 42) !important;
10161016
}
10171017

1018-
[data-theme="dark"] body.home-page .home-why__eyebrow {
1019-
background-color: rgb(30 41 59) !important;
1020-
border-color: rgb(51 65 85) !important;
1021-
color: rgb(203 213 225) !important;
1022-
box-shadow: none;
1018+
[data-theme="dark"] body.home-page .home-why__hero {
1019+
border-color: rgb(71 85 105 / 0.8);
1020+
background-image: linear-gradient(to bottom right, rgb(30 41 59), rgb(15 23 42), rgb(30 41 59));
10231021
}
10241022

10251023
[data-theme="dark"] body.home-page .home-why__title,

assets/css/modern-glass-theme.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@
293293

294294
/* ── Hero panels (have bg-gradient-to-br — must also clear background-image) ── */
295295
[data-theme="glass"] body .browse-index__hero,
296+
[data-theme="glass"] body .home-why__hero,
296297
[data-theme="glass"] body .about-hero__panel,
297298
[data-theme="glass"] body .about-cta__panel {
298299
background-image: none !important;
@@ -419,13 +420,6 @@
419420
background-color: transparent !important;
420421
}
421422

422-
[data-theme="glass"] body .home-why__eyebrow {
423-
background-color: rgba(255, 255, 255, 0.65) !important;
424-
border-color: rgba(255, 255, 255, 0.6) !important;
425-
-webkit-backdrop-filter: blur(16px);
426-
backdrop-filter: blur(16px);
427-
}
428-
429423
/* ── Site beta tag ── */
430424
[data-theme="glass"] body .site-beta-tag {
431425
color: #0284c7 !important;
@@ -895,6 +889,7 @@
895889
[data-theme="glass"] body .home-why__perk,
896890
[data-theme="glass"] body .home-faq-scroll,
897891
[data-theme="glass"] body .browse-index__hero,
892+
[data-theme="glass"] body .home-why__hero,
898893
[data-theme="glass"] body .about-hero__panel,
899894
[data-theme="glass"] body .about-cta__panel {
900895
background-color: rgba(255, 255, 255, 0.96) !important;
@@ -919,6 +914,7 @@
919914
[data-theme="glass"] body .home-why__perk,
920915
[data-theme="glass"] body .home-faq-scroll,
921916
[data-theme="glass"] body .browse-index__hero,
917+
[data-theme="glass"] body .home-why__hero,
922918
[data-theme="glass"] body .about-hero__panel,
923919
[data-theme="glass"] body .about-cta__panel {
924920
background-color: rgba(255, 255, 255, 0.97) !important;

assets/css/modern-light-theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
}
269269

270270
[data-theme="light"] body .browse-index__hero,
271+
[data-theme="light"] body .home-why__hero,
271272
[data-theme="light"] body .about-hero__panel,
272273
[data-theme="light"] body .about-cta__panel {
273274
background-color: #ffffff !important;
@@ -301,7 +302,6 @@
301302
box-shadow: var(--light-shadow-card-hover) !important;
302303
}
303304

304-
[data-theme="light"] body .home-why__eyebrow,
305305
[data-theme="light"] body .home-testimonials__eyebrow {
306306
background-color: #ffffff !important;
307307
border-color: #e2e8f0 !important;

assets/css/tailwind-input.css

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@
106106
@apply absolute top-1/2 z-10 -translate-y-1/2;
107107
}
108108

109+
.home-hero__nav-btn.home-hero__nav-btn--side {
110+
@apply hidden md:flex;
111+
}
112+
109113
.home-hero__nav-btn--prev {
110114
@apply left-3 sm:left-5 md:left-8;
111115
}
@@ -137,7 +141,7 @@
137141
}
138142

139143
.home-hero__nav-btn {
140-
@apply flex h-11 w-11 shrink-0 items-center justify-center rounded-full border border-slate-200/90 bg-white/90 text-slate-600 shadow-sm transition-colors;
144+
@apply h-11 w-11 shrink-0 items-center justify-center rounded-full border border-slate-200/90 bg-white/90 text-slate-600 shadow-sm transition-colors;
141145
@apply hover:border-slate-300 hover:bg-white hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-brand/20;
142146
}
143147

@@ -1527,19 +1531,23 @@
15271531
}
15281532

15291533
.home-why__header {
1530-
@apply shrink-0;
1534+
@apply mb-12 shrink-0;
15311535
}
15321536

1533-
.home-why__eyebrow {
1534-
@apply inline-block px-4 py-1.5 mb-6 text-sm font-medium text-slate-700 bg-white rounded-full border border-gray-200 shadow-sm;
1537+
.home-why__hero {
1538+
@apply relative overflow-hidden rounded-2xl border border-gray-200/80 bg-gradient-to-br from-white via-slate-50/80 to-sky-50/40 shadow-sm md:rounded-3xl;
1539+
}
1540+
1541+
.home-why__hero-inner {
1542+
@apply relative z-10 px-6 py-8 text-center sm:px-10 sm:py-10;
15351543
}
15361544

15371545
.home-why__title {
1538-
@apply text-4xl font-bold tracking-tight text-slate-900 mb-6 md:text-[44px];
1546+
@apply text-3xl font-bold tracking-tight text-slate-900 md:text-4xl;
15391547
}
15401548

15411549
.home-why__intro {
1542-
@apply mx-auto max-w-2xl text-lg leading-relaxed text-slate-500;
1550+
@apply mx-auto mt-3 max-w-2xl text-base leading-relaxed text-slate-600 md:text-lg;
15431551
}
15441552

15451553
.home-why__grid {
@@ -1551,10 +1559,6 @@
15511559
@apply hover:border-slate-200 hover:bg-white;
15521560
}
15531561

1554-
.home-why__card-icon {
1555-
@apply mb-3 block text-2xl leading-none;
1556-
}
1557-
15581562
.home-why__card-title {
15591563
@apply mb-2 text-lg font-bold text-slate-900;
15601564
}

i18n/en.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,4 @@
284284
- id: faq_no_results_before
285285
translation: "No questions match your search. Try different keywords or"
286286
- id: faq_no_results_after
287-
translation: "for help."
287+
translation: "for help."

i18n/fr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,4 @@
284284
- id: faq_no_results_before
285285
translation: "Aucune question ne correspond à votre recherche. Essayez d'autres mots-clés ou"
286286
- id: faq_no_results_after
287-
translation: "pour obtenir de l'aide."
287+
translation: "pour obtenir de l'aide."

i18n/hi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,4 @@
284284
- id: faq_no_results_before
285285
translation: "आपकी खोज से कोई प्रश्न मेल नहीं खाता। दूसरे कीवर्ड आज़माएँ या"
286286
- id: faq_no_results_after
287-
translation: "करके सहायता लें।"
287+
translation: "करके सहायता लें।"

i18n/ja.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,4 @@
284284
- id: faq_no_results_before
285285
translation: "検索に一致する質問がありません。別のキーワードを試すか、"
286286
- id: faq_no_results_after
287-
translation: "してサポートを受けてください。"
287+
translation: "してサポートを受けてください。"

layouts/partials/home/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- if $data.faq.faqs -}}
33
<section id="faq" data-section-label="FAQ" class="flex flex-col bg-gray-50/50 relative pt-24 pb-12 home-faq" aria-labelledby="faq-heading">
44
<div class="max-w-3xl mx-auto px-4 w-full h-full flex flex-col min-h-0">
5-
{{ partial "faq/accordion.html" (dict "page" . "headingLevel" "h2" "headingId" "faq-heading" "showEyebrow" true "showTitle" true) }}
5+
{{ partial "faq/accordion.html" (dict "page" . "headingLevel" "h2" "headingId" "faq-heading" "showEyebrow" false "showTitle" true) }}
66
</div>
77
</section>
88
{{- end -}}

layouts/partials/home/hero.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ <h1 id="ladybug-h1-bite-target" class="max-w-4xl mx-auto text-5xl md:text-6xl fo
4848
{{ partial "home/search-trigger.html" (dict "placeholder" $placeholder "size" "lg") }}
4949

5050
{{- if gt (len $slides) 1 -}}
51-
<button type="button" id="hero-carousel-prev" class="home-hero__nav-btn home-hero__nav-btn--side home-hero__nav-btn--prev" aria-label="Previous slide">
51+
<button type="button" id="hero-carousel-prev" class="home-hero__nav-btn home-hero__nav-btn--side home-hero__nav-btn--prev max-md:hidden md:flex" aria-label="Previous slide">
5252
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" width="20" height="20" aria-hidden="true"><polyline points="15 18 9 12 15 6"/></svg>
5353
</button>
54-
<button type="button" id="hero-carousel-next" class="home-hero__nav-btn home-hero__nav-btn--side home-hero__nav-btn--next" aria-label="Next slide">
54+
<button type="button" id="hero-carousel-next" class="home-hero__nav-btn home-hero__nav-btn--side home-hero__nav-btn--next max-md:hidden md:flex" aria-label="Next slide">
5555
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" width="20" height="20" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg>
5656
</button>
5757
<div id="carousel-indicators" class="home-hero__indicators" role="tablist" aria-label="Hero slides"></div>

0 commit comments

Comments
 (0)