Skip to content

Commit

Permalink
ads: switch to auto-ads
Browse files Browse the repository at this point in the history
  • Loading branch information
GGonryun committed Oct 4, 2024
1 parent 4656878 commit accee29
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 26 deletions.
12 changes: 0 additions & 12 deletions libs/data/tasks/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,18 +690,6 @@ export const TASKS: Prisma.TaskUncheckedCreateInput[] = [
'Earn rewards for every 5 minutes you play a game on Charity Games.',
data: {},
},
{
version: 1,
id: 'PLAY_GAME_INFINITE',
type: TaskType.PLAY_GAME,
category: TaskCategory.GAMEPLAY,
frequency: TaskFrequency.INFINITE,
requiredRepetitions: 1,
maxRepetitions: MAX_INT,
name: 'Play a Game',
description: 'Start a game and earn tokens for playing on Charity Games.',
data: {},
},
{
version: 1,
id: 'ADD_FRIEND_INFINITE',
Expand Down
5 changes: 0 additions & 5 deletions libs/ui/pages/arcade/src/lib/components/arcade-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Box, Container } from '@mui/material';
import { HorizontalAdvertisement } from '@worksheets/ui/components/advertisements';
import { Categories } from '@worksheets/ui/components/categories';
import {
GameCarousel,
Expand Down Expand Up @@ -57,16 +56,12 @@ export const ArcadeScreen: React.FC<{
<GameCarousel title="Recently Played" items={props.recentGames} />
)}

<HorizontalAdvertisement slot={'9668602578'} />

<GameCarousel title="Best Games" items={props.topGames} />

<GameCarousel title="Newest Games" items={props.newGames} />

{props.topBattles}

<HorizontalAdvertisement slot={'4318442660'} />

<GamesGroup
title="All Games"
header={<RandomGameButton />}
Expand Down
3 changes: 0 additions & 3 deletions libs/ui/pages/game/src/lib/components/game-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Box, Paper, styled } from '@mui/material';
import Container from '@mui/material/Container';
import { HorizontalAdvertisement } from '@worksheets/ui/components/advertisements';
import {
Game,
GamesGroup,
Expand Down Expand Up @@ -81,8 +80,6 @@ export const GameScreen: FC<GameScreenProps> = ({
</PaperSidebar>
</Box>

<HorizontalAdvertisement slot={'2284936571'} />

<CreateAccountBanner
enabled={status === 'unauthenticated'}
href={gameRedirectLogin(game.id)}
Expand Down
2 changes: 0 additions & 2 deletions libs/ui/pages/prizes/src/lib/prizes-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { CardGiftcardOutlined, PlayCircleOutline } from '@mui/icons-material';
import { Button, Container, Paper, Typography } from '@mui/material';
import { routes } from '@worksheets/routes';
import { trpc } from '@worksheets/trpc-charity';
import { HorizontalAdvertisement } from '@worksheets/ui/components/advertisements';
import { Column, Row } from '@worksheets/ui/components/flex';
import { ErrorScreen } from '@worksheets/ui/pages/errors';
import { LoadingScreen } from '@worksheets/ui/pages/loading';
Expand Down Expand Up @@ -81,7 +80,6 @@ export const PrizesContainer: React.FC = () => {
>
<ResetNotice />
</Paper>
<HorizontalAdvertisement slot="3430497289" />
<Paper
sx={{
background: (theme) => theme.palette.background['solid-blue'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { NavigateBefore } from '@mui/icons-material';
import { Button, Container, Typography } from '@mui/material';
import { routes } from '@worksheets/routes';
import { HorizontalAdvertisement } from '@worksheets/ui/components/advertisements';
import { RaffleSchema } from '@worksheets/util/types';
import React from 'react';

Expand Down Expand Up @@ -40,7 +39,6 @@ export const RaffleScreen: React.FC<{
onShare={onShare}
/>
</Container>
<HorizontalAdvertisement slot={'6739186907'} />

<RaffleDescription raffle={raffle} onShare={onShare} />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { NavigateNext } from '@mui/icons-material';
import { Button } from '@mui/material';
import { routes } from '@worksheets/routes';
import { HorizontalAdvertisement } from '@worksheets/ui/components/advertisements';
import {
RaffleCarousel,
RafflesGroup,
Expand Down Expand Up @@ -37,7 +36,6 @@ export const RaffleContents: React.FC<{
}
/>
)}
<HorizontalAdvertisement slot={'2215023507'} />
<RafflesGroup
title={'Raffles'}
action={
Expand Down

0 comments on commit accee29

Please sign in to comment.