feat: responsive ads

This commit is contained in:
TrèsAbhi committed 2024-06-13 13:26:12 -05:00
1 parent b4173e780b
commit 84929f9732
6 files changed
+108 -19

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { Flex, FlexProps } from '@radix-ui/themes';
import { Ad, AdType } from './Ad';
export function AdMidSectionNarrowOnly(props: FlexProps) {
return (
<Flex
justify="center"
py="4"
gap="4"
display={{
initial: 'flex',
sm: 'none',
}}
{...props}
>
<Ad type={AdType.MediumRectangleHorizontalPurple} />
</Flex>
);
}