File tree Expand file tree Collapse file tree 5 files changed +26
-2
lines changed Expand file tree Collapse file tree 5 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const {
1616 name : title,
1717 url : website,
1818 tier,
19+ event_name,
1920 logo_padding = false ,
2021} = sponsor .data ;
2122
@@ -27,7 +28,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
2728<div
2829 class =" lg:max-w-[400px] flex flex-col p-6 bg-white"
2930>
30- <div class =" w-full flex justify-center items-center md:items-center" >
31+ <div class =" w-full grid text-center justify-center items-center md:items-center" >
3132 {
3233 website && slug ? (
3334
@@ -56,5 +57,8 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
5657 }}
5758 />
5859 }
60+ { tier == " Special Event" && event_name &&
61+ <span class = " " >{ event_name } </span >
62+ }
5963 </div >
6064</div >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ const tiers = [
1717 " Startups" ,
1818 " Bronze" ,
1919 " Patron" ,
20+ " Special Event" ,
2021 " Financial Aid" ,
2122 " Supporters" ,
2223 " Partners" ,
@@ -77,7 +78,7 @@ const sponsorTiers = tiers
7778 {
7879 sponsorTiers .map ((tier , index ) => (
7980 <Fragment >
80- <SponsorTier tier = { tier } level = { index } />
81+ <SponsorTier tier = { tier } level = { index } />
8182 { index !== sponsorTiers .length - 1 && <hr />}
8283 </Fragment >
8384 ))
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ const sponsors = defineCollection({
226226 youtube : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
227227 } )
228228 . optional ( ) ,
229+ event_name : z . string ( ) . optional ( ) . nullable ( ) ,
229230 logo_padding : z . string ( ) . optional ( ) ,
230231 draft : z . boolean ( ) . optional ( ) . default ( false ) ,
231232 jobs : z . array ( reference ( "jobs" ) ) . optional ( ) . default ( [ ] ) ,
Original file line number Diff line number Diff line change 1+ ---
2+ name : " Anaconda"
3+ url : " https://.com"
4+ location : " "
5+ industry : " "
6+ description : " asda"
7+ socials :
8+ linkedin :
9+ twitter :
10+ github :
11+ discord :
12+ mastodon :
13+ bluesky :
14+ tier : Special Event
15+ event_name : Open Spaces & Sprints
16+ logo_padding : 30px 10px
17+ ---
You can’t perform that action at this time.
0 commit comments