From b32db49bcdc912ee540daabc29a55e37a6d5b730 Mon Sep 17 00:00:00 2001 From: edmund Date: Wed, 18 Jan 2023 13:32:59 +0900 Subject: [PATCH] ed --- src/Components/Detail.js | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/src/Components/Detail.js b/src/Components/Detail.js index bd7ad1e..3eead6a 100644 --- a/src/Components/Detail.js +++ b/src/Components/Detail.js @@ -1,13 +1,16 @@ -import { Card, Col, Row, Button } from 'antd'; +import { Card, Col, Row } from 'antd'; +import { Button } from 'antd'; +import { useState } from 'react'; import { CarryOutOutlined, CommentOutlined } from '@ant-design/icons'; import { Badge, Divider, Space } from 'antd'; import { Tag } from 'antd'; import styled from 'styled-components'; import "../App.css"; -const Detail = () => { + const Detail = () => { -const colors = [ + const colors = [ + 'year 과목년도', 'semester 학기', 'grade 수강 학년', @@ -25,22 +28,27 @@ const colors = [ 'sugang 수강 신청 한 인원', 'sugangpack 수강 꾸러미 담은 인원', -] -return ( + ] + + const [isVisible, setIsVisible] = useState(true); + const closeBanner = () => setIsVisible(false); + return ( -<> + +<> - + + + +

동역학

CRTR23423
- - -
@@ -143,9 +151,10 @@ return ( display : flex; `; - const Btnspace = styled.div` - float: right; - `; + const BtnSpace = styled.div` + margin-left : 900px; + position : absolute; + `; const Popularity = styled.div` margin-top : 30px;