diff --git a/src/Components/ExpandedMaterialCard.js b/src/Components/ExpandedMaterialCard.js deleted file mode 100644 index f958a17eb5966c2cbc6f7fcae5c293a66c85f490..0000000000000000000000000000000000000000 --- a/src/Components/ExpandedMaterialCard.js +++ /dev/null @@ -1,63 +0,0 @@ -/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre -Departamento de Informatica - Universidade Federal do Parana - -This file is part of Plataforma Integrada MEC. - -Plataforma Integrada MEC is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Plataforma Integrada MEC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/ - -import React, { useState } from 'react'; -import Card from '@material-ui/core/Card'; -import CardContent from '@material-ui/core/CardContent'; -import CardActions from '@material-ui/core/CardActions'; -import Typography from '@material-ui/core/Typography'; -import styled from 'styled-components'; -import Button from '@material-ui/core/Button'; - -export default function MaterialCard(props) { - - const [expanded, setExpanded] = useState(false); - - const thumb = require(`../../public/${props.thumb}`) - - return ( - <Card> - <img style={{maxHeight : "100%", maxWidth:"100%"}} src={thumb} alt="thumbnail do recurso" /> - <CardContent style={{ height: "50px"}}> - <Title> - {props.name} - </Title> - </CardContent> - <CardActions style={{ borderTop: "1px solid #e5e5e5", justifyContent: "center" }}> - <Button - color="secondary" - > - Ver módulos - </Button> - </CardActions> - </Card > - ) -} - -const SizedBox = styled.div` - width : 5px; -` -const Title = styled(Typography)` - text-overflow: ellipsis; - overflow: hidden; - margin-bottom: 10px; - font-size: 1.2em; - line-height: 1.1; - max-height: 46px; - color: #666; -` \ No newline at end of file