Skip to content

Commit c7a1c2c

Browse files
authored
Merge pull request #42 from recursivezero/feature/RZA-250034
feature/RZA-250034: Added Vedic page
2 parents 7bf6ff2 + 225568a commit c7a1c2c

File tree

27 files changed

+554
-205
lines changed

27 files changed

+554
-205
lines changed

abcd.code-workspace

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,9 @@
7373
"javascript": "javascriptreact"
7474
},
7575
"eslint.options": {
76-
"extensions": [
77-
".js",
78-
".jsx",
79-
".md",
80-
".mdx",
81-
".ts",
82-
".tsx",
83-
".astro"
84-
]
85-
},
86-
"eslint.validate": [
87-
"mdx",
88-
"markdown",
89-
"javascript",
90-
"javascriptreact",
91-
"typescript",
92-
"typescriptreact",
93-
"astro"
94-
],
76+
"extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx", ".astro"]
77+
},
78+
"eslint.validate": ["mdx", "markdown", "javascript", "javascriptreact", "typescript", "typescriptreact", "astro"],
9579
"explorer.compactFolders": false,
9680
"explorer.confirmDelete": false,
9781
"explorer.confirmDragAndDrop": false,
@@ -119,10 +103,7 @@
119103
},
120104
"git.autofetch": true,
121105
"git.branchPrefix": "feature/",
122-
"git.branchProtection": [
123-
"develop",
124-
"main"
125-
],
106+
"git.branchProtection": ["develop", "main"],
126107
"git.branchRandomName.enable": true,
127108
"git.confirmSync": false,
128109
"git.enableCommitSigning": false,
@@ -133,9 +114,7 @@
133114
"js/ts.implicitProjectConfig.checkJs": true,
134115
"peacock.affectSideBarBorder": true,
135116
"peacock.color": "#abcd00",
136-
"prettier.documentSelectors": [
137-
"**/*.astro"
138-
],
117+
"prettier.documentSelectors": ["**/*.astro"],
139118
"prettier.printWidth": 120,
140119
"prettier.quoteProps": "consistent",
141120
"prettier.singleQuote": false,
@@ -192,4 +171,4 @@
192171
".githooks/**": true
193172
}
194173
}
195-
}
174+
}

docs/pages.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,14 @@ This document describes the functionality and purpose of each page in the applic
124124
- Controls for record/pause/stop
125125
- Clip management with naming and deletion
126126

127+
#### Vedic Time Page (/pages/vedic.astro)
128+
129+
![Vedic Time page](../src/assets/screenshots/vedic.png)
130+
131+
- Vedic time unit conversion tool
132+
- Interactive converter with input form
133+
- Comprehensive reference of vedic time units
134+
127135
#### Clan Explorer
128136

129137
![Clan explorer page](../src/assets/screenshots/clan.png)

src/assets/json/state.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,4 +477,4 @@
477477
"official_website": "https://www.py.gov.in",
478478
"isActive": true
479479
}
480-
]
480+
]

src/assets/json/vedic.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"time_units": [
3+
{
4+
"name": "क्षण",
5+
"seconds": 1,
6+
"minutes": 0.01667,
7+
"years": 0.0000000317
8+
},
9+
{
10+
"name": "पल",
11+
"seconds": 24,
12+
"minutes": 0.4,
13+
"years": 0.00000076
14+
},
15+
{
16+
"name": "घटी",
17+
"seconds": 1440,
18+
"minutes": 24,
19+
"years": 0.000027
20+
},
21+
{
22+
"name": "प्रहर",
23+
"seconds": 10800,
24+
"minutes": 180,
25+
"years": 0.000342
26+
},
27+
{
28+
"name": "दिन",
29+
"seconds": 86400,
30+
"minutes": 1440,
31+
"years": 0.00274
32+
},
33+
{
34+
"name": "पक्ष",
35+
"seconds": 1296000,
36+
"minutes": 21600,
37+
"years": 0.0317
38+
},
39+
{
40+
"name": "मास",
41+
"seconds": 2592000,
42+
"minutes": 43200,
43+
"years": 0.0635
44+
},
45+
{
46+
"name": "ऋतु",
47+
"seconds": 5184000,
48+
"minutes": 86400,
49+
"years": 0.127
50+
},
51+
{
52+
"name": "अयन",
53+
"seconds": 15552000,
54+
"minutes": 259200,
55+
"years": 0.381
56+
},
57+
{
58+
"name": "वर्ष",
59+
"seconds": 31104000,
60+
"minutes": 518400,
61+
"years": 1
62+
},
63+
{
64+
"name": "युग",
65+
"seconds": 1209600000,
66+
"minutes": 20160000,
67+
"years": 38880
68+
},
69+
{
70+
"name": "कल्प",
71+
"seconds": 31104000000000,
72+
"minutes": 518400000000,
73+
"years": 1000000000
74+
}
75+
]
76+
}

