Skip to content

Commit fd1501b

Browse files
authored
Merge pull request #22 from recursivezero/bugfix/map
Bugfix/map
2 parents c07cda7 + 823b0ce commit fd1501b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+1790
-41
lines changed

.githooks/pre-commit

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,6 @@ echo "Running pre-commit checks for branch: $BRANCH_NAME"
2121
echo "$BRANCH_NAME" | grep -Eq '^(feature|bugfix|hotfix|task)/[A-Za-z]+-[0-9]+'
2222
if [ $? -ne 0 ]; then
2323
echo "Error: Branch name '$BRANCH_NAME' is invalid."
24-
echo "Use a valid branch naming convention, e.g., feature/XYZ-123-description."
24+
echo "Use a valid branch naming convention, e.g., feature|bugfix|hotfix|task/XYZ-123-description."
2525
exit 1
26-
fi
27-
28-
# Step 2: Run poetry linting tools
29-
echo "Running poetry linting tools..."
30-
if ! poetry run flake8 .; then
31-
echo "flake8 failed. Aborting commit."
32-
exit 1
33-
fi
34-
35-
if ! poetry run black --check .; then
36-
echo "black failed. Aborting commit."
37-
exit 1
38-
fi
39-
40-
if ! poetry run mypy .; then
41-
echo "mypy failed. Aborting commit."
42-
exit 1
43-
fi
44-
45-
echo "Pre-commit checks passed!"
46-
exit 0
26+
fi

.vscode/cspell.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,39 @@
77
{
88
"name": "teamMember",
99
"path": "./dictionaries/team-member.txt"
10+
},
11+
{
12+
"name": "geo",
13+
"path": "./dictionaries/india.txt"
1014
}
1115
],
12-
"dictionaries": ["projectTerms", "teamMember"],
16+
"dictionaries": [
17+
"projectTerms",
18+
"teamMember",
19+
"india"
20+
],
21+
"ignorePaths": [
22+
"**/*.svg",
23+
"src/assets/json/*.json"
24+
],
1325
"languageSettings": [
1426
{
1527
"languageId": "*",
16-
"dictionaries": ["projectTerms"]
28+
"dictionaries": [
29+
"projectTerms"
30+
]
1731
},
1832
{
1933
"languageId": "json, md",
20-
"dictionaries": ["teamMember"]
34+
"dictionaries": [
35+
"teamMember",
36+
"geo"
37+
]
2138
}
2239
],
23-
"enableFiletypes": ["astro", "jsx", "tsx"]
40+
"enableFiletypes": [
41+
"astro",
42+
"jsx",
43+
"tsx"
44+
]
2445
}

.vscode/dictionaries/india.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Andhra
2+
Kuchipudi
3+
Pradesh
4+
Sankranti

.vscode/settings.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,25 @@
3030
"git.openRepositoryInParentFolders": "always",
3131
"typescript.updateImportsOnFileMove.enabled": "always",
3232
"editor.linkedEditing": true,
33-
"cSpell.userWords": ["nojekyll", "testid"],
33+
"cSpell.userWords": [
34+
"nojekyll",
35+
"testid"
36+
],
3437
"editor.tabSize": 2,
3538
"git.enableSmartCommit": true,
3639
"files.watcherExclude": {
3740
"**/node_modules/*/**": true
3841
},
3942
"files.autoSave": "afterDelay",
40-
"git.branchProtection": ["main", "develop"],
43+
"git.branchProtection": [
44+
"main",
45+
"develop"
46+
],
4147
"[CODEOWNERS]": {
4248
"editor.formatOnSave": false
4349
},
4450
"cSpell.words": [
51+
"behaviour",
4552
"DUMMYUSER"
4653
],
4754
"workbench.colorCustomizations": {
@@ -53,13 +60,11 @@
5360
"activityBarBadge.foreground": "#15202b",
5461
"commandCenter.border": "#15202b99",
5562
"sash.hoverBorder": "#e98cf9",
56-
"sideBar.border": "#e98cf9",
5763
"statusBar.background": "#e05bf7",
5864
"statusBar.foreground": "#15202b",
5965
"statusBarItem.hoverBackground": "#d72af5",
6066
"statusBarItem.remoteBackground": "#e05bf7",
6167
"statusBarItem.remoteForeground": "#15202b",
62-
"tab.activeBorder": "#e98cf9",
6368
"titleBar.activeBackground": "#e05bf7",
6469
"titleBar.activeForeground": "#15202b",
6570
"titleBar.inactiveBackground": "#e05bf799",
@@ -68,4 +73,4 @@
6873
"peacock.color": "#e05bf7",
6974
"css.format.enable": true,
7075
"css.lint.unknownAtRules": "ignore"
71-
}
76+
}

