Skip to content

Commit 6716904

Browse files
committed
[RZA-250028]: rename mapPages to map
1 parent 29d8466 commit 6716904

File tree

5 files changed

+30
-10
lines changed

5 files changed

+30
-10
lines changed

abcd.code-workspace

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,25 @@
7373
"javascript": "javascriptreact"
7474
},
7575
"eslint.options": {
76-
"extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx", ".astro"]
77-
},
78-
"eslint.validate": ["mdx", "markdown", "javascript", "javascriptreact", "typescript", "typescriptreact", "astro"],
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+
],
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,
@@ -156,7 +177,8 @@
156177
"titleBar.inactiveForeground": "#15202b99"
157178
},
158179
"files.exclude": {
159-
"**/.git": false
180+
"**/.git": false,
181+
"**/.git/": true
160182
},
161183
"workbench.editor.pinnedTabSizing": "compact",
162184
"workbench.editor.pinnedTabsOnSeparateRow": true,
@@ -170,4 +192,4 @@
170192
".githooks/**": true
171193
}
172194
}
173-
}
195+
}

src/assets/styles/map/map.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
position: relative;
1010

1111
& svg {
12-
width: 100%;
13-
height: auto;
1412
max-width: 100%;
1513
}
1614

src/components/Popup.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
const stateName = popupStateName.textContent;
100100
if (stateName) {
101101
const stateUrl = stateName.replace(/\s+/g, "").toLowerCase();
102-
window.location.href = `/mapPages/${stateUrl}`;
102+
window.location.href = `/map/${stateUrl}`;
103103
}
104104
});
105105

0 commit comments

Comments
 (0)