Skip to content

Commit 2e4e24d

Browse files
committed
lint the home section
1 parent c23d6f0 commit 2e4e24d

32 files changed

+343
-313
lines changed

public/data/zodiacs.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[
2-
{
3-
4-
},
2+
{},
53
{
64
"name": {
75
"english": "Vrishabha (Taurus)",

src/assets/styles/coming-soon.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ h1 {
3131
max-width: 500px;
3232
margin: 0 auto;
3333
line-height: 1.6;
34-
}
34+
}

src/assets/styles/contact.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
align-items: center;
6464
justify-content: center;
6565
}
66-
.info-item a, .info-item span {
66+
.info-item a,
67+
.info-item span {
6768
color: #ffffff;
6869
text-decoration: none;
6970
font-weight: 500;
@@ -75,7 +76,7 @@
7576
border: none;
7677
color: inherit;
7778
cursor: pointer;
78-
padding: 0 0.5rem 0 0.2rem;
79+
padding: 0 0.5rem 0 0.2rem;
7980
font-size: 1rem;
8081
opacity: 0.7;
8182
transition: opacity 0.2s;
@@ -91,7 +92,7 @@
9192

9293
/* --- Dark Theme Override for Contact Info --- */
9394
[data-theme="dark"] .contact-info {
94-
background: #1f2937;
95+
background: #1f2937;
9596
}
9697

9798
[data-theme="dark"] .contact-info h3,
@@ -105,7 +106,8 @@
105106
}
106107

107108
@media (max-width: 768px) {
108-
.contact-info, .container__form {
109+
.contact-info,
110+
.container__form {
109111
padding: 2rem;
110112
}
111113
}

src/assets/styles/cookies.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
border: 0;
5858
border-top: 1px solid var(--border-color);
5959
margin: 2.5rem 0;
60-
}
60+
}

src/assets/styles/countdown.css

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
.countdown__container {
2-
display: grid;
3-
place-items: center;
4-
}
5-
6-
.countdown {
7-
display: flex;
8-
flex-wrap: wrap;
9-
gap: 1.5rem;
10-
justify-content: center;
11-
}
12-
13-
.countdown-item {
14-
background: var(--bg-secondary);
15-
padding: 1rem;
16-
border-radius: 12px;
17-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
18-
min-width: 90px;
19-
text-align: center;
20-
flex-grow: 1;
21-
}
22-
23-
.countdown-number {
24-
font-size: clamp(2rem, 6vw, 2.5rem);
25-
font-weight: bold;
26-
color: var(--primary);
27-
}
28-
29-
.countdown-label {
30-
font-size: 0.9rem;
31-
color: var(--text-secondary);
32-
margin-top: 0.25rem;
33-
}
1+
.countdown__container {
2+
display: grid;
3+
place-items: center;
4+
}
5+
6+
.countdown {
7+
display: flex;
8+
flex-wrap: wrap;
9+
gap: 1.5rem;
10+
justify-content: center;
11+
}
12+
13+
.countdown-item {
14+
background: var(--bg-secondary);
15+
padding: 1rem;
16+
border-radius: 12px;
17+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
18+
min-width: 90px;
19+
text-align: center;
20+
flex-grow: 1;
21+
}
22+
23+
.countdown-number {
24+
font-size: clamp(2rem, 6vw, 2.5rem);
25+
font-weight: bold;
26+
color: var(--primary);
27+
}
28+
29+
.countdown-label {
30+
font-size: 0.9rem;
31+
color: var(--text-secondary);
32+
margin-top: 0.25rem;
33+
}

src/assets/styles/faq.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
border-radius: 12px;
1010
margin-bottom: 1rem;
1111
border: 1px solid var(--border-color);
12-
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
12+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1313
transition: all 0.2s ease-in-out;
1414
border: 1px solid rgba(59, 130, 246, 0.2);
1515
}
@@ -18,7 +18,7 @@
1818
background: var(--primary-light);
1919
border-color: var(--primary-light);
2020
transform: translateY(-2px);
21-
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
21+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
2222
}
2323

2424
.faq-item[open] {
@@ -34,11 +34,11 @@
3434
font-size: 1.125rem;
3535
font-weight: 600;
3636
color: var(--text-main);
37-
list-style: none;
37+
list-style: none;
3838
}
3939

4040
.faq-question::-webkit-details-marker {
41-
display: none;
41+
display: none;
4242
}
4343

4444
.faq-question .icon {
@@ -55,7 +55,7 @@
5555
padding-top: 0;
5656
color: var(--text-secondary);
5757
line-height: 1.7;
58-
overflow: hidden;
58+
overflow: hidden;
5959
}
6060
.faq-item[open] .faq-answer {
6161
animation: fadeIn 0.5s ease;
@@ -70,4 +70,4 @@
7070
opacity: 1;
7171
transform: translateY(0);
7272
}
73-
}
73+
}

