{accordion.heading}
diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro
index 00abc04..3eb579e 100644
--- a/src/components/Carousel.astro
+++ b/src/components/Carousel.astro
@@ -1,53 +1,12 @@
---
+import carouselJson from '../../public/jsonData/carousel.json'
interface Carousel{
img: string;
alt: string;
link?: string;
}
-const carouselSlide: Carousel[] = [
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/iitb-logo.png',
- alt: 'IITB' ,
- link:'http://iitb.ac.in/'
- },
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/fossee-logo.png',
- alt: 'FOSSEE' ,
- link:'https://fossee.in/'
- },
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/st-logo.png',
- alt: 'Spoken Tutorial' ,
- link:'https://spoken-tutorial.org/'
- },
- {
- img: 'https://iot-gis-hackathon.fossee.in/static/cms/uploads/images/icfoss-logo.png',
- alt: 'icfoss'
- },
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/rudra-logo.png',
- alt: 'Rudra',
- link : 'http://www.rudra.iitb.ac.in/',
- },
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/iit-tirupati.png',
- alt: 'IIT Tirupati' ,
- link:'https://www.iittp.ac.in/'
- },
- {
- img: 'https://iitb-fossee-mapathon.fossee.in/static/cms/uploads/images/navavishkaar.png',
- alt: 'IITTNiF' ,
- link:'https://iittnif.com/'
- },
- {
- img: 'https://iot-gis-hackathon.fossee.org/static/cms/uploads/images/NM-ICPS-logo1.png',
- alt: 'NMICPS' ,
- link:'https://nmicps.in/'
- },
-];
-
-
+const carouselData : Carousel[] = carouselJson;
---
@@ -56,7 +15,7 @@ const carouselSlide: Carousel[] = [
-->
{
- carouselSlide.slice(4).map((slide) => {
+ carouselData.slice(4).map((slide) => {
return (
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index aa38cfb..0bc5abf 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -1,5 +1,5 @@
---
-
+import footerJson from '../../public/jsonData/footer.json'
interface aboutList {
name: string;
link: string;
@@ -10,49 +10,7 @@ interface footerContent {
resources: aboutList[];
}
-const footerData: footerContent = {
- about: [
- {
- name: 'IIT Bombay',
- link: 'https://www.iitb.ac.in/'
- },
- {
- name: 'FOSSEE',
- link: 'https://fossee.in/'
- },
- {
- name: 'NMEICT',
- link: 'https://www.nmeict.ac.in/'
- },
- {
- name: 'The RuDRA Lab',
- link: 'https://www.rudra.iitb.ac.in/'
- },
- {
- name: 'IITTNiF',
- link: 'https://www.iittnif.org/'
- },
- {
- name: 'ICFOSS',
- link: 'https://www.icfoss.in/'
- },
- {
- name: 'Spoken Tutorial',
- link: 'https://spoken-tutorial.org/'
- }
- ],
- resources: [
- {
- name: 'QGIS',
- link: 'https://qgis.org/en/site/forusers/download.html'
- },
- {
- name: 'Spoken Tutorials - FOSSEE - GIS',
- link: 'https://spoken-tutorial.org/tutorial-search/?search_foss=QGIS&search_language=English'
- }
- ]
-}
-
+const footerData : footerContent = footerJson;
---