Skip to content

Commit f17d98c

Browse files
committed
[RZA-250092]: fix cookies page; added home.astro
1 parent 6f6dee0 commit f17d98c

File tree

6 files changed

+33
-29
lines changed

6 files changed

+33
-29
lines changed

src/assets/styles/globals.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,9 @@
184184
.m-0 {
185185
margin: 0;
186186
}
187+
188+
189+
mark {
190+
margin-inline: 0.5rem;
191+
padding-inline: 0.5rem;
192+
}

src/components/about/FeaturesSection.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,9 @@ const features: Feature[] = [
153153
</section>
154154

155155
<style>
156-
.features-section {
157-
margin-top: -35px;
158-
}
159-
160156
.features-grid {
161157
display: grid;
162-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
158+
grid-template-columns: repeat(auto-fit, minmax(22%, 1fr));
163159
gap: 2rem;
164160
}
165161

src/components/about/TechSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import "@/assets/styles/about.css";
1818
))
1919
}
2020
</div>
21-
<a href="https://abcdkbd.com" class="btn btn-primary">Start Your Learning Adventure</a>
21+
<a href="https://parixan.xyz" class="btn btn-primary">Start Your Learning Adventure</a>
2222
</div>
2323
</section>
2424

src/content/article/cookies.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ You can manage or delete cookies via:
5858

5959
We may use third-party services that place their own cookies. These services have their own policies:
6060

61-
- Google Analytics: \[link]
62-
- YouTube: \[link]
61+
- [Google Analytics](https://support.google.com/analytics/answer/4597324?hl=en)
6362

6463
---
6564

@@ -71,8 +70,6 @@ We may update this policy from time to time. Last updated: **\[July 11,2025]**
7170

7271
### 6. **Contact Us**
7372

74-
For questions about our cookie usage, email: `[email protected]`
73+
For questions about our cookie usage, email: <mark>[[email protected]](mailto:[email protected])</mark>
7574

7675
---
77-
78-
Let me know if you want a **template for the popup/banner consent UI** too.

src/pages/home.astro

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
import "@/assets/styles/index.css";
3+
4+
return Astro.redirect("/");
5+
---
6+
7+
<style>
8+
.home__container {
9+
display: grid;
10+
margin: auto 4rem;
11+
}
12+
</style>
13+
14+
<div class="home__container"></div>

src/pages/index.astro

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,22 @@
11
---
2-
import BaseLayout from "@/layouts/Base";
32
import "@/assets/styles/index.css";
4-
import HeroSection from "@/components/home/HeroSection.astro";
3+
import FeaturesSection from "@/components/about/FeaturesSection.astro";
4+
import HeroSection from "@/components/about/HeroSection.astro";
55
import ExploreLearnSection from "@/components/home/ExploreLearnSection.astro";
6-
import TestimonialsSection from "@/components/home/TestimonialsSection.astro";
76
import KidsLoveSection from "@/components/home/KidsLoveSection.astro";
7+
import TestimonialsSection from "@/components/home/TestimonialsSection.astro";
88
import MobileSplash from "@/components/MobileSplash.astro";
9-
import SharePopover from "@/components/ShareButton.astro";
10-
import FeaturesSection from "@/components/about/FeaturesSection.astro";
9+
import BaseLayout from "@/layouts/Base";
1110
const meta = {
1211
title: "Home"
1312
};
1413
---
1514

1615
<BaseLayout meta={meta}>
1716
<MobileSplash />
18-
<h1>Welcome to parixan.xyz</h1>
19-
<Fragment slot="output">
20-
<p>
21-
Previous Name: <output></output>
22-
</p>
23-
</Fragment>
24-
<main class="about-container">
25-
<HeroSection />
26-
<ExploreLearnSection />
27-
<TestimonialsSection />
28-
<KidsLoveSection />
29-
<FeaturesSection />
30-
</main>
17+
<HeroSection />
18+
<ExploreLearnSection />
19+
<TestimonialsSection />
20+
<KidsLoveSection />
21+
<FeaturesSection />
3122
</BaseLayout>

0 commit comments

Comments
 (0)