Skip to content

Commit

Permalink
Improvements to the Sponsors Page.
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelligentBeaver committed Sep 16, 2024
1 parent c7a4647 commit 7f1b047
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 39 deletions.
Binary file added assets/sponsors/LeapFrog1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sponsors/LibreOffice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sponsors/Red Flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions css/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,18 @@ video {
min-height: 100vh;
}

.min-h-20 {
min-height: 5rem;
}

.min-h-24 {
min-height: 6rem;
}

.min-h-36 {
min-height: 9rem;
}

.w-1 {
width: 0.25rem;
}
Expand Down
83 changes: 44 additions & 39 deletions js/partners.js
Original file line number Diff line number Diff line change
@@ -1,60 +1,41 @@
const sponsorsData = [
{
title: "Event Sponsor",
name: "Leapfrog",
image: "/assets/sponsors/Leapfrog.svg",
link: "https://www.lftechnology.com/",
},
{
title: "Primary Organizer",
name: "NOSK",
image: "/assets/shared/nosk_logo.svg",
link: "https://nosk.org.np/",
},
{
title: "Primary Supporter",
title: "Gold Sponsor",
name: "Nepal College of Information Technology",
image: "/assets/sponsors/NCIT.jpg",
link: "https://ncit.edu.np/",
},

{
title: "Event Sponsor",
title: "Silver Sponsor",
name: "rEngine",
image: "/assets/sponsors/rengine.png",
link: "https://rengine.wiki/",
},
{
title: "Career Partner",
name: "Mero Job",
image: "/assets/sponsors/Mero Job.jpg",
link: "https://merojob.com/",
title: "Bronze Sponsor",
name: "Leapfrog",
image: "/assets/sponsors/LeapFrog1.png",
link: "https://www.lftechnology.com/",
},
{
title: "Community Partner",
name: "Rotaract Club of Balaju",
image: "/assets/sponsors/Rotaract Club Of Balaju.png",
link: "https://www.instagram.com/rotaractbalajuofficial/",
title: "Supporting Partner",
name: "Mero Job (Career Partner)",
image: "/assets/sponsors/Mero Job.jpg",
link: "https://merojob.com/",
},
{
title: "Community Partner",
name: "Rotaract Club of Dillibazar-Kathmandu",
image: "/assets/sponsors/Logo_Club_And_Serving_Mankind.png",
link: "https://www.instagram.com/rotaractdillibazar_ktm/",
title: "Supporting Partner",
name: "Libre Office",
image: "/assets/sponsors/LibreOffice.png",
link: "https://www.libreoffice.org/",
},
{
title: "Community Partner",
name: "Rotaract Club of Gyaneshwor, CiST",
image: "/assets/sponsors/RAC_Gyaneswor_CiST, Logo.png",
link: "https://www.instagram.com/racgyanesworcist/",
title: "Supporting Partner",
name: "GitHub Campus Expert",
image: "/assets/sponsors/Red Flag.png",
link: "https://githubcampus.expert/",
},
{
title: "Community Partner",
name: "Rotaract Club of Patan West",
image: "/assets/sponsors/patan_west-1.png",
link: "https://www.instagram.com/rotaractclubofpatanwest/",
},

{
title: "Co-Organizing Partner",
name: "Birendra Open Source Club",
Expand All @@ -73,6 +54,30 @@ const sponsorsData = [
image: "/assets/sponsors/TriChandra Research Group.jpg",
link: "https://www.facebook.com/TriChandraResearchGroup/",
},
{
title: "Other Partner",
name: "Rotaract Club of Balaju",
image: "/assets/sponsors/Rotaract Club Of Balaju.png",
link: "https://www.instagram.com/rotaractbalajuofficial/",
},
{
title: "Other Partner",
name: "Rotaract Club of Dillibazar-Kathmandu",
image: "/assets/sponsors/Logo_Club_And_Serving_Mankind.png",
link: "https://www.instagram.com/rotaractdillibazar_ktm/",
},
{
title: "Other Partner",
name: "Rotaract Club of Gyaneshwor, CiST",
image: "/assets/sponsors/RAC_Gyaneswor_CiST, Logo.png",
link: "https://www.instagram.com/racgyanesworcist/",
},
{
title: "Other Partner",
name: "Rotaract Club of Patan West",
image: "/assets/sponsors/patan_west-1.png",
link: "https://www.instagram.com/rotaractclubofpatanwest/",
},

{
title: "Volunteering Partner",
Expand Down Expand Up @@ -111,12 +116,12 @@ sponsorsData.forEach((sponsor) => {
card.className =
"sponsor-card flex max-w-64 flex-col justify-between gap-3 rounded-3xl bg-white p-4 rounded-xl hover:shadow-xl";
card.innerHTML = `
<div class="sponsor-image max-w-full max-h-full my-auto flex items-start justify-center">
<div class="sponsor-image max-w-full max-h-full min-h-36 my-auto flex items-center justify-center">
<a href="${link}">
<img
src="${image}"
alt="${name}"
class="max-w-full max-h-full min-w-48 object-cover"
class="max-w-full max-h-full min-w-48 object-cover"
/>
</a>
</div>
Expand Down

0 comments on commit 7f1b047

Please sign in to comment.