Skip to content

Commit

Permalink
[RN-93] 주점 배너 삭제 (#530)
Browse files Browse the repository at this point in the history
# Key Changes

- 주점 이벤트 종료에 따라 주점 배너의 이미지와 url을 삭제했습니다.

# Closes Issue

close #523
  • Loading branch information
eunbae0 authored Jun 9, 2024
1 parent eeb8203 commit 7b35da0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Binary file removed src/assets/images/banner/banner_2.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/assets/images/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export const ONBOARDING_2 = require('./onboarding/onboarding_2.png');
export const ONBOARDING_3 = require('./onboarding/onboarding_3.png');

export const BANNER_1 = require('./banner/banner_1.png');
export const BANNER_2 = require('./banner/banner_2.png');

export const MYGRADE_ONBOARDING_1 = require('./mygradeOnboarding/mygrade_onboarding_1.png');
export const MYGRADE_ONBOARDING_2 = require('./mygradeOnboarding/mygrade_onboarding_2.png');
Expand Down
8 changes: 2 additions & 6 deletions src/features/main/components/screens/MainScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Suspense} from 'react';
import {View, Dimensions} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';

import {BANNER_1, BANNER_2} from '../../../../assets/images';
import {BANNER_1} from '../../../../assets/images';
import Carousel from '../../../../components/molecules/common/carousel/Carousel';
import useUserState from '../../../../hooks/useUserState';
import AnnounceContents from '../contents/AnnounceContents';
Expand All @@ -21,7 +21,6 @@ const BANNER_HEIGHT = 134;

const BANNER_1_LINK =
'https://absorbing-macaw-e6c.notion.site/488291a8200d4030bb9a3395323b7481?pvs=74';
const BANNER_2_LINK = 'uoslife://roulette';

const MAIN_AUTOPLAY_INTERVAL_TIME = 4500;

Expand Down Expand Up @@ -78,10 +77,7 @@ const MainScreen = () => {
<Carousel
imageWidth={BANNER_WIDTH}
imageHeight={BANNER_HEIGHT}
carouselData={[
{uri: BANNER_1, link: BANNER_1_LINK, id: 0},
{uri: BANNER_2, link: BANNER_2_LINK, id: 1},
]}
carouselData={[{uri: BANNER_1, link: BANNER_1_LINK, id: 0}]}
indicator="TOPRIGHT"
logEventName="banner"
autoPlayIntervalTime={MAIN_AUTOPLAY_INTERVAL_TIME}
Expand Down

0 comments on commit 7b35da0

Please sign in to comment.