From 5e51d6856e3c0662a1faacb84c64e88d68cd3be5 Mon Sep 17 00:00:00 2001 From: aazkgh Date: Fri, 1 Dec 2023 20:05:58 +0900 Subject: [PATCH 1/4] =?UTF-8?q?design/#46:=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=EB=B0=8F=20=EB=9D=BC=EC=9A=B0=ED=84=B0=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Router.tsx | 3 +-- src/components/main/Header.tsx | 2 +- src/pages/Main.tsx | 16 ++++++++++------ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/common/Router.tsx b/src/components/common/Router.tsx index ac70d61..5d64e67 100644 --- a/src/components/common/Router.tsx +++ b/src/components/common/Router.tsx @@ -2,14 +2,13 @@ import { BrowserRouter, Route, Routes } from 'react-router-dom'; import Main from '../../pages/Main'; import PriceCompare from '../../pages/PriceCompare'; -import LowestFlightItem from '../main/LowestFlightItem'; import TicketList from '../../pages/TicketList'; const Router = () => { return ( - } /> + } /> } /> } /> diff --git a/src/components/main/Header.tsx b/src/components/main/Header.tsx index c91536f..a10f541 100644 --- a/src/components/main/Header.tsx +++ b/src/components/main/Header.tsx @@ -44,7 +44,7 @@ const HeaderContainer = styled.header` justify-content: center; background-color: ${({ theme }) => theme.colors.skscanPrimary}; padding: 3.4rem calc((100vw - 104.6rem) / 2) 0; - width: 100vw; + width: 100%; height: 14.6rem; color: ${({ theme }) => theme.colors.skscanWt}; `; diff --git a/src/pages/Main.tsx b/src/pages/Main.tsx index 07a663a..3441d28 100644 --- a/src/pages/Main.tsx +++ b/src/pages/Main.tsx @@ -1,5 +1,6 @@ import styled from 'styled-components'; +import Footer from '../components/common/Footer'; import Header from '../components/main/Header'; import Insight from '../components/main/Insight'; import QnA from '../components/main/QnA'; @@ -8,13 +9,16 @@ import RecommendFlight from '../components/main/RecommendFlight'; const Main = () => { return ( - + <>
- - - - - + + + + + + +