Skip to content

Commit

Permalink
removed typing from varnmala and added barahkhadi to it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciphrox committed Mar 1, 2025
1 parent eda310c commit 468336d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 179 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.container__barahkhadi {
padding: 1rem;
height: 100%;
height: calc(100vh - 5rem);
overflow-y: auto;

& .consonants__rows {
Expand Down
64 changes: 0 additions & 64 deletions src/assets/styles/varnmala/typing.css

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import "@/assets/styles/barahkhadi/consonant.css";
import "@/assets/styles/varnmala/barahkhadi/consonant.css";
import BackButton from "@/components/ui/backButton.astro";
import BaseLayout from "@/layouts/Base";
import { hindiConsonants as consonants, matras } from "@/utils/common";
Expand All @@ -16,7 +17,7 @@ const combinations = [consonant, ...Object.values(matras).map((matra) => consona
<BaseLayout meta={{ title: `Barahkhadi - ${consonant}` }}>
<div class="container__consonant">
<div class="consonant__header">
<a href="/barahkhadi" class="back__link">← Back</a>
<BackButton />
<h1>{consonant}</h1>
</div>
<div class="combinations__grid">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
import BaseLayout from "@/layouts/Base";
import "@/assets/styles/barahkhadi/index.css";
import BackButton from "@/components/ui/backButton.astro";
import "@/assets/styles/varnmala/barahkhadi/index.css";
import { hindiConsonants, matras } from "@/utils/common";
import Help from "@/components/Help.astro";
Expand All @@ -20,14 +22,16 @@ const consonants = [
<Fragment slot="header-left">
<Help title="Barahkhadi" description="This page displays the Hindi consonants and their variations." />
</Fragment>

<div class="container__barahkhadi">
<BackButton />
{
consonants.map((row) => (
<div class="group__row">
<div class="row__grid">
{row.map((consonant) => (
<div class="letter__card" data-active="false">
<a href={`/barahkhadi/${consonant}`} class="letter__link">
<a href={`/varnmala/barahkhadi/${consonant}`} class="letter__link">
<span class="consonant">{consonant}</span>
</a>
<button class="quick-view-btn">🔍</button>
Expand Down
10 changes: 5 additions & 5 deletions src/pages/varnmala/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ const sections = [
description: "Learn English alphabets",
href: "english"
},
{
title: "Typing",
description: "Practice typing alphabets",
href: "typing"
},
{
title: "Reader",
description: "Practice reading alphabets with audio support",
href: "reader"
},
{
title: "Barahkhadi",
description: "Learn the basic barahkhadi characters",
href: "barahkhadi"
}
];
---
Expand Down
99 changes: 0 additions & 99 deletions src/pages/varnmala/typing.astro

This file was deleted.

6 changes: 0 additions & 6 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ export const NavbarLinks: LinkProps[] = [
path: "/panel",
isActive: true
},
{
name: "Barahkhadi",
title: "Barahkhadi",
path: "/barahkhadi",
isActive: true
},
{
name: "Record",
title: "Record",
Expand Down

0 comments on commit 468336d

Please sign in to comment.