Skip to content

Commit 1c02c78

Browse files
committed
fix the css of controller container
1 parent f035b1d commit 1c02c78

File tree

6 files changed

+10
-32
lines changed

6 files changed

+10
-32
lines changed

src/assets/styles/map/map.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@
170170
fill: #ffa500;
171171
transform: scale(1);
172172
}
173-
}
173+
}

src/components/ControllerContainer.astro

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ import Speak from "@/components/Speaker.astro";
1515
<Speak />
1616
<CaseToggle />
1717
<FontToggle />
18-
19-
<div class="control-group">
20-
<ImageToggle />
21-
<ColorToggle />
22-
</div>
23-
18+
<ImageToggle />
19+
<ColorToggle />
2420
<BackgroundToggle />
2521
<ResetButton />
2622
</div>
@@ -72,23 +68,5 @@ import Speak from "@/components/Speaker.astro";
7268
}
7369
}
7470
});
75-
document.addEventListener("caseToggled", (event) => {
76-
const { isActive } = (event as CustomEvent).detail;
77-
});
78-
document.addEventListener("fontToggled", (event) => {
79-
const { isActive } = (event as CustomEvent).detail;
80-
});
81-
document.addEventListener("imageToggled", (event) => {
82-
const { isActive } = (event as CustomEvent).detail;
83-
});
84-
document.addEventListener("colorToggled", (event) => {
85-
const { isActive } = (event as CustomEvent).detail;
86-
});
87-
document.addEventListener("backgroundToggled", (event) => {
88-
const { isActive } = (event as CustomEvent).detail;
89-
});
90-
document.addEventListener("keyboardReset", (event) => {
91-
const { originalState } = (event as CustomEvent).detail;
92-
});
9371
});
9472
</script>

src/components/MobileSplash.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import "@/assets/styles/MobileSplash.css";
33
import { Image } from "astro:assets";
44
import logoImage from "public/assets/images/ABCD.png";
55
const githubUrl = "https://github.com/recursivezero/abcd";
6-
const siteUrl = "https://abcdkbd.com";
6+
const siteUrl = "https://parixan.xyz";
77
---
88

99
<div class="container_splash">
1010
<div class="container_splash_card">
1111
<Image src={logoImage} alt="logo of abcd." width="50" height="50" />
12-
<h1 class="container_splash_heading"><strong>abcdkbd is best experienced on desktop</strong></h1>
12+
<h1 class="container_splash_heading"><strong>This page is best experienced on desktop</strong></h1>
1313
<p class="container_splash_text">
1414
Revisit on desktop to check out abcdkbd.com. We will optimize for mobile soon. Stay tuned…
1515
</p>

src/content/md/about.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ curriculum-aligned educational content.
3232
- Simple math & reading practice
3333
- Interactive storytelling
3434
- Coloring & memory activities
35-
- Bilingual (English + Hindi) word support _(if applicable)_
35+
- Multilingual (English + Hindi) word learning
3636
- No distractions – ad-free, safe environment
3737

3838
---
@@ -42,7 +42,7 @@ curriculum-aligned educational content.
4242
- Designed with child psychology in mind
4343
- Supports classroom and home learning
4444
- Works on mobile and desktop
45-
- Offline access available _(if applicable)_
45+
- Offline access available
4646
- Trusted by teachers and parents
4747

4848
---
@@ -61,7 +61,7 @@ We bring together tech and teaching to build tools that really help.
6161
## 💡 Our Core Values
6262

6363
- **Simplicity** – Easy-to-use design for every age
64-
- **Inclusivity** – Respecting every learner’s needs
64+
- **Inclusion** – Respecting every learner’s needs
6565
- **Fun-first learning** – Making learning an adventure
6666
- **Respect** – For every child’s pace and potential
6767
- **Continuous improvement** – We listen, learn, and grow

src/pages/index.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ import HeroSection from "@/components/about/HeroSection.astro";
55
import ExploreLearnSection from "@/components/home/ExploreLearnSection.astro";
66
import KidsLoveSection from "@/components/home/KidsLoveSection.astro";
77
import TestimonialsSection from "@/components/home/TestimonialsSection.astro";
8-
import MobileSplash from "@/components/MobileSplash.astro";
98
import BaseLayout from "@/layouts/Base";
109
const meta = {
1110
title: "Home"
1211
};
1312
---
1413

1514
<BaseLayout meta={meta}>
16-
<MobileSplash />
1715
<HeroSection appName="abcdkbd" />
1816
<ExploreLearnSection />
1917
<TestimonialsSection />

src/pages/panel.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ import SettingIcon from "@/assets/icons/settings.svg";
77
import Back from "@/components/Back.astro";
88
import SharePopover from "@/components/ShareButton.astro";
99
import KeyboardTrigger from "@/components/KeyboardTrigger.astro";
10+
import MobileSplash from "@/components/MobileSplash.astro";
1011
---
1112

1213
<BaseLayout meta={{ title: "Panel" }}>
1314
<Back />
15+
<MobileSplash />
1416
<Fragment slot="header-right">
1517
<div class="right-header-buttons">
1618
<div class="settings-button-container">

0 commit comments

Comments
 (0)