Skip to content

Commit

Permalink
fix(css): Modify Home contents (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonsu0-0 committed Mar 29, 2023
1 parent 7a7c641 commit 5a9e496
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 5 deletions.
Binary file added client/src/assets/keyGuide_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/keyGuide_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/src/assets/keyGuide_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 69 additions & 5 deletions client/src/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Guideline from "../components/UI/Guideline";

import NavigationBar from "../components/UI/NavigationBar";
import styled from "styled-components";
import bannerImage from "../assets/main_banner.jpg";
import keyGuide1 from "../assets/keyGuide_1.jpg";
import keyGuide2 from "../assets/keyGuide_2.jpg";
import keyGuide3 from "../assets/keyGuide_3.jpg";
import FeedBackForm from "../components/FeedBackForm";
import UxGuide from "../components/Card/UxGuide";
import StyleGuide from "../components/Card/StyleGuide";
Expand All @@ -23,9 +24,44 @@ const HomePage = () => {
<SubTitle>
장노년층 사용자를 고려하기 위한 3가지 핵심 가이드라인
</SubTitle>
<Guideline />
<Guideline />
<Guideline />
<GuideWrapper>
<GuideImage src={keyGuide1} />
<GuideTitleBox>
<GuideTitle>
단어는 일상적이고 자연스러운 것을 쓰고, 명확한 정의를
제공하라.
</GuideTitle>
<GuideSubTitle>
Use words that are everyday and natural, and provide clear
definitions.
</GuideSubTitle>
</GuideTitleBox>
</GuideWrapper>
<GuideWrapper>
<GuideImage src={keyGuide2} />
<GuideTitleBox>
<GuideTitle>
중요한 내용과 기능은 스크롤 없이 한 화면에서 볼 수 있도록
제공하라.
</GuideTitle>
<GuideSubTitle>
Provide important content and features in a single,
scroll-free view.
</GuideSubTitle>
</GuideTitleBox>
</GuideWrapper>
<GuideWrapper>
<GuideImage src={keyGuide3} />
<GuideTitleBox>
<GuideTitle>
테스크는 너무 길지 않되, 순차적으로 수행할 수 있도록 설계하라.
</GuideTitle>
<GuideSubTitle>
Don&apos;t make your tasks too long, but design them so that
they can be performed sequentially.
</GuideSubTitle>
</GuideTitleBox>
</GuideWrapper>
</GuidelineWrapper>
</Wrapper>
<Wrapper id="ux">
Expand Down Expand Up @@ -144,3 +180,31 @@ const SubTitle = styled.h4`
display: block;
font-weight: 400;
`;

const GuideWrapper = styled.div`
display: flex;
margin-top: 3.375rem;
width: 73.25rem;
`;

const GuideImage = styled.img`
width: 14.7rem;
height: 14.7rem;
`;

const GuideTitleBox = styled.div`
margin: 0;
margin-left: 1.75rem;
`;

const GuideTitle = styled.h3`
font-size: 1.875rem;
font-weight: 400;
`;

const GuideSubTitle = styled.h4`
font-size: 1.25rem;
font-weight: 400;
color: ${(props) => props.theme.colors.text_gray3};
margin-top: 1.25rem;
`;

0 comments on commit 5a9e496

Please sign in to comment.