Skip to content

Commit 7ee3876

Browse files
committed
Adicionado alerta de desafios indisponíveis
1 parent d7417ad commit 7ee3876

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

frontend/src/pages/Challenges/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default function Challenges({ location }) {
9494
</S.Filters>
9595
</S.Head>
9696

97-
{loading && <ChallengesSkeleton cards={6} />}
97+
{loading && <S.Alert>Em manutenção! Os desafios estarão disponíveis novamente em breve :)</S.Alert>}
9898
{!loading && (
9999
<S.Section>
100100
{challenges.map((challenge) => {

frontend/src/pages/Challenges/styled.js

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ import styled from 'styled-components';
22
import media from 'styled-media-query';
33
import chevronDown from '../../assets/chevron-down.svg';
44

5+
export const Alert = styled.form`
6+
color: white;
7+
text-align: center;
8+
margin-top: 3em;
9+
`;
10+
511
export const Section = styled.section`
612
margin-top: 3%;
713
display: flex;

0 commit comments

Comments
 (0)