Mirror — see github.com/blacksky-algorithms/blacksky.community
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #73 from blacksky-algorithms/stripe

update support page

authored by

ruuuuu.de and committed by
GitHub
d8f3e2ad e28dad57

+10 -9
+1
bskyweb/cmd/bskyweb/server.go
··· 322 322 e.GET("/support/tos", server.WebGeneric) 323 323 e.GET("/support/community-guidelines", server.WebGeneric) 324 324 e.GET("/support/copyright", server.WebGeneric) 325 + e.GET("/return", server.WebGeneric) 325 326 e.GET("/intent/compose", server.WebGeneric) 326 327 e.GET("/intent/verify-email", server.WebGeneric) 327 328 e.GET("/intent/age-assurance", server.WebGeneric)
+2 -2
src/view/screens/Support.tsx
··· 60 60 <View style={[a.pt_md]}> 61 61 <InlineLinkText 62 62 to="https://opencollective.com/blacksky" 63 - label={_(msg`Donate on OpenCollective`)}> 64 - <Trans>Donate on OpenCollective</Trans> 63 + label={_(msg`Support on OpenCollective`)}> 64 + <Trans>Support on OpenCollective</Trans> 65 65 </InlineLinkText> 66 66 </View> 67 67 </View>
+1 -1
src/view/screens/SupportReturn.tsx
··· 91 91 t.atoms.text_contrast_medium, 92 92 ]}> 93 93 <Trans> 94 - Your donation helps us maintain and improve the Blacksky 94 + Your support helps us maintain and improve the Blacksky 95 95 community. 96 96 </Trans> 97 97 </Text>
+6 -6
src/view/screens/SupportStripeCheckout.web.tsx
··· 40 40 const validationError = useMemo(() => { 41 41 if (!amount) return null 42 42 if (isNaN(parseFloat(amount))) return _(msg`Please enter a valid number`) 43 - if (parsedAmount < 5) return _(msg`Minimum donation is $5`) 44 - if (parsedAmount > 1000) return _(msg`Maximum donation is $1,000`) 43 + if (parsedAmount < 5) return _(msg`Minimum support amount is $5`) 44 + if (parsedAmount > 1000) return _(msg`Maximum support amount is $1,000`) 45 45 return null 46 46 }, [amount, parsedAmount, _]) 47 47 ··· 96 96 } 97 97 98 98 const buttonLabel = recurring 99 - ? _(msg`Donate $${parsedAmount.toFixed(2)}/mo`) 100 - : _(msg`Donate $${parsedAmount.toFixed(2)}`) 99 + ? _(msg`Support $${parsedAmount.toFixed(2)}/mo`) 100 + : _(msg`Support $${parsedAmount.toFixed(2)}`) 101 101 102 102 return ( 103 103 <View ··· 110 110 a.gap_lg, 111 111 ]}> 112 112 <Text style={[a.text_lg, a.font_bold]}> 113 - <Trans>Donate with Card</Trans> 113 + <Trans>Support with Card</Trans> 114 114 </Text> 115 115 116 116 <View style={[a.flex_row, a.gap_sm, a.flex_wrap]}> ··· 156 156 </View> 157 157 158 158 <SegmentedControl.Root 159 - label={_(msg`Donation frequency`)} 159 + label={_(msg`Support frequency`)} 160 160 type="radio" 161 161 value={recurring ? 'monthly' : 'one-time'} 162 162 onChange={handleFrequencyChange}>