-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from clubcapra/107-update-sponsors
add new sponsors with new tiers
- Loading branch information
Showing
18 changed files
with
240 additions
and
56 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,61 @@ | ||
<script setup lang="ts"> | ||
import { | ||
principalPartners, | ||
platinumPartners, | ||
goldPartners, | ||
silverPartners, | ||
bronzePartners, | ||
} from '@clubcapra/data/partners'; | ||
const partnersTiers = [ | ||
{ | ||
title: 'partner_principal', | ||
partners: principalPartners, | ||
class: 'md:w-5/12', | ||
}, | ||
{ | ||
title: 'partner_platinum', | ||
partners: platinumPartners, | ||
class: 'md:w-5/12', | ||
}, | ||
{ | ||
title: 'partner_gold', | ||
partners: goldPartners, | ||
class: 'md:w-4/12 w-2/3', | ||
}, | ||
{ | ||
title: 'partner_silver', | ||
partners: silverPartners, | ||
class: 'md:w-3/12 w-1/2', | ||
}, | ||
{ | ||
title: 'partner_bronze', | ||
partners: bronzePartners, | ||
class: 'md:w-2/12 w-1/3', | ||
}, | ||
]; | ||
</script> | ||
|
||
<template> | ||
<section class="container px-4 mx-auto pt-20"> | ||
<div class="pt-10"> | ||
<h2 class="font-bold font-sans text-4xl md:text-5xl text-center"> | ||
{{ $t('partner_gold') }} | ||
</h2> | ||
<div | ||
class="flex flex-col md:flex-row md:flex-wrap items-center justify-center py-5 gap-4" | ||
> | ||
<template v-for="(partner, key) in goldPartners" :key="key"> | ||
<img :src="partner.img" :alt="partner.name" class="md:w-1/3" /> | ||
</template> | ||
</div> | ||
</div> | ||
|
||
<div class="pt-10"> | ||
<h2 class="font-bold font-sans text-4xl md:text-5xl text-center"> | ||
{{ $t('partner_silver') }} | ||
</h2> | ||
<div | ||
class="flex flex-col md:flex-row md:flex-wrap items-center justify-center py-5 gap-4" | ||
> | ||
<template v-for="(partner, key) in silverPartners" :key="key"> | ||
<img :src="partner.img" :alt="partner.name" class="md:w-1/4 w-3/4" /> | ||
</template> | ||
</div> | ||
</div> | ||
<div class="pt-10 pb-20"> | ||
<h2 class="font-bold font-sans text-4xl md:text-5xl text-center"> | ||
{{ $t('partner_bronze') }} | ||
</h2> | ||
<div | ||
class="flex flex-col md:flex-row md:flex-wrap items-center justify-center py-5 gap-4" | ||
> | ||
<template v-for="(partner, key) in bronzePartners" :key="key"> | ||
<img :src="partner.img" :alt="partner.name" class="md:w-1/5 w-1/3" /> | ||
</template> | ||
<template v-for="(tier, tierKey) in partnersTiers" :key="tierKey"> | ||
<div v-if="tier.partners.length" class="pt-10"> | ||
<h2 class="font-bold font-sans text-4xl md:text-5xl text-center"> | ||
{{ $t(tier.title) }} | ||
</h2> | ||
<div | ||
class="flex flex-col md:flex-row md:flex-wrap items-center justify-center py-5 gap-4" | ||
> | ||
<template | ||
v-for="(partner, partnerKey) in tier.partners" | ||
:key="partnerKey" | ||
> | ||
<a :class="tier.class" :href="partner.url" target="_blank"> | ||
<img :src="partner.img" :alt="partner.name" /> | ||
</a> | ||
</template> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
</section> | ||
</template> |