Skip to content

Commit

Permalink
added new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
AchyuthMohan committed Dec 12, 2022
1 parent afeaa88 commit d6bf83a
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React,{ Suspense } from 'react';
import { AppProvider } from '../src/Context/Context'
import './App.css';
import { BrowserRouter, Routes, Route} from "react-router-dom";
import { Dashboard,LandingPage,Login,PlaceDetailPage,SignUp,ReviewPage,Teams} from './pages/index';
import { Dashboard,LandingPage,Login,PlaceDetailPage,SignUp,ReviewPage,Teams,ErrorPage} from './pages/index';
import ScrollToTop from "./utils/ScrollToTop"
import Loader from './components/Loader/Loader';

Expand All @@ -21,6 +21,7 @@ function App() {
<Route path="/login" element={<Login/>}/>
<Route path="/reviews" element={<ReviewPage/>}/>
<Route path="/team" element={<Teams/>}/>
<Route element={<ErrorPage/>}/>
</Routes>
</BrowserRouter>
</Suspense>
Expand Down
3 changes: 2 additions & 1 deletion src/components/FlightCards/FlightCards.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
color: #f0f0f0;
}
.trainp{
font-size: 26px;
font-size: 20px;
font-family: 'Consolas';

}
.trainh{
Expand Down
3 changes: 2 additions & 1 deletion src/components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@
font-weight: 700;
padding-top: 10px;
font-family: 'Oleo Script Swash Caps';
font-size: 25px;
font-family: 'Buenos Aires' !important;
font-size: 32px;
color: #002B5B;
cursor: pointer;
}
11 changes: 11 additions & 0 deletions src/pages/ErrorPage/ErrorPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'
import Mainlayout from '../../components/Mainlayout/Mainlayout'
const ErrorPage = () => {
return (
<Mainlayout>

</Mainlayout>
)
}

export default ErrorPage
4 changes: 3 additions & 1 deletion src/pages/PlaceDetailPage/PlaceDetailPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
font-family: 'Roboto';
font-size: 3rem;
font-weight: 500;
font-family: 'Bodoni MT';
}
.flight_details{
color: black;
Expand All @@ -30,7 +31,8 @@
.booking_srvice__header{
font-family: 'Roboto';
color: #002B5B;
font-size: 2.5rem;
font-size: 3.1rem;
font-family: 'Bodoni MT';
}
.prev__button{
background-color: white;
Expand Down
3 changes: 2 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export const Dashboard = lazy(() => import("./Dashboard/Dashboard"));
export const PlaceDetailPage = lazy(() => import("./PlaceDetailPage/PlaceDetailPage"));
export const LandingPage = lazy(() => import("./LandingPage/LandingPage"));
export const ReviewPage = lazy(() => import("./ReviewPage/ReviewPage"));
export const Teams = lazy(() => import("./Teams/Teams"));
export const Teams = lazy(() => import("./Teams/Teams"));
export const ErrorPage = lazy(() => import("./ErrorPage/ErrorPage"));

0 comments on commit d6bf83a

Please sign in to comment.