Skip to content

Commit

Permalink
Mypage 반응형 publishing완료 #22
Browse files Browse the repository at this point in the history
  • Loading branch information
songtaejin1 committed May 26, 2024
1 parent 27e9cf2 commit 70f7a67
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 316 deletions.
38 changes: 18 additions & 20 deletions frontend/src/Mainpage/Mainpage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useState, useEffect } from 'react';
import styled from 'styled-components';
import Nav from '../UnderNavBar/NaverBar';
// import Slider from 'react-slick';
//import Nav from '../UnderNavBar/NaverBar';
// import 'slick-carousel/slick/slick.css';
Expand Down Expand Up @@ -62,13 +63,20 @@ function Mainpage() {

</Box4MainAButton3>
</Box4MainA>
<Box4MainA>
<Box4MainAButton1>

{/* <Box4MainB>
</Box4MainAButton1>
<Box4MainAButton2>

</Box4MainAButton2>
<Box4MainAButton3>

</Box4MainB> */}
</Box4MainAButton3>
</Box4MainA>
</Box4>
</BigBox>

<Nav />
</div>

);
Expand Down Expand Up @@ -98,8 +106,9 @@ const Box1 = styled.div`

const AttendanceTitle = styled.div`
display: flex;
width: auto;
align-items: center;
margin-left: 30px;
margin-left: 55px;
`;

const MainTitle = styled.h1`
Expand Down Expand Up @@ -169,9 +178,7 @@ const Box3BCircle = styled.div`
justify-content: space-around; //요소 주위를 동일하게 나누기
flex-direction: row;
padding: 3px;
width: 80%;
/* box-shadow: 0 2px 4px rgba(76, 76, 76, 0), 0 -2px 4px rgba(76, 76, 76, 0.1),
2px 0 4px rgba(76, 76, 76, 0.1), -2px 0 4px rgba(76, 76, 76, 0.1); */
width: 70%;
`;

const Box3BCircleA = styled.div`
Expand Down Expand Up @@ -235,14 +242,14 @@ const Box4MainA = styled.div`
flex-direction: row;
width: 100%;
height: 130px;
margin-bottom: 50px;
margin-bottom: 40px;
`;

const Box4MainAButton1 = styled.div`
display: flex;
align-items: center;
width: 150px;
height: 100%;
aspect-ratio: 1/ 1;
margin-left: 5px;
margin-right: 5px;
border-radius: 20px;
Expand All @@ -254,7 +261,7 @@ const Box4MainAButton2 = styled.div`
display: flex;
align-items: center;
width: 150px;
height: 100%;
aspect-ratio: 1/ 1;
margin-left: 5px;
margin-right: 5px;
border-radius: 20px;
Expand All @@ -266,23 +273,14 @@ const Box4MainAButton3 = styled.div`
display: flex;
align-items: center;
width: 150px;
height: 100%;
aspect-ratio: 1/ 1;
margin-left: 5px;
margin-right: 5px;
border-radius: 20px;
box-shadow: 0 2px 4px rgba(76, 76, 76, 0), 0 -2px 4px rgba(76, 76, 76, 0.1),
2px 0 4px rgba(76, 76, 76, 0.1), -2px 0 4px rgba(76, 76, 76, 0.1);
`;

// const Box4MainB = styled.div`
// display: flex;
// justify-content: center;
// align-items: center;
// width: 100%;
// height: 150px;
// box-shadow: 0 2px 4px rgba(76, 76, 76, 0), 0 -2px 4px rgba(76, 76, 76, 0.1),
// 2px 0 4px rgba(76, 76, 76, 0.1), -2px 0 4px rgba(76, 76, 76, 0.1);
// `;



Expand Down
Loading

0 comments on commit 70f7a67

Please sign in to comment.