abcd.code-workspace

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"editor.inlayHints.enabled": "offUnlessPressed",
6161
"editor.insertSpaces": true,
6262
"editor.linkedEditing": true,
63-
"editor.minimap.enabled": false,
63+
"editor.minimap.enabled": true,
6464
"editor.minimap.renderCharacters": false,
6565
"editor.minimap.size": "fill",
6666
"editor.multiCursorModifier": "alt",
@@ -73,9 +73,25 @@
7373
"javascript": "javascriptreact"
7474
},
7575
"eslint.options": {
76-
"extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx", ".astro"]
76+
"extensions": [
77+
".js",
78+
".jsx",
79+
".md",
80+
".mdx",
81+
".ts",
82+
".tsx",
83+
".astro"
84+
]
7785
},
78-
"eslint.validate": ["mdx", "markdown", "javascript", "javascriptreact", "typescript", "typescriptreact", "astro"],
86+
"eslint.validate": [
87+
"mdx",
88+
"markdown",
89+
"javascript",
90+
"javascriptreact",
91+
"typescript",
92+
"typescriptreact",
93+
"astro"
94+
],
7995
"explorer.compactFolders": false,
8096
"explorer.confirmDelete": false,
8197
"explorer.confirmDragAndDrop": false,
@@ -103,7 +119,10 @@
103119
},
104120
"git.autofetch": true,
105121
"git.branchPrefix": "feature/",
106-
"git.branchProtection": ["develop", "main"],
122+
"git.branchProtection": [
123+
"develop",
124+
"main"
125+
],
107126
"git.branchRandomName.enable": true,
108127
"git.confirmSync": false,
109128
"git.enableCommitSigning": false,
@@ -114,7 +133,9 @@
114133
"js/ts.implicitProjectConfig.checkJs": true,
115134
"peacock.affectSideBarBorder": true,
116135
"peacock.color": "#abcd00",
117-
"prettier.documentSelectors": ["**/*.astro"],
136+
"prettier.documentSelectors": [
137+
"**/*.astro"
138+
],
118139
"prettier.printWidth": 120,
119140
"prettier.quoteProps": "consistent",
120141
"prettier.singleQuote": false,
@@ -144,8 +165,7 @@
144165
"cSpell.words": [],
145166
"workbench.editor.limit.excludeDirty": true,
146167
"files.readonlyInclude": {
147-
".githooks/**": true,
148-
".github/**": true
168+
".githooks/**": true
149169
},
150170
"workbench.colorCustomizations": {
151171
"activityBar.activeBackground": "#d5ff01",
@@ -167,6 +187,9 @@
167187
"titleBar.inactiveBackground": "#abcd0099",
168188
"titleBar.inactiveForeground": "#15202b99",
169189
"tab.activeBorder": "#d5ff01"
190+
},
191+
"files.exclude": {
192+
"**/.git": false
170193
}
171194
}
172-
}
195+
}

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import node from "@astrojs/node";
33
import react from "@astrojs/react";
44
import tailwind from "@astrojs/tailwind";
55
import { defineConfig } from "astro/config";
6+
// import icon from "astro-icon";
67

78
// https://astro.build/config
89
export default defineConfig({
@@ -16,6 +17,7 @@ export default defineConfig({
1617
svg: true
1718
},
1819
integrations: [
20+
// icons(),
1921
mdx(),
2022
react({
2123
experimentalReactChildren: true

public/map/images/andhra.jpg

36.2 KB
Loading

public/map/images/arunachal.jpeg

15.1 KB
Loading

public/map/images/assam.jpg

49.5 KB
Loading

public/map/images/bihar.jpeg

11 KB
Loading

0 commit comments

Comments
 (0)