src/assets/styles/footer.css

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
:root {
2-
--footer-bg: #1f2937;
3-
--footer-text-main: #d1d5db;
4-
--footer-text-secondary: #9ca3af;
5-
--footer-text-hover: #2825e8;
6-
--footer-brand-text: #ffffff;
7-
--footer-brand-highlight: #fbbf24;
8-
--footer-social-hover: #0ea5e9;
9-
--footer-copyright-link: #9ca3af;
10-
--footer-copyright-link-hover: #0ea5e9;
11-
--footer-border-color: #374151;
2+
--footer-bg: #1f2937;
3+
--footer-text-main: #d1d5db;
4+
--footer-text-secondary: #9ca3af;
5+
--footer-text-hover: #2825e8;
6+
--footer-brand-text: #ffffff;
7+
--footer-brand-highlight: #fbbf24;
8+
--footer-social-hover: #0ea5e9;
9+
--footer-copyright-link: #9ca3af;
10+
--footer-copyright-link-hover: #0ea5e9;
11+
--footer-border-color: #374151;
1212
}
1313

1414
[data-theme="dark"] {
15-
--footer-bg: #1f2937;
16-
--footer-text-main: #d1d5db;
17-
--footer-text-secondary: #9ca3af;
18-
--footer-text-hover: #2825e8;
19-
--footer-brand-text: #ffffff;
20-
--footer-brand-highlight: #fbbf24;
21-
--footer-social-hover: #0ea5e9;
22-
--footer-copyright-link: #9ca3af;
23-
--footer-copyright-link-hover: #0ea5e9;
24-
--footer-border-color: #374151;
25-
}
26-
[data-theme="light"]{
15+
--footer-bg: #1f2937;
16+
--footer-text-main: #d1d5db;
17+
--footer-text-secondary: #9ca3af;
18+
--footer-text-hover: #2825e8;
19+
--footer-brand-text: #ffffff;
20+
--footer-brand-highlight: #fbbf24;
21+
--footer-social-hover: #0ea5e9;
22+
--footer-copyright-link: #9ca3af;
23+
--footer-copyright-link-hover: #0ea5e9;
24+
--footer-border-color: #374151;
25+
}
26+
[data-theme="light"] {
2727
--footer-bg: #c7f3ef;
2828
--footer-text-main: #22223b;
2929
--footer-text-secondary: gray;
@@ -111,7 +111,7 @@
111111
font-size: 1.8rem;
112112
margin-bottom: 1rem;
113113
color: var(--footer-brand-text);
114-
list-style: none;
114+
list-style: none;
115115
pointer-events: none;
116116
}
117117
.footer__nav--title::-webkit-details-marker {
@@ -202,7 +202,7 @@
202202
flex-direction: column;
203203
width: 100%;
204204
gap: 0;
205-
flex: initial;
205+
flex: initial;
206206
}
207207

208208
.footer__nav--item {
@@ -223,7 +223,7 @@
223223
font-size: 1.1rem;
224224
font-weight: 600;
225225
margin-bottom: 0;
226-
pointer-events: auto;
226+
pointer-events: auto;
227227
}
228228

229229
.footer__nav--title .fa-chevron-down {
@@ -239,7 +239,7 @@
239239
padding: 0 0 1.2rem 1rem;
240240
gap: 1rem;
241241
}
242-
242+
243243
.footer__nav--links a {
244244
font-size: 1rem;
245245
}
@@ -248,4 +248,4 @@
248248
margin-top: 1rem;
249249
font-size: 0.85rem;
250250
}
251-
}
251+
}

src/assets/styles/globals.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@
185185
margin: 0;
186186
}
187187

188-
189188
mark {
190189
margin-inline: 0.5rem;
191190
padding-inline: 0.5rem;
192-
}
191+
}

src/assets/styles/header.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
overflow: hidden;
5353
text-overflow: ellipsis;
5454
text-decoration: none;
55-
5655
}
5756

5857
.caption a:hover {
@@ -92,4 +91,4 @@
9291
width: 2rem;
9392
border-radius: 50%;
9493
cursor: pointer;
95-
}
94+
}

src/assets/styles/home/explore-learn-section.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.section.explore-learn {
22
padding: 1rem 1rem 3rem 1rem;
3-
43
}
54
.grid.four {
65
display: grid;
@@ -13,8 +12,10 @@
1312
padding: 1.5rem;
1413
border-radius: 2rem;
1514
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
16-
transition: transform 0.3s ease, box-shadow 0.5s ease;
17-
min-height: 15rem;
15+
transition:
16+
transform 0.3s ease,
17+
box-shadow 0.5s ease;
18+
min-height: 15rem;
1819
text-align: left;
1920
display: flex;
2021
flex-direction: column;
@@ -68,8 +69,10 @@
6869
border-radius: 2rem;
6970
padding: 0.7rem 1.5rem;
7071
cursor: pointer;
71-
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
72-
transition: background 0.2s, color 0.2s;
72+
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.07);
73+
transition:
74+
background 0.2s,
75+
color 0.2s;
7376
}
7477
.card .button.white:hover {
7578
background: #f3f4f6;
@@ -89,4 +92,4 @@
8992
.section.explore-learn {
9093
padding: 2rem 0.5rem 2.5rem 0.5rem;
9194
}
92-
}
95+
}

0 commit comments

Comments
 (0)