-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
683 additions
and
59 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> | ||
<url><loc>https://www.depromeet.com</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/about</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/apply</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/blog</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/project</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/recruit</loc><lastmod>2024-06-10T14:25:51.284Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/about</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/apply</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/blog</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/project</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
<url><loc>https://www.depromeet.com/recruit</loc><lastmod>2024-11-17T07:04:27.144Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> | ||
</urlset> |
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
import Image from 'next/image'; | ||
import { css } from '@emotion/react'; | ||
|
||
import { useCheckWindowSize } from '~/hooks/useCheckWindowSize'; | ||
import { theme } from '~/styles/theme'; | ||
|
||
import { ResultCardList } from './ResultCardList'; | ||
|
||
// TODO: 공통 컴포넌트 분리 / 반응형 작업 | ||
export const Result = () => { | ||
const { isTargetSize: isMobileSize } = useCheckWindowSize('mobile'); | ||
return ( | ||
<div css={layoutCss}> | ||
<div css={title.wrapper}> | ||
<h1> | ||
디프만은 디자이너와 개발자가 | ||
{isMobileSize && <br />} | ||
기획, 릴리즈, 이후 개선까지 | ||
</h1> | ||
<h1> | ||
<span css={emphasis.leftText}>모든 과정을 경험하는</span> | ||
{isMobileSize && <br />} | ||
<span css={emphasis.text}> | ||
<div css={emphasis.imageWrapper}> | ||
<Image | ||
src="/images/16th/about/emphasis.png" | ||
alt="성장추구형 강조" | ||
width={124} | ||
height={40} | ||
/> | ||
</div> | ||
</span> | ||
<span css={emphasis.text}>성장추구형</span> | ||
<span css={emphasis.rightText}>커뮤니티입니다.</span> | ||
</h1> | ||
</div> | ||
|
||
<ResultCardList /> | ||
</div> | ||
); | ||
}; | ||
|
||
const layoutCss = () => css` | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 84px; | ||
color: black; | ||
`; | ||
|
||
const title = { | ||
wrapper: css` | ||
h1 { | ||
${theme.typosV2.pretendard.semibold24}; | ||
line-height: 150%; | ||
text-align: center; | ||
height: fit-content; | ||
} | ||
`, | ||
}; | ||
|
||
const emphasis = { | ||
leftText: css` | ||
margin-right: 13px; | ||
`, | ||
rightText: css` | ||
margin-left: 14px; | ||
`, | ||
text: css` | ||
position: relative; | ||
`, | ||
imageWrapper: css` | ||
position: absolute; | ||
left: -11px; | ||
top: -3px; | ||
`, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
import { css } from '@emotion/react'; | ||
|
||
import { QUANTIFIED_INFO } from '~/constant/aboutInfo'; | ||
import { colors } from '~/styles/colors'; | ||
import { mediaQuery } from '~/styles/media'; | ||
import { theme } from '~/styles/theme'; | ||
|
||
export const ResultCardList = () => { | ||
return ( | ||
<div css={containerCss}> | ||
{QUANTIFIED_INFO.map(({ label, number, unit }, idx) => ( | ||
<div key={idx} css={cardCss}> | ||
<p css={textCss.label}>{label}</p> | ||
<p css={textCss.wrapper}> | ||
<span css={textCss.number}>{number}</span> | ||
<span css={textCss.unit}>{unit}</span> | ||
</p> | ||
</div> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
const containerCss = css` | ||
display: grid; | ||
grid-template-columns: repeat(4, 1fr); | ||
gap: 16px; | ||
width: 1040px; | ||
height: 240px; | ||
${mediaQuery('mobile')} { | ||
grid-template-columns: repeat(2, 1fr); | ||
width: 100%; | ||
height: auto; | ||
padding: 0 24px; | ||
} | ||
`; | ||
|
||
const cardCss = css` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 30px; | ||
justify-content: center; | ||
align-items: center; | ||
aspect-ratio: 1/1; | ||
background-color: ${colors.grey[100]}; | ||
border-radius: 20px; | ||
${mediaQuery('mobile')} { | ||
gap: 18px; | ||
} | ||
`; | ||
|
||
const textCss = { | ||
wrapper: css` | ||
display: flex; | ||
align-items: center; | ||
`, | ||
label: css` | ||
color: ${colors.grey[600]}; | ||
${theme.typosV2.pretendard.semibold20}; | ||
${mediaQuery('mobile')} { | ||
${theme.typosV2.pretendard.semibold15}; | ||
line-height: 150%; | ||
} | ||
`, | ||
number: css` | ||
${theme.typosV2.pretendard.bold62}; | ||
${mediaQuery('mobile')} { | ||
${theme.typosV2.pretendard.bold32}; | ||
} | ||
`, | ||
unit: css` | ||
${theme.typosV2.pretendard.semibold48}; | ||
${mediaQuery('mobile')} { | ||
${theme.typosV2.pretendard.semibold24}; | ||
} | ||
`, | ||
}; |
Oops, something went wrong.