Skip to content

Commit

Permalink
feat: adds schedule page
Browse files Browse the repository at this point in the history
  • Loading branch information
joicemjoseph committed Nov 15, 2024
1 parent d035e32 commit ff1d7f4
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 48 deletions.
41 changes: 4 additions & 37 deletions src/components/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,8 @@ export default function Navbar() {
</div>
<div className="hidden text-[#2b2b2b] font-semibold md:flex space-x-4">
{/* Add your navigation links here */}
<NavbarButton isMobile={false} link="/" text="HOME" />
<NavbarButton isMobile={false} link="/sotm" text="SOTM '24" />
<NavbarButton isMobile={false} link="/about" text="ABOUT US" />
<NavbarButton
isMobile={false}
link="/mapathon-keralam-osm-community-statement"
text="COMMUNITY"
/>
<NavbarButton isMobile={false} link="/blogs" text="BLOGS" />
<NavbarButton
isMobile={false}
link="/maintainers"
text="MAINTAINERS"
/>
<NavbarButton isMobile={false} link="/" text="Home" />
<NavbarButton isMobile={false} link="/schedule" text="Schedule" />
</div>
<div className="md:hidden">
<button
Expand Down Expand Up @@ -81,31 +69,10 @@ export default function Navbar() {
<div className="absolute top-13 right-5 text-semiblod flex-col text-right w-fit justify-self-end rounded-lg bg-[#09471a] text-[#ffffff]">
{/* Add your mobile navigation links here */}
<div className="m-2 p-2 mr-8">
<NavbarButton isMobile={true} link="/" text="HOME" />
<NavbarButton isMobile={true} link="/" text="Home" />
</div>
<div className="m-2 p-2 mr-8">
<NavbarButton isMobile={true} link="/sotm" text="SOTM '24" />
</div>
<div className="m-2 p-2 mr-8">
<NavbarButton isMobile={true} link="/blogs" text="BLOGS" />
</div>
<div className="m-2 p-2 mr-8">
<NavbarButton isMobile={true} link="/about" text="ABOUT US" />
</div>

<div className="m-2 p-2 mr-8">
<NavbarButton
isMobile={true}
link="/mapathon-keralam-osm-community-statement"
text="COMMUNITY"
/>
</div>
<div className="m-2 p-2 mr-8">
<NavbarButton
isMobile={true}
link="/maintainers"
text="MAINTAINERS"
/>
<NavbarButton isMobile={true} link="/schedule" text="Schedule" />
</div>
</div>
)}
Expand Down
7 changes: 4 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ interface Props {
title: string;
}
const { title } = Astro.props;
import Footer from '../components/elements/footer.astro';
// import Navbar from '../components/navbar.jsx';
import Navbar from '../components/navbar.jsx';
const { title } = Astro.props;
---

