website refactor
This commit is contained in:
@@ -33,6 +33,7 @@ export function SponsorshipSlotCard({ slot }: SponsorshipSlotCardProps) {
|
||||
rounded="lg"
|
||||
border
|
||||
padding={4}
|
||||
// eslint-disable-next-line gridpilot-rules/component-classification
|
||||
style={{
|
||||
backgroundColor: slot.isAvailable ? 'rgba(16, 185, 129, 0.05)' : 'rgba(38, 38, 38, 0.3)',
|
||||
borderColor: slot.isAvailable ? '#10b981' : '#262626'
|
||||
@@ -56,6 +57,7 @@ export function SponsorshipSlotCard({ slot }: SponsorshipSlotCardProps) {
|
||||
</Stack>
|
||||
|
||||
{!slot.isAvailable && slot.sponsoredBy && (
|
||||
// eslint-disable-next-line gridpilot-rules/component-classification
|
||||
<Box pt={3} style={{ borderTop: '1px solid #262626' }}>
|
||||
<Text size="xs" color="text-gray-400" block mb={1}>Sponsored by</Text>
|
||||
<Text size="sm" weight="medium" color="text-white">{slot.sponsoredBy.name}</Text>
|
||||
|
||||
Reference in New Issue
Block a user