mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
feat: added some ad
This commit is contained in:
parent
27f07cf7d6
commit
03293276ad
@ -4,6 +4,7 @@ import dynamic from 'next/dynamic'
|
||||
import { categories, categoryIcon } from '@utils/Constants'
|
||||
|
||||
const Container = dynamic(() => import('@components/Container'))
|
||||
const Advertisement = dynamic(() => import('@components/Advertisement'))
|
||||
const Tag = dynamic(() => import('@components/Tag'))
|
||||
const SEO = dynamic(() => import('@components/SEO'))
|
||||
const Segment = dynamic(() => import('@components/Segment'))
|
||||
@ -21,6 +22,7 @@ const Categories:NextPage = () => {
|
||||
}
|
||||
</div>
|
||||
</Segment>
|
||||
<Advertisement />
|
||||
</Container>
|
||||
}
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@ const New:NextPage<NewProps> = ({ data }) => {
|
||||
data.data.map(bot => <BotCard key={bot.id} bot={bot} /> )
|
||||
}
|
||||
</div>
|
||||
<Advertisement />
|
||||
</Container>
|
||||
</>
|
||||
}
|
||||
|
||||
@ -30,7 +30,9 @@ const Votes:NextPage<VotesProps> = ({ data }) => {
|
||||
}
|
||||
</div>
|
||||
<Paginator totalPage={data.totalPage} currentPage={data.currentPage} pathname='/list/votes' />
|
||||
</Container></>
|
||||
<Advertisement />
|
||||
</Container>
|
||||
</>
|
||||
}
|
||||
export const getServerSideProps = async (ctx:Context) => {
|
||||
let data: BotList
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user