File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ import { Title } from "../typography/title";
33import Ribbon from " ./ribbon.astro" ;
44import ButtonLink from " ../button-link/button-link.astro"
55
6+ interface Props {
7+ signupLink: string ;
8+ }
9+
10+ const { signupLink = " #" } = Astro .props ;
11+
612interface SponsorTierProps {
713 title: string ;
814 totalSlots? : number | null | string ;
@@ -200,7 +206,7 @@ const formatPrice = (price: number | string) => {
200206 ))}
201207 </ul >
202208 <div class = " absolute bottom-4 right-4" >
203- <ButtonLink url = " undefined " >Sign Up Now!</ButtonLink >
209+ <ButtonLink url = { signupLink } >Sign Up Now!</ButtonLink >
204210 </div >
205211
206212 </div >
@@ -248,8 +254,8 @@ const formatPrice = (price: number | string) => {
248254 ))}
249255 </ul >
250256 <div class = " absolute bottom-4 right-4" >
251- <ButtonLink url = " undefined " >Sign Up Now!</ButtonLink >
252- </div >
257+ <ButtonLink url = { signupLink } >Sign Up Now!</ButtonLink >
258+ </div >
253259 </div >
254260 ))}
255261 </div >
@@ -294,8 +300,8 @@ const formatPrice = (price: number | string) => {
294300 ))}
295301 </ul >
296302 <div class = " absolute bottom-4 right-4" >
297- <ButtonLink url = " undefined " >Sign Up Now!</ButtonLink >
298- </div >
303+ <ButtonLink url = { signupLink } >Sign Up Now!</ButtonLink >
304+ </div >
299305 </div >
300306 ))}
301307 </div >
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ supporting the Python community is accessible for organisations of all sizes.
5252</div >
5353
5454
55- <SponsorTiers />
56-
55+ <SponsorTiers signupLink = " undefined" />
5756
5857## Optional Add-ons
5958
You can’t perform that action at this time.
0 commit comments