From a82131436b1baf6dab90ef1436ddeb43a3ed5595 Mon Sep 17 00:00:00 2001 From: Manurbhav Date: Sun, 28 Apr 2024 21:47:31 +0530 Subject: Some refactorings --- src/components/Carousel.astro | 2 +- src/components/Footer.astro | 110 +++++++++++++-- src/components/Header.astro | 72 +++++----- src/components/HomeBody.astro | 278 +++++++++++++++++++++++++++++++------ src/components/IconBar.astro | 4 - src/components/Navbar.astro | 16 +-- src/components/ResourcesBody.astro | 10 +- src/components/ScheduleBody.astro | 4 +- src/components/TestNavbar.astro | 168 ---------------------- src/components/TopBar.astro | 120 ++++++++++------ src/layouts/Layout.astro | 3 +- src/pages/index.astro | 2 +- 12 files changed, 475 insertions(+), 314 deletions(-) delete mode 100644 src/components/TestNavbar.astro diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro index b848510..76ef582 100644 --- a/src/components/Carousel.astro +++ b/src/components/Carousel.astro @@ -135,7 +135,7 @@ const carouselSlide: Carousel[] = [ @media screen and (max-width: 868px){ .gallery div{ - grid-gap: 20px; + grid-gap: 70px; } /* #backBtn, #nextBtn{ margin: 0; diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 55edea7..aa38cfb 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,37 +1,113 @@ --- + +interface aboutList { + name: string; + link: string; +} + +interface footerContent { + about: aboutList[]; + 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' + } + ] +} + ---