-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Feature/#8 find professor
- Loading branch information
Showing
9 changed files
with
209 additions
and
186 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
218 changes: 101 additions & 117 deletions
218
src/components/home/matching/professorDetail/style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,181 +1,165 @@ | ||
import { theme } from "@/styles/theme"; | ||
import styled from "styled-components"; | ||
|
||
export const ProfessorDetailWrap = styled.div` | ||
width: 100%; | ||
height: 100vh; | ||
max-width: 1920px; | ||
max-height: 1080px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
export const Main = styled.div` | ||
width: 80%; | ||
width: 90%; | ||
height: 100%; | ||
background: #fff; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
gap: 10px; | ||
gap: 60px; | ||
`; | ||
|
||
export const InfoWrap = styled.div` | ||
width: 90%; | ||
height: 30%; | ||
display: flex; | ||
flex-direction: column; | ||
export const ProffesorInfoWrap = styled.div` | ||
width: 80%; | ||
height: 20%; | ||
gap: 10px; | ||
`; | ||
border-radius: 50px; | ||
background: #fff; | ||
export const UtilityWrap = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
height: 75%; | ||
align-items: center; | ||
`; | ||
|
||
export const ProfileWrap = styled.div` | ||
width: 40%; | ||
height: 80%; | ||
display: flex; | ||
align-items: center; | ||
gap: 15px; | ||
img { | ||
width: 70px; | ||
height: 70px; | ||
padding-left: 20px; | ||
} | ||
justify-content: space-between; | ||
div { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
gap: 5px; | ||
gap: 20px; | ||
h1 { | ||
color: var(--Black, #000); | ||
font-size: 38px; | ||
font-weight: 700; | ||
position: relative; | ||
margin: 0; | ||
img { | ||
padding-left: 20px; | ||
} | ||
span { | ||
color: var(--Gray500, #aaa); | ||
font-size: 23px; | ||
font-weight: 600; | ||
align-items: center; | ||
div { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
position: relative; | ||
h1 { | ||
font-size: 2.5rem; | ||
font-weight: ${theme.fontWeight.bold}; | ||
} | ||
span { | ||
font-size: 1.6rem; | ||
font-weight: ${theme.fontWeight.semibold}; | ||
color: ${theme.colors.gray500}; | ||
} | ||
img { | ||
position: absolute; | ||
left: 80%; | ||
bottom: 80%; | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export const BestRecommandIcon = styled.div` | ||
position: absolute; | ||
top: 3%; | ||
left: 41%; | ||
`; | ||
|
||
export const ButtonWrap = styled.div` | ||
width: 60%; | ||
height: 80%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
export const ChatButton = styled.button` | ||
width: 17%; | ||
height: 35%; | ||
button { | ||
width: 30%; | ||
height: 35%; | ||
background: ${theme.colors.new}; | ||
border-radius: var(--Large, 12px); | ||
background: var(--New, #0e2764); | ||
border-radius: 15px; | ||
color: var(--White, #fff); | ||
font-family: Pretendard; | ||
font-size: 25px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: normal; | ||
} | ||
`; | ||
padding: 2%; | ||
margin-right: 3%; | ||
export const OneLiner = styled.span` | ||
color: var(--Gray500, #aaa); | ||
font-family: Pretendard; | ||
font-size: 25px; | ||
font-weight: 500; | ||
display: flex; | ||
font-size: 1.6rem; | ||
font-weight: ${theme.fontWeight.bold}; | ||
color: ${theme.colors.white}; | ||
padding-left: 20px; | ||
`; | ||
cursor: pointer; | ||
export const Subject = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
`; | ||
|
||
img { | ||
width: 20px; | ||
height: 20px; | ||
background: transparent; | ||
padding-left: 20px; | ||
} | ||
export const CarrerAndReviewWrap = styled.div` | ||
width: 100%; | ||
height: 60%; | ||
span { | ||
color: var(--Gray600, #787878); | ||
font-family: Pretendard; | ||
font-size: 18px; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: normal; | ||
} | ||
display: flex; | ||
align-items: flex-start; | ||
justify-content: center; | ||
justify-content: space-evenly; | ||
`; | ||
|
||
export const CareerWrap = styled.div` | ||
width: 83%; | ||
height: 70%; | ||
export const CarrerWrap = styled.div` | ||
width: 34%; | ||
height: 55%; | ||
border-radius: 2.5rem; | ||
background: ${theme.colors.white}; | ||
display: flex; | ||
padding: 20px 38px; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 30px; | ||
justify-content: space-evenly; | ||
padding-left: 1%; | ||
h1 { | ||
color: var(--Black, #000); | ||
font-family: Pretendard; | ||
font-size: 36px; | ||
font-style: normal; | ||
font-weight: 800; | ||
line-height: normal; | ||
font-size: 35px; | ||
font-weight: ${theme.fontWeight.extrabold}; | ||
} | ||
div { | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 30px; | ||
div { | ||
width: 90%; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
span { | ||
font-size: 1.2rem; | ||
font-weight: ${theme.fontWeight.semibold}; | ||
&:nth-child(2) { | ||
display: flex; | ||
align-self: flex-start; | ||
} | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export const Careers = styled.div` | ||
width: 40%; | ||
height: 5%; | ||
export const ReviewWrap = styled.div` | ||
width: 35%; | ||
height: 80%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border-radius: 40px; | ||
background: ${theme.colors.white}; | ||
span { | ||
color: var(--Black, #000); | ||
font-family: Pretendard; | ||
font-size: 20px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
h1 { | ||
font-size: 35px; | ||
font-weight: ${theme.fontWeight.extrabold}; | ||
} | ||
`; |
Oops, something went wrong.