Skip to content

Commit b907b7d

Browse files
committed
finalizing and finishing
1 parent 3230c02 commit b907b7d

19 files changed

+127
-17
lines changed

public/img/apple.png

286 Bytes
Loading

public/img/footer-logo.png

2.39 KB
Loading

public/img/google-play.png

607 Bytes
Loading

public/img/grid-bottom.png

824 Bytes
Loading

public/img/ring-bottom.png

19.7 KB
Loading

public/img/ring-top.png

13.7 KB
Loading

public/img/sub.png

5.04 KB
Loading

src/app/components/Book.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Book = () => {
66
<main className="px-[5%] py-20 grid grid-cols-1 md:grid-cols-2 items-center gap-6">
77
<section className="grid grid-cols-1 gap-4">
88
<p className="text-[16px] text-litegrey font-bold text-center md:text-left special-font">Easy and Fast</p>
9-
<h1 className="text-litedark text-5xl text-center md:text-left font-extrabold w-full md:max-w-[500px]">Book Your Next Trip in 3 Easy Steps</h1>
9+
<h1 className="text-litedark text-3xl md:text-5xl text-center md:text-left font-extrabold w-full md:max-w-[500px]">Book Your Next Trip in 3 Easy Steps</h1>
1010

1111
<div className="flex items-center gap-2 special-font">
1212
<div>

src/app/components/Category.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Category = () => {
3434
<main className="relative w-full py-[100px] px-[5%] grid grid-cols-1 gap-4">
3535
<section className="flex flex-col items-center text-center gap-4">
3636
<p className="text-[18px] text-litegrey font-bold special-font">CATEGORY</p>
37-
<h1 className="text-5xl font-bold">We Offer Best Services</h1>
37+
<h1 className="text-3xl md:text-5xl font-bold">We Offer Best Services</h1>
3838
</section>
3939

4040
<section className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 place-items-center items-stretch gap-6 lg:gap-10 special-font">

src/app/components/Destination.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Destination = () => {
3737
<main className="relative w-full py-[50px] px-[5%] grid grid-cols-1 gap-6">
3838
<section className="flex flex-col items-center text-center gap-4">
3939
<p className="text-[18px] text-litegrey font-bold special-font">Top Selling</p>
40-
<h1 className="text-5xl font-bold">Top Destinations</h1>
40+
<h1 className="text-3xl md:text-5xl font-bold">Top Destinations</h1>
4141
</section>
4242

4343
<section className="grid grid-cols-1 sm:grid-cols-3 items-center gap-4 lg:gap-8 xl:gap-16 special-font">
@@ -57,7 +57,7 @@ const Destination = () => {
5757
</div>
5858
</div>
5959

60-
{destinations.sideImg && <Image src={destinations.sideImg} width={80} height={80} alt="img" className="absolute right-[-20px] sm:right-[-30px] lg:right-[-50px] bottom-[90px]"/>}
60+
{destinations.sideImg && <Image src={destinations.sideImg} width={80} height={80} alt="img" className="absolute right-[-15px] sm:right-[-30px] lg:right-[-50px] bottom-[90px]"/>}
6161
</div>
6262
)}
6363
</section>

src/app/components/Footer.tsx

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
import Image from "next/image";
2+
import { FaFacebookF, FaTwitter } from "react-icons/fa6";
3+
import { CiInstagram } from "react-icons/ci";
4+
5+
const Footer = () => {
6+
return (
7+
<main className="px-[5%] py-[70px] bg-white special-font">
8+
<section className="">
9+
<div className="flex items-center justify-between flex-wrap gap-2">
10+
<div className="flex flex-col gap-2 mb-5 md:mb-0 w-full md:w-auto">
11+
<Image src="/img/footer-logo.png" width={100} height={100} alt="logo" />
12+
<p className="text-[12px] text-litegrey font-semibold w-full md:max-w-[200px]">Book your trip in minute, get full Control for much longer. </p>
13+
</div>
14+
15+
<div className="grid gap-4">
16+
<h1 className="text[18px] text-litedark font-extrabold">Company</h1>
17+
18+
<div className="text-[15px] text-litegrey font-semibold flex flex-col gap-2">
19+
<a href="">About</a>
20+
<a href="">Careers</a>
21+
<a href="">Mobile</a>
22+
</div>
23+
</div>
24+
25+
<div className="grid gap-4">
26+
<h1 className="text[18px] text-litedark font-extrabold">Contact</h1>
27+
28+
<div className="text-[15px] text-litegrey font-semibold flex flex-col gap-2">
29+
<a href="">Help/FAQ</a>
30+
<a href="">Press</a>
31+
<a href="">Affilates</a>
32+
</div>
33+
</div>
34+
35+
<div className="grid gap-4">
36+
<h1 className="text[18px] text-litedark font-extrabold">More</h1>
37+
38+
<div className="text-[15px] text-litegrey font-semibold flex flex-col gap-2">
39+
<a href="">Airlinefees</a>
40+
<a href="">Airline</a>
41+
<a href="">Low fare tips</a>
42+
</div>
43+
</div>
44+
45+
<div className="flex flex-col gap-4 items-center md:items-start justify-center md:justify-start w-full md:w-auto mt-5 md:mt-0">
46+
<div className="flex items-center gap-4">
47+
<FaFacebookF className="text-4xl p-2 text-litedark bg-white rounded-full shadow-md" />
48+
<CiInstagram className="text-4xl p-2 text-litedark bg-white rounded-full shadow-md" />
49+
<FaTwitter className="text-4xl p-2 text-litedark bg-white rounded-full shadow-md" />
50+
</div>
51+
52+
<p className="text-[20px] text-litegrey font-bold">Discover our app</p>
53+
54+
<div className="flex items-center gap-4">
55+
<div className="flex items-center justify-center gap-1 bg-black py-2 px-5 rounded-full">
56+
<Image src="/img/google-play.png" width={20} height={20} alt="img" />
57+
<div>
58+
<h3 className="text-[13px] font-extrabold text-white">GET IT ON</h3>
59+
<p className="text-[11px] font-semi-bold text-white">GOOGLE PLAY</p>
60+
</div>
61+
</div>
62+
63+
<div className="flex items-center justify-center gap-1 bg-black py-2 px-5 rounded-full">
64+
<Image src="/img/apple.png" width={20} height={20} alt="img" />
65+
<div>
66+
<h3 className="text-[11px] font-semibold text-white">Avalible on the</h3>
67+
<p className="text-[13px] font-extrabold text-white">Apple Store</p>
68+
</div>
69+
</div>
70+
</div>
71+
</div>
72+
</div>
73+
</section>
74+
</main>
75+
);
76+
}
77+
78+
export default Footer;

src/app/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Header = () => {
4444
return (
4545
<nav className={`py-5 px-[5%] top-0 w-full fixed flex items-center justify-between z-20 ${headerBackground} special-font`}>
4646
<Link href="/" className="w-[80px]">
47-
<Image src="/img/hero-logo.png" width={80} height={80} alt="logo" className="w-full"/>
47+
<Image src="/img/hero-logo.png" width={80} height={80} alt="logo" className="w-full" loading="eager"/>
4848
</Link>
4949

5050
<section className={`${isMenuOpen ? 'flex' : 'hidden'} absolute top-[68px] md:top-0 left-0 md:relative md:flex flex-col md:flex-row items-start md:items-center justify-start md:justify-between gap-4 lg:gap-8 text-[16px] text-litedark font-bold bg-orange md:bg-transparent pl-[5%] md:pl-auto py-10 md:py-0 w-full md:w-auto`}>

src/app/components/Hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { IoIosPlay } from "react-icons/io";
33

44
const Hero = () => {
55
return (
6-
<main className="relative w-full flex flex-col md:flex-row items-center justify-between py-[100px] px-[5%] bg bg-right-top bg-no-repeat bg-contain h-screen">
6+
<main className="relative w-full flex flex-col md:flex-row items-center justify-between py-[80px] md:py-[100px] px-[5%] bg bg-right-top bg-no-repeat bg-contain h-screen">
77
<section className="w-full md:w-[50%] flex flex-col items-center md:items-start justify-center md:justify-start gap-3">
88
<p className="text-[14px] text-green font-bold special-font">BEST DESTINATIONS AROUND THE WORLD</p>
9-
<h1 className="text-5xl xl:text-6xl text-blue font-extrabold w-full lg:w-[80%] text-center md:text-left">Travel, Enjoy and live a new and full life</h1>
9+
<h1 className="text-4xl md:text-5xl xl:text-6xl text-blue font-extrabold w-full lg:w-[80%] text-center md:text-left">Travel, Enjoy and live a new and full life</h1>
1010
<p className="text-[14px] text-litegrey font-bold w-full lg:w-[80%] xl:w-[65%] text-center md:text-left special-font">Built Wicket longer admire do barton vanity itself do in it. Preferred to sportsmen it engrossed listening. Park gate sell they west hard for the</p>
1111

1212
<div className="flex items-center gap-4 special-font">
@@ -15,8 +15,8 @@ const Hero = () => {
1515
</div>
1616
</section>
1717

18-
<section className="relative">
19-
<Image src="/img/hero-image.png" width={500} height={500} alt="heroimg" className="dangling-picture"/>
18+
<section className="relative mt-10 md:mt-0">
19+
<Image src="/img/hero-image.png" width={500} height={500} alt="heroimg" className="dangling-picture" loading="eager" />
2020
</section>
2121
</main>
2222
);

src/app/components/Sponsors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Sponsors = () => {
2525
return (
2626
<main className="px-[5%] py-[50px] flex items-center justify-center md:justify-between basis-56 flex-wrap gap-6">
2727
{sponsorsLogo.map((sponsors, index) =>
28-
<div className="p-2 md:p-4 rounded-xl bg-white hover:shadow-md flex items-center justify-center h-[100px]" key={index}>
28+
<div className="p-2 md:p-4 rounded-xl bg-white hover:shadow-md shadow-md md:shadow-none flex items-center justify-center h-[100px]" key={index}>
2929
<Image src={sponsors.img} width={100} height={100} alt="img" className="object-contain h-full"/>
3030
</div>
3131
)}

src/app/components/Subscribe.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import Image from "next/image";
2+
import { IoMailOutline } from "react-icons/io5";
3+
4+
const Subscribe = () => {
5+
return (
6+
<main className="relative py-[100px] px-[5%] special-font">
7+
<section className="relative p-8 rounded-lg rounded-tl-3xl flex flex-col gap-10 items-center justify-center bg-gray-100 h-[300px] z-10">
8+
<p className="text-xl md:text-3xl font-bold text-litegrey w-[80%] text-center relative z-10">Subscribe to get information, latest news and other interesting offers about Jadoo</p>
9+
10+
<div className="flex items-center justify-center gap-2 w-full relative z-10">
11+
<label htmlFor="" className="relative w-full md:w-[50%]">
12+
<input type="text" placeholder="Your email" className="relative border-none outline-none bg-white rounded-lg py-3 pl-12 pr-4 w-full text-[15px] font-normal" />
13+
<IoMailOutline className="absolute text-litedark text-3xl top-2 left-2" />
14+
</label>
15+
<button className="bg-[#FF7D68] text-[15px] py-3 px-5 text-white font-medium rounded-lg">Subscribe</button>
16+
</div>
17+
18+
<Image src="/img/ring-bottom.png" width={300} height={300} alt="img" className="absolute bottom-0 left-[-60px]" />
19+
<Image src="/img/ring-top.png" width={180} height={180} alt="img" className="absolute top-0 right-0" />
20+
<Image src="/img/sub.png" width={40} height={40} alt="img" className="absolute top-[-15px] right-[-15px]" />
21+
</section>
22+
23+
<Image src="/img/grid-bottom.png" width={80} height={80} alt="img" className="absolute bottom-[60px] right-0 md:right-[20px]" />
24+
25+
</main>
26+
);
27+
}
28+
29+
export default Subscribe;

src/app/components/Testimonials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Testimonials = () => {
77
<main className="px-[5%] py-[100px] grid grid-cols-1 md:grid-cols-2 gap-6">
88
<section className="grid gap-4">
99
<p className="text-[18px] text-litegrey font-semibold special-font text-center md:text-left">Testimonials</p>
10-
<h1 className="text-5xl font-extrabold w-full md:max-w-[70%] text-center md:text-left">What People Say About Us.</h1>
10+
<h1 className="text-3xl md:text-5xl font-extrabold w-full md:max-w-[70%] text-center md:text-left">What People Say About Us.</h1>
1111

1212
<div className="flex items-center gap-2 justify-center md:justify-start">
1313
<GoDotFill className="text-2xl text-litedark"/>

src/app/globals.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');
66

7-
8-
/* *{
7+
/*
8+
*{
99
border: 2px solid red;
1010
} */
1111

@@ -42,7 +42,5 @@
4242

4343
.bg{
4444
background-image: url(/img/Decore.png);
45-
background-attachment: scroll;
46-
}
47-
48-
45+
background-attachment: fixed;
46+
}

src/app/page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Destination from "./components/Destination"
66
import Book from "./components/Book"
77
import Testimonials from "./components/Testimonials"
88
import Sponsors from "./components/Sponsors"
9+
import Subscribe from "./components/Subscribe"
10+
import Footer from "./components/Footer"
911

1012
export default function Home() {
1113
return (
@@ -17,6 +19,8 @@ export default function Home() {
1719
<Book />
1820
<Testimonials />
1921
<Sponsors />
22+
<Subscribe />
23+
<Footer />
2024
</main>
2125
)
2226
}

tailwind.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const config: Config = {
1515
blue: '#181e4b',
1616
litepurple: '#5e6282',
1717
litegrey: '#686d77',
18+
grey: '#DFD7F9',
1819
litedark: '#212832',
1920
offwhite: '#F5F5F5',
2021
}

0 commit comments

Comments
 (0)