src/assets/screenshots/vedic.png

220 KB
Loading

src/assets/styles/alphabets/[alphabet]/board.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,10 @@
5959
}
6060

6161
& .container__alphabet::before {
62-
content: '';
62+
content: "";
6363
position: absolute;
6464
inset: 0;
65-
background: radial-gradient(circle at 50% 0%,
66-
color-mix(in srgb, var(--primary) 5%, transparent),
67-
transparent 70%);
65+
background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--primary) 5%, transparent), transparent 70%);
6866
pointer-events: none;
6967
z-index: -1;
7068
}
@@ -78,25 +76,25 @@
7876
}
7977

8078
/* Animation for list items */
81-
& .container__alphabet .list>* {
79+
& .container__alphabet .list > * {
8280
opacity: 0;
8381
transform: translateY(20px);
8482
animation: slideUp 0.6s ease forwards;
8583
}
8684

87-
& .container__alphabet .list>*:nth-child(1n) {
85+
& .container__alphabet .list > *:nth-child(1n) {
8886
animation-delay: 0.1s;
8987
}
9088

91-
& .container__alphabet .list>*:nth-child(2n) {
89+
& .container__alphabet .list > *:nth-child(2n) {
9290
animation-delay: 0.2s;
9391
}
9492

95-
& .container__alphabet .list>*:nth-child(3n) {
93+
& .container__alphabet .list > *:nth-child(3n) {
9694
animation-delay: 0.3s;
9795
}
9896

99-
& .container__alphabet .list>*:nth-child(4n) {
97+
& .container__alphabet .list > *:nth-child(4n) {
10098
animation-delay: 0.4s;
10199
}
102100

@@ -133,4 +131,4 @@
133131
grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
134132
}
135133
}
136-
}
134+
}

src/assets/styles/alphabets/[alphabet]/playground.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@
151151
50% {
152152
border-color: transparent;
153153
}
154-
}
154+
}

src/assets/styles/alphabets/index.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
}
101101
}
102102

103-
104103
@keyframes fadeInUp {
105104
to {
106105
opacity: 1;
@@ -132,4 +131,4 @@
132131
padding: 0.75rem 1rem;
133132
}
134133
}
135-
}
134+
}

src/assets/styles/blogs/blog.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
& .blog-post-header::after {
13-
content: '';
13+
content: "";
1414
position: absolute;
1515
bottom: -2rem;
1616
left: 50%;
@@ -127,9 +127,6 @@
127127
margin: 3rem 0;
128128
border: none;
129129
height: 1px;
130-
background: linear-gradient(90deg,
131-
transparent,
132-
var(--border),
133-
transparent);
130+
background: linear-gradient(90deg, transparent, var(--border), transparent);
134131
}
135-
}
132+
}

src/assets/styles/blogs/index.css

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
& .blog-card {
1515
height: 100%;
1616
border-radius: 1rem;
17-
background: linear-gradient(145deg,
18-
color-mix(in srgb, var(--background) 97%, var(--text) 3%),
19-
var(--background));
17+
background: linear-gradient(145deg, color-mix(in srgb, var(--background) 97%, var(--text) 3%), var(--background));
2018
box-shadow: 0 8px 32px -10px rgba(0, 0, 0, 0.3);
2119
overflow: hidden;
2220
transform-style: preserve-3d;
@@ -46,16 +44,13 @@
4644
}
4745

4846
& .blog-card-image::after {
49-
content: '';
47+
content: "";
5048
position: absolute;
5149
top: 0;
5250
left: 0;
5351
width: 100%;
5452
height: 100%;
55-
background: linear-gradient(180deg,
56-
transparent 0%,
57-
transparent 70%,
58-
var(--background) 100%);
53+
background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--background) 100%);
5954
}
6055

6156
& .blog-card-image img {
@@ -75,9 +70,7 @@
7570
gap: 1rem;
7671
padding: 2rem;
7772
flex: 1;
78-
background: linear-gradient(to bottom,
79-
transparent,
80-
color-mix(in srgb, var(--background) 95%, var(--primary) 5%));
73+
background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--background) 95%, var(--primary) 5%));
8174
}
8275

8376
& .blog-card-title {
@@ -169,4 +162,4 @@
169162
grid-template-columns: repeat(4, 1fr);
170163
}
171164
}
172-
}
165+
}

0 commit comments

Comments
 (0)