Skip to content

Commit

Permalink
fix: banner (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
quangdz1704 authored Feb 2, 2024
1 parent 25e8dcc commit f81684c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Binary file added src/assets/images/ftc_deadline_extended.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/components/FutureCompetitionModal/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
visibility: visible;
}

img {
border-start-end-radius: 12px;
border-start-start-radius: 12px;
}

.content {
display: flex;
flex-direction: column;
Expand Down
6 changes: 3 additions & 3 deletions src/components/FutureCompetitionModal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Banner from 'assets/images/competiton-future-banner.png';
import BannerDark from 'assets/images/competiton-future-banner-dark.png';
import Banner from 'assets/images/ftc_deadline_extended.png';
// import BannerDark from 'assets/images/competiton-future-banner-dark.png';
import useConfigReducer from 'hooks/useConfigReducer';
import { useEffect, useState } from 'react';
import styles from './index.module.scss';
Expand All @@ -21,7 +21,7 @@ const FutureCompetition = () => {

return (
<div className={`${styles.competition} ${active ? styles.active : ''}`}>
<img src={theme === 'light' ? Banner : BannerDark} alt="" />
<img src={Banner} alt="" />
<div className={styles.content}>
<div className={styles.header}>Futures Trading Competition is live! 🎁</div>
<div className={styles.desc}>
Expand Down

0 comments on commit f81684c

Please sign in to comment.