Skip to content

Commit 7713871

Browse files
committed
Team, Lesson, Limited cards fixed
1 parent a18015f commit 7713871

File tree

4 files changed

+4
-17
lines changed

4 files changed

+4
-17
lines changed

src/components/card/Limited.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Box,
55
Flex,
66
Icon,
7-
Image,
87
Text,
98
useColorModeValue,
109
} from "@chakra-ui/react";

src/components/card/Member.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
// Chakra imports
22
import React from "react";
3-
import {
4-
Avatar,
5-
Box,
6-
Flex,
7-
useColorModeValue,
8-
Icon,
9-
Text,
10-
} from "@chakra-ui/react";
3+
import { Avatar, Flex, useColorModeValue, Icon, Text } from "@chakra-ui/react";
114
// Custom components
125
import Card from "components/card/Card.js";
136
import TransparentMenu from "components/menu/TransparentMenu";
@@ -24,7 +17,7 @@ export default function Default(props) {
2417
);
2518

2619
return (
27-
<Card py='10px' bg={bg} {...rest}>
20+
<Card boxShadow={shadow} py='10px' bg={bg} {...rest}>
2821
<Flex align='center'>
2922
<Flex justifyContent='center' alignItems='center'>
3023
<Avatar

src/views/admin/default/components/Lesson.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ import {
1212
import Card from "components/card/Card.js";
1313
import IconBox from "components/icons/IconBox";
1414
// Assets
15-
import React, { useState } from "react";
15+
import React from "react";
1616
import {
1717
MdLocalFireDepartment,
1818
MdTimer,
19-
MdOutlineSlowMotionVideo,
2019
MdSlowMotionVideo,
2120
} from "react-icons/md";
2221

src/views/admin/default/components/Team.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ import { Button, Flex, Text, Icon, useColorModeValue } from "@chakra-ui/react";
33
// Custom components
44
import Card from "components/card/Card.js";
55
import Member from "components/card/Member.js";
6-
import Menu from "components/menu/MainMenu";
7-
import IconBox from "components/icons/IconBox";
86

97
// Assets
10-
import { MdCheckBox, MdAddCircle } from "react-icons/md";
8+
import { MdAddCircle } from "react-icons/md";
119
import Avatar2 from "assets/img/avatars/avatar2.png";
1210
import Avatar3 from "assets/img/avatars/avatar3.png";
1311
import Avatar5 from "assets/img/avatars/avatar5.png";
@@ -18,8 +16,6 @@ export default function Conversion(props) {
1816

1917
// Chakra Color Mode
2018
const textColor = useColorModeValue("secondaryGray.900", "white");
21-
const boxBg = useColorModeValue("secondaryGray.300", "navy.700");
22-
const brandColor = useColorModeValue("brand.500", "brand.400");
2319

2420
const iconColor = useColorModeValue("brand.500", "white");
2521
const bgButton = useColorModeValue("secondaryGray.300", "whiteAlpha.100");

0 commit comments

Comments
 (0)