Skip to content

Commit

Permalink
Added routes from xkeshav/kidz repo
Browse files Browse the repository at this point in the history
added routes and their respective files of
- Hindi
- reader
- record
- typing
  • Loading branch information
Ciphrox committed Jan 23, 2025
1 parent c07cda7 commit 5ee935e
Show file tree
Hide file tree
Showing 82 changed files with 917 additions and 61 deletions.
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
"[CODEOWNERS]": {
"editor.formatOnSave": false
},
"cSpell.words": [
"DUMMYUSER"
],
"cSpell.words": ["DUMMYUSER"],
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#e98cf9",
"activityBar.background": "#e98cf9",
Expand Down
110 changes: 55 additions & 55 deletions .vscode/tailwind.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
{
"version": 1.1,
"atDirectives": [
{
"name": "@tailwind",
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
}
]
},
{
"name": "@apply",
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
}
]
},
{
"name": "@responsive",
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
}
]
},
{
"name": "@screen",
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
}
]
},
{
"name": "@variants",
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
}
]
}
]
}
{
"version": 1.1,
"atDirectives": [
{
"name": "@tailwind",
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
}
]
},
{
"name": "@apply",
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
}
]
},
{
"name": "@responsive",
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
}
]
},
{
"name": "@screen",
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
}
]
},
{
"name": "@variants",
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
}
]
}
]
}
3 changes: 1 addition & 2 deletions abcd.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@
"titleBar.activeBackground": "#abcd00",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#abcd0099",
"titleBar.inactiveForeground": "#15202b99",
"tab.activeBorder": "#d5ff01"
"titleBar.inactiveForeground": "#15202b99"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
"prettier-plugin-tailwindcss": "0.6.8",
"shx": "0.3.4"
}
}
}
Binary file added public/assets/media/alphabets/mudra/a.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/b.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/c.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/d.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/e.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/f.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/g.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/h.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/i.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/j.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/k.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/l.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/m.mp3
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/m.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/n.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/o.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/p.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/q.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/r.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/s.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/t.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/u.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/v.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/w.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/x.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/y.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/mudra/z.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/a.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/b.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/c.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/d.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/e.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/f.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/g.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/h.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/i.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/j.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/k.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/l.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/m.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/n.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/o.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/p.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/q.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/r.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/s.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/t.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/u.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/v.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/w.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/x.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/y.ogg
Binary file not shown.
Binary file added public/assets/media/alphabets/rutvi/z.ogg
Binary file not shown.
Binary file added public/assets/media/images/color-picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/media/images/main-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/media/images/panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/media/images/reader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/media/images/typing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/media/numbers/0.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/1.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/10.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/2.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/3.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/4.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/5.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/6.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/7.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/8.ogg
Binary file not shown.
Binary file added public/assets/media/numbers/9.ogg
Binary file not shown.
74 changes: 74 additions & 0 deletions src/assets/styles/reader.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* following :root block added by css color collector */
:root {
--main__txt--2: #ff61d5;
--button__bg--3: hsl(60deg, 56%, 91%);
}
#reader-main {
font-size: 20rem;
display: grid;
place-content: center;
color: var(--main__txt--2);
height: 100vh;
outline: none;
text-transform: uppercase;
transform: rotate(0deg);
transition: all 0.3s ease-in-out;
will-change: contents;
text-align: center;
min-height: 60vh;
line-height: 1;
padding: 1rem;
}

.center {
display: grid;
place-items: center;
}

.hide {
display: none;
}

.scroll {
margin-top: 10px;
scroll-behavior: smooth;
}

.button {
font-size: 1.5rem;
border: none;
background-color: var(--button__bg--3);
cursor: pointer;
width: 2em;
}

.button-audio::before {
content: "\1F508";
}

.button-audio.mute::before {
content: "\1F507";
}

.speaker {
padding-inline: 1rem;
display: flex;
flex-basis: fit-content;
flex-grow: 1;
margin: auto;
justify-content: space-between;
gap: 4px;
cursor: pointer;
}

.speaker > span {
padding: 0.5rem;
border: 1px solid grey;
}

span:hover,
span:active,
span.active {
background-color: aliceblue;
color: #6767d3;
}
128 changes: 128 additions & 0 deletions src/assets/styles/record.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
/* following :root block added by css color collector */
:root {
--button__bg--1: #0088cc;
--button__txt--2: white;
--button__bg--3: yellow;
--button__txt--4: crimson;
--button__bg--5: #4ad6c1;
--button__txt--6: #c33019;
--button__box__shadow--7: rgba(255, 255, 255, 1);
--button__bg--8: #56856c;
--button__box__shadow--9: rgba(0, 0, 0, 0.5);
--button__bg--10: red;
--label__bg--11: black;
}

.wrapper {
height: 100%;
display: grid;
grid-auto-flow: column;
}

.main-controls {
padding-block: 0.5rem;
}

canvas {
display: block;
margin-bottom: 0.5rem;
}

.button--group {
display: grid;
grid-auto-flow: column;
grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
justify-content: space-between;
align-content: center;
grid-gap: 0.5rem;
margin-inline: 0.5rem;
}

.button--group > button {
font-size: 1rem;
background-color: var(--button__bg--1);
text-align: center;
color: var(--button__txt--2);
border: none;
transition: all 0.2s;
padding: 1rem;
}

button.record--on {
background-color: var(--button__bg--3);
color: var(--button__txt--4);
}

button.resume {
background-color: var(--button__bg--5);
color: var(--button__txt--6);
}

button:hover,
button:focus {
box-shadow: inset 0px 0px 10px var(--button__box__shadow--7);
background-color: var(--button__bg--8);
}

button:active {
box-shadow: inset 0px 0px 20px var(--button__box__shadow--9);
transform: translateX(2px);
}

.sound-clips {
flex: 1;
overflow: auto;
}

section,
article {
display: block;
}

.clip {
padding-bottom: 1rem;
}

audio {
width: 100%;
display: block;
margin: 1rem auto 0.5rem;
}

.clip p {
display: inline-block;
font-size: 1rem;
cursor: pointer;
}

.clip button {
font-size: 1rem;
float: right;
}

button.delete {
background-color: var(--button__bg--10);
padding: 0.5rem 0.75rem;
font-size: 0.8rem;
border: none;
color: var(--button__txt--2);
}

label {
font-size: 3rem;
position: absolute;
top: 2px;
right: 3px;
z-index: 5;
cursor: pointer;
background-color: var(--label__bg--11);
border-radius: 10px;
}

@media all and (min-width: 800px) {
.wrapper {
width: 90%;
max-width: 1000px;
margin: 0 auto;
}
}
Loading

0 comments on commit 5ee935e

Please sign in to comment.