diff --git a/abcd.code-workspace b/abcd.code-workspace index 3955a1e..d136661 100644 --- a/abcd.code-workspace +++ b/abcd.code-workspace @@ -73,9 +73,25 @@ "javascript": "javascriptreact" }, "eslint.options": { - "extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx", ".astro"] - }, - "eslint.validate": ["mdx", "markdown", "javascript", "javascriptreact", "typescript", "typescriptreact", "astro"], + "extensions": [ + ".js", + ".jsx", + ".md", + ".mdx", + ".ts", + ".tsx", + ".astro" + ] + }, + "eslint.validate": [ + "mdx", + "markdown", + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "astro" + ], "explorer.compactFolders": false, "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, @@ -103,7 +119,10 @@ }, "git.autofetch": true, "git.branchPrefix": "feature/", - "git.branchProtection": ["develop", "main"], + "git.branchProtection": [ + "develop", + "main" + ], "git.branchRandomName.enable": true, "git.confirmSync": false, "git.enableCommitSigning": false, @@ -114,7 +133,9 @@ "js/ts.implicitProjectConfig.checkJs": true, "peacock.affectSideBarBorder": true, "peacock.color": "#abcd00", - "prettier.documentSelectors": ["**/*.astro"], + "prettier.documentSelectors": [ + "**/*.astro" + ], "prettier.printWidth": 120, "prettier.quoteProps": "consistent", "prettier.singleQuote": false, @@ -153,11 +174,11 @@ "titleBar.activeBackground": "#abcd00", "titleBar.activeForeground": "#15202b", "titleBar.inactiveBackground": "#abcd0099", - "titleBar.inactiveForeground": "#15202b99", - "tab.activeBorder": "#d5ff01" + "titleBar.inactiveForeground": "#15202b99" }, "files.exclude": { - "**/.git": false + "**/.git": false, + "**/.git/": true }, "workbench.editor.pinnedTabSizing": "compact", "workbench.editor.pinnedTabsOnSeparateRow": true, @@ -171,4 +192,4 @@ ".githooks/**": true } } -} +} \ No newline at end of file diff --git a/public/map/images/andaman.webp b/public/map/images/andaman.webp new file mode 100644 index 0000000..36bb23a Binary files /dev/null and b/public/map/images/andaman.webp differ diff --git a/public/map/images/andhra.jpg b/public/map/images/andhra.jpg deleted file mode 100644 index 80795d2..0000000 Binary files a/public/map/images/andhra.jpg and /dev/null differ diff --git a/public/map/images/andhra.webp b/public/map/images/andhra.webp new file mode 100644 index 0000000..19998a2 Binary files /dev/null and b/public/map/images/andhra.webp differ diff --git a/public/map/images/arunachal.jpeg b/public/map/images/arunachal.jpeg deleted file mode 100644 index b8c5b23..0000000 Binary files a/public/map/images/arunachal.jpeg and /dev/null differ diff --git a/public/map/images/arunachal.webp b/public/map/images/arunachal.webp new file mode 100644 index 0000000..9870f41 Binary files /dev/null and b/public/map/images/arunachal.webp differ diff --git a/public/map/images/assam.jpg b/public/map/images/assam.jpg deleted file mode 100644 index 4c5a649..0000000 Binary files a/public/map/images/assam.jpg and /dev/null differ diff --git a/public/map/images/assam.webp b/public/map/images/assam.webp new file mode 100644 index 0000000..3bac374 Binary files /dev/null and b/public/map/images/assam.webp differ diff --git a/public/map/images/bihar.jpeg b/public/map/images/bihar.jpeg deleted file mode 100644 index a8972f3..0000000 Binary files a/public/map/images/bihar.jpeg and /dev/null differ diff --git a/public/map/images/bihar.webp b/public/map/images/bihar.webp new file mode 100644 index 0000000..4be92a0 Binary files /dev/null and b/public/map/images/bihar.webp differ diff --git a/public/map/images/chandigarh.webp b/public/map/images/chandigarh.webp new file mode 100644 index 0000000..edec3f8 Binary files /dev/null and b/public/map/images/chandigarh.webp differ diff --git a/public/map/images/chhatisgarh.jpg b/public/map/images/chhatisgarh.jpg deleted file mode 100644 index 86e29fb..0000000 Binary files a/public/map/images/chhatisgarh.jpg and /dev/null differ diff --git a/public/map/images/chhatisgarh.webp b/public/map/images/chhatisgarh.webp new file mode 100644 index 0000000..6ee7867 Binary files /dev/null and b/public/map/images/chhatisgarh.webp differ diff --git a/public/map/images/dadar.webp b/public/map/images/dadar.webp new file mode 100644 index 0000000..db8f95a Binary files /dev/null and b/public/map/images/dadar.webp differ diff --git a/public/map/images/delhi.jpg b/public/map/images/delhi.jpg deleted file mode 100644 index 4281da4..0000000 Binary files a/public/map/images/delhi.jpg and /dev/null differ diff --git a/public/map/images/delhi.webp b/public/map/images/delhi.webp new file mode 100644 index 0000000..f9e7b63 Binary files /dev/null and b/public/map/images/delhi.webp differ diff --git a/public/map/images/goa.jpg b/public/map/images/goa.jpg deleted file mode 100644 index 5656cc6..0000000 Binary files a/public/map/images/goa.jpg and /dev/null differ diff --git a/public/map/images/goa.webp b/public/map/images/goa.webp new file mode 100644 index 0000000..ca1ee8f Binary files /dev/null and b/public/map/images/goa.webp differ diff --git a/public/map/images/gujrat.jpg b/public/map/images/gujrat.jpg deleted file mode 100644 index 4e13a05..0000000 Binary files a/public/map/images/gujrat.jpg and /dev/null differ diff --git a/public/map/images/gujrat.webp b/public/map/images/gujrat.webp new file mode 100644 index 0000000..397c915 Binary files /dev/null and b/public/map/images/gujrat.webp differ diff --git a/public/map/images/harayana.webp b/public/map/images/harayana.webp new file mode 100644 index 0000000..a2d6393 Binary files /dev/null and b/public/map/images/harayana.webp differ diff --git a/public/map/images/haryana.jpeg b/public/map/images/haryana.jpeg deleted file mode 100644 index 8b103de..0000000 Binary files a/public/map/images/haryana.jpeg and /dev/null differ diff --git a/public/map/images/himachal.jpg b/public/map/images/himachal.jpg deleted file mode 100644 index 11e6ddd..0000000 Binary files a/public/map/images/himachal.jpg and /dev/null differ diff --git a/public/map/images/himachal.webp b/public/map/images/himachal.webp new file mode 100644 index 0000000..800a7c3 Binary files /dev/null and b/public/map/images/himachal.webp differ diff --git a/public/map/images/jharkhand.jpg b/public/map/images/jharkhand.jpg deleted file mode 100644 index 44f6efd..0000000 Binary files a/public/map/images/jharkhand.jpg and /dev/null differ diff --git a/public/map/images/jharkhand.webp b/public/map/images/jharkhand.webp new file mode 100644 index 0000000..c81a8c1 Binary files /dev/null and b/public/map/images/jharkhand.webp differ diff --git a/public/map/images/karnataka.jpg b/public/map/images/karnataka.jpg deleted file mode 100644 index 38033ed..0000000 Binary files a/public/map/images/karnataka.jpg and /dev/null differ diff --git a/public/map/images/karnataka.webp b/public/map/images/karnataka.webp new file mode 100644 index 0000000..b694925 Binary files /dev/null and b/public/map/images/karnataka.webp differ diff --git a/public/map/images/kashmir.jpeg b/public/map/images/kashmir.jpeg deleted file mode 100644 index 148f508..0000000 Binary files a/public/map/images/kashmir.jpeg and /dev/null differ diff --git a/public/map/images/kashmir.webp b/public/map/images/kashmir.webp new file mode 100644 index 0000000..dba2525 Binary files /dev/null and b/public/map/images/kashmir.webp differ diff --git a/public/map/images/kerala.jpg b/public/map/images/kerala.jpg deleted file mode 100644 index 7868262..0000000 Binary files a/public/map/images/kerala.jpg and /dev/null differ diff --git a/public/map/images/kerala.webp b/public/map/images/kerala.webp new file mode 100644 index 0000000..3c166a0 Binary files /dev/null and b/public/map/images/kerala.webp differ diff --git a/public/map/images/ladakh.jpg b/public/map/images/ladakh.jpg deleted file mode 100644 index 76eb3ba..0000000 Binary files a/public/map/images/ladakh.jpg and /dev/null differ diff --git a/public/map/images/ladakh.webp b/public/map/images/ladakh.webp new file mode 100644 index 0000000..e3de312 Binary files /dev/null and b/public/map/images/ladakh.webp differ diff --git a/public/map/images/lakshadweep.webp b/public/map/images/lakshadweep.webp new file mode 100644 index 0000000..7a96b2c Binary files /dev/null and b/public/map/images/lakshadweep.webp differ diff --git a/public/map/images/madhyapradesh.jpg b/public/map/images/madhyapradesh.jpg deleted file mode 100644 index 6764034..0000000 Binary files a/public/map/images/madhyapradesh.jpg and /dev/null differ diff --git a/public/map/images/madhyapradesh.webp b/public/map/images/madhyapradesh.webp new file mode 100644 index 0000000..b052b0e Binary files /dev/null and b/public/map/images/madhyapradesh.webp differ diff --git a/public/map/images/maharashtra.jpg b/public/map/images/maharashtra.jpg deleted file mode 100644 index 779fda3..0000000 Binary files a/public/map/images/maharashtra.jpg and /dev/null differ diff --git a/public/map/images/maharashtra.webp b/public/map/images/maharashtra.webp new file mode 100644 index 0000000..ae581bd Binary files /dev/null and b/public/map/images/maharashtra.webp differ diff --git a/public/map/images/manipur.jpeg b/public/map/images/manipur.jpeg deleted file mode 100644 index 0d266bb..0000000 Binary files a/public/map/images/manipur.jpeg and /dev/null differ diff --git a/public/map/images/manipur.webp b/public/map/images/manipur.webp new file mode 100644 index 0000000..910aa26 Binary files /dev/null and b/public/map/images/manipur.webp differ diff --git a/public/map/images/meghalaya.jpeg b/public/map/images/meghalaya.jpeg deleted file mode 100644 index c46b568..0000000 Binary files a/public/map/images/meghalaya.jpeg and /dev/null differ diff --git a/public/map/images/meghalaya.webp b/public/map/images/meghalaya.webp new file mode 100644 index 0000000..8f3fbc3 Binary files /dev/null and b/public/map/images/meghalaya.webp differ diff --git a/public/map/images/mizoram.jpg b/public/map/images/mizoram.jpg deleted file mode 100644 index bc3a1fd..0000000 Binary files a/public/map/images/mizoram.jpg and /dev/null differ diff --git a/public/map/images/mizoram.webp b/public/map/images/mizoram.webp new file mode 100644 index 0000000..35c3112 Binary files /dev/null and b/public/map/images/mizoram.webp differ diff --git a/public/map/images/nagaland.jpeg b/public/map/images/nagaland.jpeg deleted file mode 100644 index f3a94e6..0000000 Binary files a/public/map/images/nagaland.jpeg and /dev/null differ diff --git a/public/map/images/nagaland.webp b/public/map/images/nagaland.webp new file mode 100644 index 0000000..e184ef6 Binary files /dev/null and b/public/map/images/nagaland.webp differ diff --git a/public/map/images/odisha.jpg b/public/map/images/odisha.jpg deleted file mode 100644 index 02d77f8..0000000 Binary files a/public/map/images/odisha.jpg and /dev/null differ diff --git a/public/map/images/odisha.webp b/public/map/images/odisha.webp new file mode 100644 index 0000000..46d60b0 Binary files /dev/null and b/public/map/images/odisha.webp differ diff --git a/public/map/images/puducherry.webp b/public/map/images/puducherry.webp new file mode 100644 index 0000000..cbb1ab1 Binary files /dev/null and b/public/map/images/puducherry.webp differ diff --git a/public/map/images/punjab.jpg b/public/map/images/punjab.jpg deleted file mode 100644 index 0063ccf..0000000 Binary files a/public/map/images/punjab.jpg and /dev/null differ diff --git a/public/map/images/punjab.webp b/public/map/images/punjab.webp new file mode 100644 index 0000000..bbbd0fd Binary files /dev/null and b/public/map/images/punjab.webp differ diff --git a/public/map/images/rajasthan.jpg b/public/map/images/rajasthan.jpg deleted file mode 100644 index 050f51a..0000000 Binary files a/public/map/images/rajasthan.jpg and /dev/null differ diff --git a/public/map/images/rajasthan.webp b/public/map/images/rajasthan.webp new file mode 100644 index 0000000..52d2bfa Binary files /dev/null and b/public/map/images/rajasthan.webp differ diff --git a/public/map/images/sikkim.jpg b/public/map/images/sikkim.jpg deleted file mode 100644 index c87bcf9..0000000 Binary files a/public/map/images/sikkim.jpg and /dev/null differ diff --git a/public/map/images/sikkim.webp b/public/map/images/sikkim.webp new file mode 100644 index 0000000..f3dec06 Binary files /dev/null and b/public/map/images/sikkim.webp differ diff --git a/public/map/images/tamilnadu.jpeg b/public/map/images/tamilnadu.jpeg deleted file mode 100644 index e658678..0000000 Binary files a/public/map/images/tamilnadu.jpeg and /dev/null differ diff --git a/public/map/images/tamilnadu.webp b/public/map/images/tamilnadu.webp new file mode 100644 index 0000000..018252c Binary files /dev/null and b/public/map/images/tamilnadu.webp differ diff --git a/public/map/images/telangana.jpg b/public/map/images/telangana.jpg deleted file mode 100644 index a4d49a9..0000000 Binary files a/public/map/images/telangana.jpg and /dev/null differ diff --git a/public/map/images/telangana.webp b/public/map/images/telangana.webp new file mode 100644 index 0000000..450f309 Binary files /dev/null and b/public/map/images/telangana.webp differ diff --git a/public/map/images/tripura.jpg b/public/map/images/tripura.jpg deleted file mode 100644 index 295b748..0000000 Binary files a/public/map/images/tripura.jpg and /dev/null differ diff --git a/public/map/images/tripura.webp b/public/map/images/tripura.webp new file mode 100644 index 0000000..b2ecb75 Binary files /dev/null and b/public/map/images/tripura.webp differ diff --git a/public/map/images/uttarakhand.jpeg b/public/map/images/uttarakhand.jpeg deleted file mode 100644 index 83f64fa..0000000 Binary files a/public/map/images/uttarakhand.jpeg and /dev/null differ diff --git a/public/map/images/uttarakhand.webp b/public/map/images/uttarakhand.webp new file mode 100644 index 0000000..1d90d51 Binary files /dev/null and b/public/map/images/uttarakhand.webp differ diff --git a/public/map/images/uttarpradesh.jpg b/public/map/images/uttarpradesh.jpg deleted file mode 100644 index de05cee..0000000 Binary files a/public/map/images/uttarpradesh.jpg and /dev/null differ diff --git a/public/map/images/uttarpradesh.webp b/public/map/images/uttarpradesh.webp new file mode 100644 index 0000000..c96ecab Binary files /dev/null and b/public/map/images/uttarpradesh.webp differ diff --git a/public/map/images/westbengal.jpg b/public/map/images/westbengal.jpg deleted file mode 100644 index 44f6efd..0000000 Binary files a/public/map/images/westbengal.jpg and /dev/null differ diff --git a/public/map/images/westbengal.webp b/public/map/images/westbengal.webp new file mode 100644 index 0000000..8d66219 Binary files /dev/null and b/public/map/images/westbengal.webp differ diff --git a/src/assets/json/state.json b/src/assets/json/state.json index dcf7742..50e16b8 100644 --- a/src/assets/json/state.json +++ b/src/assets/json/state.json @@ -6,7 +6,7 @@ "dance": "Kuchipudi", "festival": "Sankranti", "description": "Kuchipudi is one of the eight major Indian classical dances and originated in Andhra Pradesh.", - "image": "andhra.jpg", + "image": "andhra.webp", "svg": "Andhra.svg", "wikiLink": "https://en.wikipedia.org/wiki/Andhra_Pradesh", "official_website": "https://www.ap.gov.in", @@ -20,10 +20,10 @@ "dance": "Bihu Dance", "festival": "Bihu", "description": "The Bihu dance is an energetic and vibrant folk dance performed during the Bihu festival in Assam.", - "image": "assam.jpg", + "image": "assam.webp", "svg": "Assam.svg", "wikiLink": "https://en.wikipedia.org/wiki/Assam", - "official_website": "https://www.assam.gov.in", + "official_website": "https://assam.gov.in", "isActive": true }, { @@ -33,10 +33,10 @@ "dance": "Yak Dance", "festival": "Losar, Reh", "description": "The Yak dance is a traditional dance form performed during major festivals in Arunachal Pradesh.", - "image": "arunachal.jpeg", + "image": "arunachal.webp", "svg": "ArunachalPradesh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Arunachal_Pradesh", - "official_website": "https://www.arunachalpradesh.gov.in", + "official_website": "https://arunachalpradesh.gov.in", "isActive": true, "alternate_dance": "Bari Dance" }, @@ -47,7 +47,7 @@ "dance": "Perini Shiva Thandavam", "festival": "Bonalu", "description": "Perini Shiva Thandavam is a dance dedicated to Lord Shiva, performed in Telangana.", - "image": "telangana.jpg", + "image": "telangana.webp", "svg": "Telangana.svg", "wikiLink": "https://en.wikipedia.org/wiki/Telangana", "official_website": "https://www.telangana.gov.in", @@ -60,7 +60,7 @@ "dance": "Panthi Dance", "festival": "Bastar Dussehra", "description": "Panthi Dance is a traditional dance performed by the Satnami community of Chhattisgarh.", - "image": "chhatisgarh.jpg", + "image": "chhatisgarh.webp", "svg": "Chhatisgarh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Chhattisgarh", "official_website": "https://www.cgstate.gov.in", @@ -74,7 +74,7 @@ "dance": "Kathak", "festival": "Republic Day Parade", "description": "Delhi, the capital of India, hosts Kathak performances and cultural events during national celebrations.", - "image": "delhi.jpg", + "image": "delhi.webp", "svg": "Delhi.svg", "wikiLink": "https://en.wikipedia.org/wiki/Delhi", "official_website": "https://delhi.gov.in", @@ -87,10 +87,10 @@ "dance": "Tarpa Dance", "festival": "Nariyal Poornima", "description": "Tarpa Dance is a tribal dance performed in Dadra and Nagar Haveli and Daman and Diu, especially during harvest festivals.", - "image": "dadra_daman.jpg", + "image": "dadar.webp", "svg": "DadraNagarHaveliDamanDiu.svg", "wikiLink": "https://en.wikipedia.org/wiki/Dadra_and_Nagar_Haveli_and_Daman_and_Diu", - "official_website": "https://dddh.gov.in", + "official_website": "https://ddd.gov.in", "isActive": true }, { @@ -100,7 +100,7 @@ "dance": "Dekhnni", "festival": "Carnival", "description": "Dekhnni is a semi-classical Goan dance form that blends Indian and Western influences.", - "image": "goa.jpg", + "image": "goa.webp", "svg": "Goa.svg", "wikiLink": "https://en.wikipedia.org/wiki/Goa", "official_website": "https://www.goa.gov.in", @@ -113,7 +113,7 @@ "dance": "Garba", "festival": "Navratri", "description": "Garba is a popular folk dance of Gujarat performed during the Navratri festival.", - "image": "gujrat.jpg", + "image": "gujrat.webp", "svg": "Gujrat.svg", "wikiLink": "https://en.wikipedia.org/wiki/Gujarat", "official_website": "https://gujaratindia.gov.in", @@ -126,7 +126,7 @@ "dance": "Kathakali", "festival": "Onam", "description": "Kathakali is a classical Indian dance form known for its elaborate costumes and expressive gestures.", - "image": "kerala.jpg", + "image": "kerala.webp", "svg": "Kerala.svg", "wikiLink": "https://en.wikipedia.org/wiki/Kerala", "official_website": "https://kerala.gov.in", @@ -140,10 +140,10 @@ "dance": "Yakshagana", "festival": "Dasara", "description": "Yakshagana is a traditional theatre form that combines dance, music, and dialogue in Karnataka.", - "image": "karnataka.jpg", + "image": "karnataka.webp", "svg": "Karnataka.svg", "wikiLink": "https://en.wikipedia.org/wiki/Karnataka", - "official_website": "https://www.karnataka.gov.in", + "official_website": "https://karnataka.gov.in/english", "isActive": true }, { @@ -153,10 +153,10 @@ "dance": "Lavani", "festival": "Ganesh Chaturthi", "description": "Lavani is a popular folk dance form of Maharashtra, known for its rhythm and vibrant performance.", - "image": "maharashtra.jpg", + "image": "maharashtra.webp", "svg": "Maharashtra.svg", "wikiLink": "https://en.wikipedia.org/wiki/Maharashtra", - "official_website": "https://www.maharashtra.gov.in", + "official_website": "http://www.maharashtra.gov.in/", "isActive": true }, { @@ -166,7 +166,7 @@ "dance": "Matki Dance", "festival": "Lokrang Festival", "description": "Matki Dance is a traditional folk dance performed by women during celebrations in Madhya Pradesh.", - "image": "madhyapradesh.jpg", + "image": "madhyapradesh.webp", "svg": "MadhyaPradesh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Madhya_Pradesh", "official_website": "https://www.mp.gov.in", @@ -180,7 +180,7 @@ "dance": "Odissi", "festival": "Rath Yatra", "description": "Odissi is one of the eight classical dance forms of India, originating from Odisha.", - "image": "odisha.jpg", + "image": "odisha.webp", "svg": "Odisha.svg", "wikiLink": "https://en.wikipedia.org/wiki/Odisha", "official_website": "https://www.odisha.gov.in", @@ -193,7 +193,7 @@ "dance": "Chhau Dance", "festival": "Durga Puja", "description": "Chhau Dance is a semi-classical dance form performed during festivals in West Bengal.", - "image": "westbengal.jpg", + "image": "westbengal.webp", "svg": "WestBengal.svg", "wikiLink": "https://en.wikipedia.org/wiki/West_Bengal", "official_website": "https://wb.gov.in", @@ -203,10 +203,10 @@ "id": "jharkhand", "state_id": 11, "name": "Jharkhand", - "dance": "Chhau Dance", + "dance": "Jhumair", "festival": "Sarhul", - "description": "Chhau is a semi-classical dance performed during festivals in Jharkhand.", - "image": "jharkhand.jpg", + "description": "Jhumair is a semi-classical dance performed during festivals in Jharkhand.", + "image": "jharkhand.webp", "svg": "Jharkhand.svg", "wikiLink": "https://en.wikipedia.org/wiki/Jharkhand", "official_website": "https://www.jharkhand.gov.in", @@ -220,7 +220,7 @@ "dance": "Jat-Jatin", "festival": "Chhath Puja", "description": "Jat-Jatin is a popular folk dance of Bihar that represents rural life and relationships.", - "image": "bihar.jpeg", + "image": "bihar.webp", "svg": "Bihar.svg", "wikiLink": "https://en.wikipedia.org/wiki/Bihar", "official_website": "https://state.bihar.gov.in", @@ -234,7 +234,7 @@ "dance": "Kathak", "festival": "Diwali", "description": "Kathak is one of the eight major classical dance forms of India, originating from Uttar Pradesh.", - "image": "uttarpradesh.jpg", + "image": "uttarpradesh.webp", "svg": "UttarPradesh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Uttar_Pradesh", "official_website": "https://up.gov.in", @@ -247,7 +247,7 @@ "dance": "Chang Lo", "festival": "Hornbill Festival", "description": "Chang Lo is a traditional dance performed by the Chang tribe during celebrations in Nagaland.", - "image": "nagaland.jpeg", + "image": "nagaland.webp", "svg": "Nagaland.svg", "wikiLink": "https://en.wikipedia.org/wiki/Nagaland", "official_website": "https://www.nagaland.gov.in", @@ -260,7 +260,7 @@ "dance": "Manipuri Dance", "festival": "Yaoshang", "description": "Manipuri Dance is a classical dance form of Manipur, emphasizing graceful movements and expressions.", - "image": "manipur.jpeg", + "image": "manipur.webp", "svg": "Manipur.svg", "wikiLink": "https://en.wikipedia.org/wiki/Manipur", "official_website": "https://manipur.gov.in", @@ -273,7 +273,7 @@ "dance": "Nongkrem Dance", "festival": "Shad Suk Mynsiem", "description": "Nongkrem Dance is a religious dance performed by the Khasi tribe in Meghalaya.", - "image": "meghalaya.jpeg", + "image": "meghalaya.webp", "svg": "Meghalaya.svg", "wikiLink": "https://en.wikipedia.org/wiki/Meghalaya", "official_website": "https://www.meghalaya.gov.in", @@ -286,7 +286,7 @@ "dance": "Cheraw Dance", "festival": "Chapchar Kut", "description": "Cheraw Dance, also known as the Bamboo Dance, is a traditional dance of Mizoram.", - "image": "mizoram.jpg", + "image": "mizoram.webp", "svg": "Mizoram.svg", "wikiLink": "https://en.wikipedia.org/wiki/Mizoram", "official_website": "https://mizoram.gov.in", @@ -299,10 +299,10 @@ "dance": "Ghoomar", "festival": "Teej", "description": "Ghoomar is a traditional folk dance performed by women in Rajasthan, known for its swirling movements.", - "image": "rajasthan.jpg", + "image": "rajasthan.webp", "svg": "Rajasthan.svg", "wikiLink": "https://en.wikipedia.org/wiki/Rajasthan", - "official_website": "https://www.rajasthan.gov.in", + "official_website": "https://rajasthan.gov.in/", "isActive": true }, { @@ -312,7 +312,7 @@ "dance": "Singhi Cham", "festival": "Losar", "description": "Singhi Cham is a mask dance performed during Buddhist festivals in Sikkim.", - "image": "sikkim.jpg", + "image": "sikkim.webp", "svg": "Sikkim.svg", "wikiLink": "https://en.wikipedia.org/wiki/Sikkim", "official_website": "https://sikkim.gov.in", @@ -325,7 +325,7 @@ "dance": "Bharatanatyam", "festival": "Pongal", "description": "Bharatanatyam is one of the oldest classical dance forms of India, originating in Tamil Nadu.", - "image": "tamilnadu.jpeg", + "image": "tamilnadu.webp", "svg": "TamilNadu.svg", "wikiLink": "https://en.wikipedia.org/wiki/Tamil_Nadu", "official_website": "https://www.tn.gov.in", @@ -338,7 +338,7 @@ "dance": "Hojagiri Dance", "festival": "Kharchi Puja", "description": "Hojagiri Dance is a traditional dance performed by the Reang community of Tripura.", - "image": "tripura.jpg", + "image": "tripura.webp", "svg": "Tripura.svg", "wikiLink": "https://en.wikipedia.org/wiki/Tripura", "official_website": "https://tripura.gov.in", @@ -351,7 +351,7 @@ "dance": "Phag Dance", "festival": "Lohri", "description": "Phag Dance is a folk dance that celebrates the harvest season in Haryana.", - "image": "haryana.jpeg", + "image": "harayana.webp", "svg": "Harayana.svg", "wikiLink": "https://en.wikipedia.org/wiki/Haryana", "official_website": "https://haryana.gov.in", @@ -365,7 +365,7 @@ "dance": "Bhangra", "festival": "Lohri", "description": "Bhangra is a lively and energetic folk dance of Punjab, traditionally performed during harvest celebrations.", - "image": "punjab.jpg", + "image": "punjab.webp", "svg": "Punjab.svg", "wikiLink": "https://en.wikipedia.org/wiki/Punjab,_India", "official_website": "https://punjab.gov.in", @@ -378,10 +378,10 @@ "dance": "Chholiya Dance", "festival": "Kumbh Mela", "description": "Chholiya Dance is a traditional folk dance of Uttarakhand, performed during weddings and celebrations.", - "image": "uttarakhand.jpeg", + "image": "uttarakhand.webp", "svg": "Uttarakhand.svg", "wikiLink": "https://en.wikipedia.org/wiki/Uttarakhand", - "official_website": "https://uttarakhand.gov.in", + "official_website": "https://uk.gov.in/", "isActive": true }, { @@ -391,7 +391,7 @@ "dance": "Nati", "festival": "Kullu Dussehra", "description": "Nati is a traditional folk dance of Himachal Pradesh, performed during festivals and celebrations.", - "image": "himachal.jpg", + "image": "himachal.webp", "svg": "HimachalPradesh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Himachal_Pradesh", "official_website": "https://himachal.nic.in", @@ -405,7 +405,7 @@ "dance": "Rouf", "festival": "Lohri, Navroz", "description": "Rouf is a traditional Kashmiri dance performed during festivals and special occasions.", - "image": "kashmir.jpeg", + "image": "kashmir.webp", "svg": "Kashmir.svg", "wikiLink": "https://en.wikipedia.org/wiki/Jammu_and_Kashmir", "official_website": "https://jk.gov.in", @@ -419,10 +419,10 @@ "dance": "Nicobarese Dance", "festival": "Island Tourism Festival", "description": "Nicobarese Dance is performed by the Nicobarese tribe during festive occasions in the Andaman and Nicobar Islands.", - "image": "andaman.jpg", + "image": "andaman.webp", "svg": "AndamanAndNicobar.svg", "wikiLink": "https://en.wikipedia.org/wiki/Andaman_and_Nicobar_Islands", - "official_website": "https://www.andaman.gov.in", + "official_website": "https://andaman.gov.in/", "isActive": true }, { @@ -432,7 +432,7 @@ "dance": "Gidda and Bhangra", "festival": "Rose Festival", "description": "Chandigarh celebrates its rich culture with performances of Gidda and Bhangra during various festivals.", - "image": "chandigarh.jpg", + "image": "chandigarh.webp", "svg": "Chandigarh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Chandigarh", "official_website": "https://chandigarh.gov.in", @@ -445,7 +445,7 @@ "dance": "Lava Dance", "festival": "Minicoy Fest", "description": "Lava Dance is a traditional dance performed by the people of Lakshadweep during joyous occasions.", - "image": "lakshadweep.jpg", + "image": "lakshadweep.webp", "svg": "Lakshadweep.svg", "wikiLink": "https://en.wikipedia.org/wiki/Lakshadweep", "official_website": "https://lakshadweep.gov.in", @@ -458,10 +458,10 @@ "dance": "Cham Dance", "festival": "Hemis Festival", "description": "Cham Dance is a mask dance performed during Buddhist festivals in Ladakh.", - "image": "ladakh.jpg", + "image": "ladakh.webp", "svg": "Ladakh.svg", "wikiLink": "https://en.wikipedia.org/wiki/Ladakh", - "official_website": "https://ladakh.nic.in", + "official_website": "https://nicladakh.nic.in", "isActive": true }, { @@ -471,10 +471,10 @@ "dance": "Garadi Dance", "festival": "Pondicherry Heritage Festival", "description": "Garadi Dance is a traditional dance form of Puducherry, performed during temple festivals.", - "image": "puducherry.jpg", + "image": "puducherry.webp", "svg": "Pondicherry.svg", "wikiLink": "https://en.wikipedia.org/wiki/Puducherry", "official_website": "https://www.py.gov.in", "isActive": true } -] +] \ No newline at end of file diff --git a/src/assets/styles/map/map.css b/src/assets/styles/map/map.css index 2adce2b..ba13f1e 100644 --- a/src/assets/styles/map/map.css +++ b/src/assets/styles/map/map.css @@ -9,10 +9,9 @@ position: relative; & svg { - width: 100%; - height: auto; max-width: 100%; } + .tooltip { position: absolute; background-color: rgba(0, 0, 0, 0.8); @@ -23,6 +22,7 @@ pointer-events: none; z-index: 500; display: none; + transform: translate(-300%, -200%); } & path { @@ -37,4 +37,4 @@ fill: #ffa500; transform: scale(1); } -} +} \ No newline at end of file diff --git a/src/assets/styles/map/popup.css b/src/assets/styles/map/popup.css index e7d835f..b8453f4 100644 --- a/src/assets/styles/map/popup.css +++ b/src/assets/styles/map/popup.css @@ -31,7 +31,7 @@ &__image { width: 100%; height: auto; - max-height: 200px; + max-height: 220px; object-fit: cover; border-radius: 8px; margin: 10px 0; diff --git a/src/assets/styles/map/state.css b/src/assets/styles/map/state.css index f5cacce..ce4d033 100644 --- a/src/assets/styles/map/state.css +++ b/src/assets/styles/map/state.css @@ -11,16 +11,6 @@ --spacing-unit: 1rem; } -/* Main Content Wrapper */ -main { - max-width: 1400px; - margin: 0 auto; - padding: calc(var(--spacing-unit) * 2); - display: flex; - flex-direction: column; - gap: calc(var(--spacing-unit) * 3); -} - /* Header Container */ .container_header { text-align: center; @@ -28,14 +18,14 @@ main { background-color: var(--primary-bg); border-radius: 8px; box-shadow: var(--shadow-md); +} - h1 { - font-size: 2.5rem; - color: var(--primary-text); - font-weight: 700; - letter-spacing: -0.5px; - margin: 0; - } +.container_header h1 { + font-size: 2.5rem; + color: var(--primary-text); + font-weight: 700; + letter-spacing: -0.5px; + margin: 0; } /* Main Container */ @@ -51,23 +41,23 @@ main { /* SVG Container (Left Side) */ #state-svg-container { flex: 0.8; - padding: calc(var(--spacing-unit) * 2); + padding: calc(var(--spacing-unit) * 1); background-color: var(--secondary-bg); border-radius: 8px; box-shadow: var(--shadow-md); +} - h3 { - margin-bottom: calc(var(--spacing-unit) * 1.5); - color: var(--primary-text); - font-size: 1.5rem; - text-align: center; - } +#state-svg-container h3 { + margin-bottom: calc(var(--spacing-unit) * 1.5); + color: var(--primary-text); + font-size: 1.5rem; + text-align: center; +} - #state-svg { - width: 100%; - height: auto; - min-height: 300px; - } +#state-svg { + width: 100%; + height: auto; + min-height: 300px; } /* Right Content */ @@ -76,31 +66,31 @@ main { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 2); +} - img { - width: 100%; - height: auto; - object-fit: cover; - border-radius: 8px; - box-shadow: var(--shadow-md); - } +.right-content img { + width: 100%; + height: auto; + object-fit: cover; + border-radius: 8px; + box-shadow: var(--shadow-md); +} - .content-text { - display: flex; - flex-direction: column; - gap: calc(var(--spacing-unit) * 1.5); - - a { - color: var(--accent-color); - text-decoration: none; - font-weight: 500; - margin-top: var(--spacing-unit); - - &:hover { - text-decoration: underline; - } - } - } +.content-text { + display: flex; + flex-direction: column; + gap: calc(var(--spacing-unit) * 1.5); +} + +.content-text a { + color: var(--accent-color); + text-decoration: none; + font-weight: 500; + margin-top: var(--spacing-unit); +} + +.content-text a:hover { + text-decoration: underline; } /* Info Table */ @@ -111,37 +101,62 @@ main { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); +} - th, - td { - padding: calc(var(--spacing-unit) * 1.2); - border: 1px solid var(--border-color); - color: rgba(46, 41, 55, 0.911); - } +.info-table th, .info-table td { + padding: calc(var(--spacing-unit) * 1.2); + border: 1px solid var(--border-color); + color: rgba(46, 41, 55, 0.911); +} - th { - background: var(--accent-color); - color: black; - text-align: left; - font-size: 1.3rem; - letter-spacing: 0.5px; - } +.info-table th { + background: var(--accent-color); + color: rgb(10, 10, 10); /* Change header text color to white */ + text-align: left; + font-size: 1.4rem; + letter-spacing: 0.5px; +} - tr { - &:nth-child(even) { - background-color: var(--secondary-bg); - } - &:hover { - background-color: color-mix(in srgb, var(--secondary-bg) 80%, var(--accent-color) 20%); - transition: background-color 0.2s ease; - } - } +/* Style for the official website link */ +.info-table th a { + color: white; /* Change link color to white */ + text-decoration: none; + font-weight: 500; + font-size: 1.2rem; +} - td:first-child { - font-weight: 600; - color: var(--primary-text); - width: 30%; - } +.info-table th a:hover { + text-decoration: underline; /* Add underline on hover */ + opacity: 0.8; +} + +.info-table tr:nth-child(even) { + background-color: var(--secondary-bg); +} + +.info-table tr:hover { + background-color: color-mix(in srgb, var(--secondary-bg) 80%, var(--accent-color) 20%); + transition: background-color 0.2s ease; +} + +.info-table td:first-child { + font-weight: 600; + color: var(--primary-text); + width: 30%; +} + +/* Quick Facts Link */ +.info-table .quick-facts-link { + color: #d24d4d; + font-weight: 500; + text-decoration: none; + margin-left: 10px; + display: inline-block; +} + +.info-table .quick-facts-link:hover { + text-decoration: underline; + opacity: 0.8; } /* Error State */ @@ -161,12 +176,11 @@ main { font-size: 2rem; } - #state-svg-container, - .right-content { + #state-svg-container, .right-content { flex: 1; } .info-table { font-size: 0.9rem; } -} +} \ No newline at end of file diff --git a/src/components/Popup.astro b/src/components/Popup.astro index 8e9db3d..f1a2570 100644 --- a/src/components/Popup.astro +++ b/src/components/Popup.astro @@ -99,7 +99,7 @@ const stateName = popupStateName.textContent; if (stateName) { const stateUrl = stateName.replace(/\s+/g, "").toLowerCase(); - window.location.href = `/mapPages/${stateUrl}`; + window.location.href = `/map/${stateUrl}`; } }); diff --git a/src/pages/mapPages/[...state].astro b/src/pages/map/[...state].astro similarity index 69% rename from src/pages/mapPages/[...state].astro rename to src/pages/map/[...state].astro index fd7cebf..1ab4075 100644 --- a/src/pages/mapPages/[...state].astro +++ b/src/pages/map/[...state].astro @@ -28,22 +28,38 @@ const { name, dance, festival, image, svg, wikiLink, description } = stateInfo; {`${dance}
- + + + - + + + + +
Quick Facts
+ Quick Facts + {stateInfo.official_website && ( + <> +
+ + Visit the official website of {name} + + + )} +
Dance Form{dance}
Origin{name}, India
Festival{festival}
Description

{description}

+
Description +

{description}

Read more about {dance} on Wikipedia -
- - Read more about {dance} on Wikipedia - +
diff --git a/src/pages/map.astro b/src/pages/map/index.astro similarity index 100% rename from src/pages/map.astro rename to src/pages/map/index.astro