Skip to content

Commit

Permalink
πŸš€ 240905: μ½”λ“œ νˆ¬κ²Œλ” μŠ€νƒ€μΌ κ°œμ„ , λ§ˆμŠ€ν„° 정보 λ³€κ²½
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLhead authored Sep 5, 2024
2 parents 888dccc + d023fcc commit 041e334
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 131 deletions.
57 changes: 11 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,19 @@
<p align="center">
<a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts">
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
<a href="https://codesquad.kr">
<img width="50px" src="https://lucas.codesquad.kr/favi/favicon-96x96.png">
</a>
</p>
<h1 align="center">
Gatsby minimal TypeScript starter
</h1>

## πŸš€ Quick start
<h2 align="center">
μ½”λ“œμŠ€μΏΌλ“œ ν™ˆνŽ˜μ΄μ§€
</h2>

1. **Create a Gatsby site.**
자유둭게 νƒν—˜ν•˜λ©° ν•¨κ»˜ μ„±μž₯ν•˜λŠ” λ™λ£Œλ₯Ό λ§Œλ‚  수 μžˆλŠ” μ½”λ“œμŠ€μΏΌλ“œ μž…λ‹ˆλ‹€.

Use the Gatsby CLI to create a new site, specifying the minimal TypeScript starter.
<h2>
μœ μ§€λ³΄μˆ˜ κ΄€λ ¨ μŠ€ν† λ¦¬λΆ μ£Όμ†Œ
</h2>

```shell
# create a new Gatsby site using the minimal TypeScript starter
npm init gatsby
```
- https://627a29cdb418b5004a1d4cb8-bliqdwctlk.chromatic.com/?path=/story/home-introduction--page

2. **Start developing.**

Navigate into your new site’s directory and start it up.

```shell
cd my-gatsby-site/
npm run develop
```

3. **Open the code and start customizing!**

Your site is now running at http://localhost:8000!

Edit `src/pages/index.tsx` to see your site update in real-time!

4. **Learn more**

- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

