├── src ├── vite-env.d.ts ├── assets │ ├── images │ │ ├── 01.jpg │ │ ├── 02.jpg │ │ ├── 03.jpg │ │ ├── abs.png │ │ ├── mask.png │ │ ├── plan1.jpg │ │ ├── plan2.jpg │ │ ├── plan3.jpg │ │ ├── plane.png │ │ ├── sky3.jpg │ │ └── wallpaper.jpg │ └── react.svg ├── App.tsx ├── layout │ └── index.tsx ├── routes │ └── index.tsx ├── main.tsx ├── pages │ └── Home │ │ └── index.tsx ├── components │ ├── Banner │ │ └── index.tsx │ ├── Footer │ │ └── index.tsx │ ├── Navbar │ │ └── index.tsx │ ├── Hero │ │ └── index.tsx │ ├── About │ │ └── index.tsx │ ├── Features │ │ └── index.tsx │ ├── Blog │ │ └── index.tsx │ └── Plans │ │ └── index.tsx └── index.css ├── postcss.config.js ├── vite.config.ts ├── tailwind.config.js ├── tsconfig.node.json ├── .gitignore ├── index.html ├── .eslintrc.cjs ├── tsconfig.json ├── package.json ├── README.md ├── public └── vite.svg └── yarn.lock /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/images/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/01.jpg -------------------------------------------------------------------------------- /src/assets/images/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/02.jpg -------------------------------------------------------------------------------- /src/assets/images/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/03.jpg -------------------------------------------------------------------------------- /src/assets/images/abs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/abs.png -------------------------------------------------------------------------------- /src/assets/images/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/mask.png -------------------------------------------------------------------------------- /src/assets/images/plan1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/plan1.jpg -------------------------------------------------------------------------------- /src/assets/images/plan2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/plan2.jpg -------------------------------------------------------------------------------- /src/assets/images/plan3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/plan3.jpg -------------------------------------------------------------------------------- /src/assets/images/plane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/plane.png -------------------------------------------------------------------------------- /src/assets/images/sky3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/sky3.jpg -------------------------------------------------------------------------------- /src/assets/images/wallpaper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeItDownYt/React-Flight-Booking-Website/HEAD/src/assets/images/wallpaper.jpg -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react-swc' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()], 7 | }) 8 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | }; 9 | -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- 1 | import { useRoutes } from "react-router-dom"; 2 | import routes from "./routes"; 3 | 4 | function App() { 5 | const element = useRoutes(routes); 6 | return <>{element}; 7 | } 8 | 9 | export default App; 10 | -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true 8 | }, 9 | "include": ["vite.config.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /src/layout/index.tsx: -------------------------------------------------------------------------------- 1 | import Footer from "../components/Footer"; 2 | import { Outlet } from "react-router"; 3 | import Navbar from "../components/Navbar"; 4 | 5 | const Layout = () => { 6 | return ( 7 | <> 8 | 9 | 10 |