Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to dates, and finalists component #112

Merged
merged 7 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/images/finalists/final/afra.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 src/assets/images/finalists/final/aloka.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 src/assets/images/finalists/final/ami.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 src/assets/images/finalists/final/neela.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 src/assets/images/finalists/final/thulasi.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 src/assets/logos/NESTLElogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/components/CompetitionTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,24 @@
name: "Preliminary Round",
date: "19th January, 2025",
upcoming : false,
lineStyle: 'bg-gradient-to-b from-[#edc00133] to-[#edc001]',
lineStyle: 'bg-[#edc00133]',
diamondStyle: 'bg-[#594d1b]',
},
{
id : 2,
name: "Semi Finals",
date: "9th February, 2025",
upcoming : true,
lineStyle: 'bg-gradient-to-b from-[#edc001] to-[#edc00133]',
diamondStyle: 'color-pulse',
upcoming : false,
lineStyle: 'bg-gradient-to-b from-[#edc00133] to-[#edc001]',
diamondStyle: 'bg-[#594d1b]',
},
{
id : 3,
name: "Finals",
date: "To be Decided",
upcoming : false,
lineStyle: 'bg-gradient-to-b from-[#edc001] to-gray-600/50',
diamondStyle: 'bg-[#594d1b]',
date: "20th February, 2025",
upcoming : true,
lineStyle: 'bg-gradient-to-b from-[#edc00133] to-[#edc001]',
diamondStyle: 'color-pulse',
},
]);

Expand Down
15 changes: 12 additions & 3 deletions src/components/sponsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

<div v-for="type in ['Gold', 'Silver', 'Bronze']" :key="type" class="mb-8">
<template v-if="getSponsorsByType(type).length > 0">
<h2 class="text-xl lg:text-2xl font-semibold text-gray-300 mb-4">{{ type }} Sponsor</h2>
<h2 class="text-xl lg:text-2xl font-semibold text-gray-300 mb-4" :class="type === 'Gold' ? 'text-yellow-400' : type === 'Silver' ? 'text-gray-200' : 'text-orange-400'">{{ type }} Sponsor</h2>
<div class="grid grid-cols-1 sm:grid-cols-1 lg:grid-cols-2 gap-6">
<div v-for="sponsor in getSponsorsByType(type)" :key="sponsor.id" class="sponsor-box col-span-1">
<div class="backdrop-brightness-150 rounded-lg shadow-lg p-4 transition duration-300 ease-in-out transform w-full h-full border border-gray-700">
<div class="w-full h-full flex flex-col items-center justify-center">
<img v-if="sponsor.name !== 'mystery'" :src="sponsor.imageUrl" :alt="sponsor.name" class="w-full object-contain">
<img v-if="sponsor.name !== 'mystery'" :src="sponsor.imageUrl" :alt="sponsor.name" class="w-full object-contain" :class="sponsor.bgStyle">
<svg v-else xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-question mb-4">
<path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/>
<path d="M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3"/>
Expand All @@ -38,13 +38,22 @@
<script setup>
import { ref } from 'vue'
import combankLogo from '../assets/logos/combanklogo.png'
import nestle from '../assets/logos/NESTLElogo.png'

const sponsors = ref([
{
id: 1,
name: 'Commercial Bank',
imageUrl: combankLogo,
partnershipType: 'Silver'
partnershipType: 'Silver',
bgStyle : "",
},
{
id: 2,
name: 'Nestlé',
imageUrl: nestle,
partnershipType: 'Gold',
bgStyle : "bg-white",
}
])
const getSponsorsByType = (type) => {
Expand Down
Loading