- [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

- [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

## πŸš€ Quick start (Gatsby Cloud)

Deploy this starter with one click on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/):

[<img src="https://www.gatsbyjs.com/deploynow.svg" alt="Deploy to Gatsby Cloud">](https://www.gatsbyjs.com/dashboard/deploynow?url=https://github.com/gatsbyjs/gatsby-starter-minimal-ts)
ν•΄λ‹Ή νŽ˜μ΄μ§€λŠ” [Gatsby minimal TypeScript Starter](https://github.com/gatsbyjs/gatsby-starter-minimal-ts) λ₯Ό 톡해 λ§Œλ“€μ–΄μ‘ŒμŠ΅λ‹ˆλ‹€.
18 changes: 0 additions & 18 deletions content/main/masters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,6 @@ masters:
image: smallMastersCourse
path: /masters

- image: ivy
field: λͺ¨λ°”일 μ•ˆλ“œλ‘œμ΄λ“œ
name: 아이비
introduce: Ivy, λͺ¨λ°”일 μ•ˆλ“œλ‘œμ΄λ“œ λ§ˆμŠ€ν„°
nutshell: "β€œκ°€μΉ˜ μžˆλŠ” 무언가λ₯Ό λ§Œλ“œλŠ” 과정을 즐길 수 μžˆλ‹€λ©΄, 직접 λΆ€λ”ͺν˜€μ„œ ν™•μΈν•΄λ³΄μ„Έμš”!”"
careers:
- μ›λ°€λ¦¬μ–ΈλΌμΈμ¦ˆμ½”λ”© CEO
- μš°μ•„ν•œν…Œν¬μΊ ν”„ μ•ˆλ“œλ‘œμ΄λ“œ ꡐ윑
- 넀이버 λΆ€μŠ€νŠΈμΊ ν”„ μ•ˆλ“œλ‘œμ΄λ“œ ꡐ윑
- μ›ν‹°λ“œ ν”„λ¦¬μ˜¨λ³΄λ”© μ•ˆλ“œλ‘œμ΄λ“œ μ½”μŠ€
- Udemy μ•ˆλ“œλ‘œμ΄λ“œ μ•±κ°œλ°œ λΆ€νŠΈμΊ ν”„
- μ „ μΉ΄μΉ΄μ˜€νŽ˜μ΄μ§€ μ•ˆλ“œλ‘œμ΄λ“œ 개발자
schedules:
- title: λ§ˆμŠ€ν„°μ¦ˆ
subtitle: λͺ¨λ°”일 μ•ˆλ“œλ‘œμ΄λ“œ 클래슀
image: smallMastersCourse
path: /masters

- image: jk
field: λͺ¨λ°”일 iOS
name: JK
Expand Down
32 changes: 0 additions & 32 deletions content/masters/curriculum_android.mdx

This file was deleted.

Binary file added src/assets/img/picture/dangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/assets/img/picture/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import jk from "./jk.png";
import crong from "./crong.png";
import dangle from "./dangle.png";
import honux from "./honux.png";
import ivy from "./ivy.png";
import silver from "./silver.png";
Expand All @@ -16,6 +17,7 @@ import howToStudy from "./howtostudy.png";
export default {
jk,
crong,
dangle,
honux,
ivy,
silver,
Expand Down
2 changes: 2 additions & 0 deletions src/components/Registration/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const Registration: React.FC<{ registrations: RegistrationType[] }> = ({ registr

const RegistrationWrapper = styled.div`
display: flex;
flex-direction: column;
gap: 1.2rem;
@media ${({ theme }) => theme.device.mobile} {
padding: 0 2.4rem;
padding-top: 8rem;
Expand Down
16 changes: 11 additions & 5 deletions src/pageComponents/code-together/Course/Course.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,19 @@ const TitleWrapper = styled.div`

const CourseListWrapper = styled.div`
width: 100%;
margin-top: 4rem;
padding: 8rem 0 16rem 0;
background-color: ${({ theme: { color } }) => color.surface.offWhite1};
@media ${({ theme }) => theme.device.mobile} {
padding: 4.8rem 0 5.6rem 0;
}
@media ${({ theme }) => theme.device.tablet} {
padding: 4.8rem 0 13.6rem 0;
}
@media ${({ theme }) => theme.device.desktop} {
padding: 8rem 0 16rem 0;
}
`;

const CourseList = styled.ul`
margin: 0 auto 6.4rem auto;
background-color: ${({ theme: { color } }) => color.surface.offWhite1};
display: flex;
flex-flow: row wrap;
& > *:nth-child(2n - 1) {
Expand All @@ -95,13 +100,14 @@ const CourseList = styled.ul`
@media ${({ theme }) => theme.device.mobile} {
flex-direction: column;
margin-bottom: 3.2rem;
padding: 0 2.4rem;
& > *:not(:last-child) {
margin-bottom: 2.4rem;
}
}
@media ${({ theme }) => theme.device.tablet} {
flex-direction: column;
padding: 8rem;
padding: 0 8rem;
& > *:not(:last-child) {
margin-bottom: 3.2rem;
}
Expand Down
10 changes: 2 additions & 8 deletions src/pageComponents/code-together/CourseList/CourseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,9 @@ const CourseWrapper = styled.ul`

const CourseListWrapper = styled.ul`
display: flex;
flex-direction: column;
justify-content: center;
& > *:not(:last-child) {
margin-right: 2.4rem;
}
@media ${({ theme }) => theme.device.mobile} {
& > *:not(:last-child) {
margin-right: 1.6rem;
}
}
gap: 1.2rem;
`;

const CodeTogetherCourseListQuery = graphql`
Expand Down
2 changes: 1 addition & 1 deletion src/pageComponents/code-together/Feature/Feature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Feature: React.FC = ({}) => {

const FeatureWrapper = styled.div`
margin: 0 auto;
margin-top: 8rem;
margin-bottom: 18rem;
@media ${({ theme }) => theme.device.mobile} {
padding: 0 2.4rem;
}
Expand Down
48 changes: 28 additions & 20 deletions src/pageComponents/code-together/StudyFeature/StudyFeature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,45 @@ const StudyFeature: React.FC = () => {
const { isDesktop, isMobile } = useResponsive();

return (
<StudyWrapper>
<TitleSet subtitle={SUBTITLE.CODE_TOGETHER} title={TITLE.HOW_STUDY} />
<FeatureList>
{studyFeatures.map(({ title, descriptions, img }) => (
<FeatureItem key={title}>
<ImageCard
{...{ descriptions, title }}
img={features[img]}
medium={isDesktop}
vertical={isMobile}
/>
</FeatureItem>
))}
</FeatureList>
</StudyWrapper>
<StudyBackgroundWrapper>
<StudyWrapper>
<TitleSet subtitle={SUBTITLE.CODE_TOGETHER} title={TITLE.HOW_STUDY} />
<FeatureList>
{studyFeatures.map(({ title, descriptions, img }) => (
<FeatureItem key={title}>
<ImageCard
{...{ descriptions, title }}
img={features[img]}
medium={isDesktop}
vertical={isMobile}
/>
</FeatureItem>
))}
</FeatureList>
</StudyWrapper>
</StudyBackgroundWrapper>
);
};

const StudyWrapper = styled.div`
padding-top: 18rem;
const StudyBackgroundWrapper = styled.div`
width: 100%;
background-color: ${({ theme: { color } }) => color.surface.offWhite1};
@media ${({ theme }) => theme.device.mobile} {
background-color: ${({ theme: { color } }) => color.surface.white20};
}
`;

const StudyWrapper = styled.div<{ backgroundColor?: string }>`
margin: 0 auto;
margin-top: 8rem;
@media ${({ theme }) => theme.device.mobile} {
padding: 0 2.4rem;
}
@media ${({ theme }) => theme.device.tablet} {
padding: 0 8rem;
padding: 8rem 8rem;
}
@media ${({ theme }) => theme.device.desktop} {
width: 106.2rem;
padding: 0 18.9rem;
padding: 8rem 18.9rem;
}
`;

Expand Down
49 changes: 48 additions & 1 deletion src/pageComponents/main/Master/Master.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import styled, { useTheme } from "styled-components";
import { graphql, Link, useStaticQuery } from "gatsby";
// Type
import { MasterType } from "@type/Master";
import type { MasterType } from "@type/Master";
// Typography
import { Typography } from "typography";
// Components
Expand All @@ -29,6 +29,12 @@ const Master: React.FC = () => {
setMasterIntroduce(masters[index]);
};

const dangleCareers: MasterType["careers"] = [
"μ „ Amazon Web Services Technical Trainer",
"μ „ 카카였 Backend engineer",
"μ „ NHN NEXT UI/Web programming 전곡 μ‘Έμ—…",
];

return (
<MasterWrapper>
<MasterCourseIntroduceWrapper>
Expand Down Expand Up @@ -103,6 +109,47 @@ const Master: React.FC = () => {
)}
</IntroduceWrapper>
</MasterInformationWrapper>

{/* ν•˜λ“œμ½”λ”© */}
{masterIntroduce.name === "ν˜Έλˆ…μŠ€" && (
<MasterInformationWrapper>
<MasterImg alt="dangle-profile" src={picture["dangle"]} />
<IntroduceWrapper>
<Introduce>
<NicknameWrapper>
<Typography type={isMobile ? "SHLBold" : "HLBold"}>Dangle</Typography>
<MasterIntroduceWrapper>
<Typography type={isMobile ? "XSBody" : "SBody"}>
λ‹ΉκΈ€, μ›Ή λ°±μ—”λ“œ λ§ˆμŠ€ν„°
</Typography>
</MasterIntroduceWrapper>
</NicknameWrapper>
<MasterNutshellWrapper>
<Typography type={isMobile ? "SHLBold" : "MBold"}>
β€œκ°œλ°œμ— 정닡은 μ—†λ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€. ν˜„μž¬ μƒν™©μ—μ„œ μ΅œμ„ μ˜ 닡을 찾을 뿐."
</Typography>
</MasterNutshellWrapper>
<CareerWrapper>
{dangleCareers?.map((career) => (
<li key={career}>
<Typography
type={isMobile ? "XSBody" : "SBody"}
style={{
display: "inline",
verticalAlign: "middle",
color: color.greyScale.grey1,
}}
>
{career}
</Typography>
</li>
))}
</CareerWrapper>
</Introduce>
</IntroduceWrapper>
</MasterInformationWrapper>
/* ν•˜λ“œμ½”λ”© */
)}
</div>
</MasterWrapper>
);
Expand Down

0 comments on commit 041e334

Please sign in to comment.