<!doctype html>
Expand All @@ -19,7 +20,7 @@ import Footer from '../components/elements/footer.astro';
<title>{title}</title>
</head>
<body>
<!--<Navbar client:load /> -->
<Navbar />
<slot />
<Footer/>
</body>
Expand Down
130 changes: 122 additions & 8 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Layout from "../layouts/Layout.astro";
const meta = {
title: "State of the Map Kerala 2024 - OpenStreetMap Kerala",
title: "State of the Map Kerala 2024",
description: "Join Kerala's largest mapping community gathering on November 16-17, 2024 at KVASU Wayanad. Two days of learning, sharing, and collaboration to shape the future of open mapping in Kerala.",
image: "https://wiki.openstreetmap.org/w/images/8/84/Sotm_kerala_2024.jpg", // Update with your actual banner image URL
url: "https://kerala.openstreetmap.in/sotm",
Expand Down Expand Up @@ -32,6 +32,11 @@ const sponsors = {
name: "FOSS United",
url: "https://fossunited.org/",
logo: "https://fossunited.org/files/Foss%20United%20Logo%20Black.svg"
},
{
"name": "Grab Maps",
"url": "https://grabmaps.grab.com/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/6/67/Grabmaps.svg/200px-Grabmaps.svg.png"
}
],
bronze: [
Expand All @@ -48,18 +53,92 @@ const sponsors = {
]
};
const organizingPartners = [
{
"name": "College of Veterinary Science, KVASU",
"url": "https://www.kvasu.ac.in/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/6/61/College_of_Veterinary_Science%2C_KVASU.png/250px-College_of_Veterinary_Science%2C_KVASU.png"
}
];
const facilitators = [
{
"name": "Sahya Digital Conservation Foundation",
"url": "https://sahya.org.in/",
"logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c0/SDCF-Logo.svg/150px-SDCF-Logo.svg.png"
},
{
"name": "Open Data Kerala",
"url": "https://opendatakerala.org/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/c/c0/Geominds.png/150px-Geominds.png"
}
];
const communityPartners = [
{
name: "OpenStreetMap India",
logo: "https://wiki.openstreetmap.org/w/images/0/07/OpenStreetMap-India.svg"
"name": "Open Data Kerala",
"url": "https://opendatakerala.org/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/9/95/ODK_logo.png/80px-ODK_logo.png"
},
{
"name": "OpenStreetMap India Community",
"url": "https://openstreetmap.in/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/0/07/OpenStreetMap-India.svg/90px-OpenStreetMap-India.svg.png"
},
{
"name": "Swathanthra Malayalam Computing",
"url": "https://smc.org.in/",
"logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/SMC_logo.png/75px-SMC_logo.png"
},
{
"name": "Wikimedians of Kerala",
"url": "https://meta.wikimedia.org/wiki/Wikimedians_of_Kerala",
"logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Wikimedians_of_Kerala_User_Group.svg/110px-Wikimedians_of_Kerala_User_Group.svg.png"
},
{
"name": "NSS Unit CVAS",
"url": "#",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/d/d6/NSS-CVAS_Unit.jpeg/80px-NSS-CVAS_Unit.jpeg"
},
{
"name": "TinkerHub Foundation",
"url": "https://tinkerhub.org/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/d/d7/Tinkerhub_Logo.png/100px-Tinkerhub_Logo.png"
},
{
"name": "ICT Academy Kerala",
"url": "https://ictkerala.org/",
"logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/ICT_Academy_Kerala.webp/80px-ICT_Academy_Kerala.webp.png"
},
{
"name": "ICFOSS",
"url": "https://icfoss.in/",
"logo": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/ICFOSS_logo.png/100px-ICFOSS_logo.png"
},
{
"name": "KITE",
"url": "https://kite.kerala.gov.in/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/4/46/Kite_logo.png/100px-Kite_logo.png"
},
{
"name": "Ferns Nature Conservation Society",
"url": "https://ferns.org.in/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/8/88/Ferns_logo.jpg/80px-Ferns_logo.jpg"
},
{
name: "Swathanthra Malayalam Computing",
logo: "https://smc.org.in/images/logo.webp"
"name": "Free Software Community of India",
"url": "https://fsci.in/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/7/7e/Fscilogo.svg/100px-Fscilogo.svg.png"
},
{
name: "Open Data Kerala",
logo: "https://opendatakerala.org/logo.png"
"name": "FSUG Wayanad",
"url": "https://fsugwayanad.gitlab.io/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/4/4f/Fsug-wayanad-unified.svg/100px-Fsug-wayanad-unified.svg.png"
},
{
"name": "Humanitarian OSM Team",
"url": "https://www.hotosm.org/",
"logo": "https://wiki.openstreetmap.org/w/images/thumb/1/11/HOT_logo_with_red_text_rgb.png/120px-HOT_logo_with_red_text_rgb.png"
}
];
Expand Down Expand Up @@ -297,13 +376,48 @@ const socials = [
</div>
</div>

<!-- Organizing Partners -->
<div>
<h3 class="text-lg font-semibold mb-6 text-center text-gray-600">Organizing Partner</h3>
<div class="flex justify-center">
{organizingPartners.map(partner => (
<a
href={partner.url}
class="bg-slate-100 p-8 rounded-lg shadow-sm hover:shadow-md transition-shadow flex items-center justify-center"
target="_blank"
>
<img src={partner.logo} alt={partner.name} class="h-8" />
</a>
))}
</div>

<div>
<h3 class="text-lg font-semibold mb-6 text-center text-gray-600">Organizing Partner</h3>
<div class="flex justify-center">
{facilitators.map(partner => (
<a
href={partner.url}
class="bg-slate-100 p-8 rounded-lg shadow-sm hover:shadow-md transition-shadow flex items-center justify-center"
target="_blank"
>
<img src={partner.logo} alt={partner.name} class="h-8" />
</a>
))}
</div>

<!-- Community Partners -->
<div>
<h3 class="text-lg font-semibold mb-6 text-center text-gray-600">Community Partners</h3>
<div class="grid grid-cols-2 md:grid-cols-3 gap-6 max-w-3xl mx-auto">
{communityPartners.map(partner => (
<div class="bg-slate-100 p-6 rounded-lg shadow-sm flex items-center justify-center">
<img src={partner.logo} alt={partner.name} class="h-8" />
<a
href={partner.url}
class="bg-slate-100 p-8 rounded-lg shadow-sm hover:shadow-md transition-shadow flex items-center justify-center"
target="_blank"
>
<img src={partner.logo} alt={partner.name} class="h-8" />
</a>
</div>
))}
</div>
Expand Down
Loading

0 comments on commit ff1d7f4

Please sign in to comment.