Commit 51ede4f6 authored by isstuev's avatar isstuev

add network name to slise slot id

parent 47423309
......@@ -2,20 +2,22 @@ import { Flex, chakra } from '@chakra-ui/react';
import { SliseAd } from '@slise/embed-react';
import React from 'react';
import appConfig from 'configs/app/config';
const SliseBanner = ({ className }: { className?: string }) => {
return (
<>
<Flex className={ className } h="90px" display={{ base: 'none', lg: 'flex' }}>
<SliseAd
slotId="leaderboard"
slotId={ appConfig.network.name || '' }
pub="pub-10"
format="728x90"
style={{ width: '728px', height: '90px' }}/>
</Flex>
<Flex className={ className } h="90px" display={{ base: 'flex', lg: 'none' }}>
<SliseAd
slotId="leaderboard"
slotId={ appConfig.network.name || '' }
pub="pub-10"
format="270x90"
style={{ width: '270px', height: '90px' }}/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment