HomeMain.js 820 Bytes
import React from "react";
import styled from "styled-components";
import HomeDate from "./HomeDate";
import HomeCalender from "./HomeCalendar";
import HomeCheckList from "./HomeCheckList";

const HomeContainer = styled.div`
  display: flex;
  flex-direction: row;
  width: 85%;
`;
const HomeMiddleBox = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70%;
`;
const HomeRightBox = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: space-between;
  width: 30%;
`;

export default () => {
  return (
    <HomeContainer>
      <HomeMiddleBox>
        <HomeDate />
      </HomeMiddleBox>
      <HomeRightBox>
        <HomeCalender />
        <HomeCheckList />
      </HomeRightBox>
    </HomeContainer>
  );
};