-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7568712
commit a1aa07a
Showing
16 changed files
with
289 additions
and
54 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
import Image from "next/image"; | ||
import bg from "../Images/bg.jpg"; | ||
import Link from 'next/link' | ||
|
||
import bg from "../Images/banner.jpg"; | ||
import Link from "next/link"; | ||
|
||
function Banner() { | ||
|
||
return ( | ||
<div className="relative h-[300px] sm:h-[400px] lg:h-[500px] xl:h-[600px] 2xl:h-[800px]"> | ||
|
||
<Image | ||
return ( | ||
<div className="relative h-[300px] sm:h-[400px] lg:h-[500px] xl:h-[600px] 2xl:h-[800px]"> | ||
|
||
<Image | ||
src={bg} | ||
alt="Picture of the author" | ||
layout="fill" | ||
objectFit="cover" | ||
/> | ||
<div className="absolute top-1/2 w-full text-center"> | ||
<p className="text-lg text-white sm:text-2xl md:text-5xl"> | ||
Discover the world? | ||
</p> | ||
opacity="25" | ||
className="opacity-60" | ||
/> | ||
|
||
<div className="absolute top-1/4 w-full text-center space-y-5 md:space-y-20"> | ||
<div class="text-xl sm:text-3xl xl:text-4xl text-primary"> | ||
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-green-700 md:text-9xl text-5xl font-extrabold uppercase">Paradise</span> | ||
<br></br> Discover the world | ||
|
||
</div> | ||
|
||
<Link href="/explore"> | ||
<button className="text-purple-500 bg-white px-10 py-3 shadow-md rounded-full font-bold my-5 hover:shadow-2xl active:scale-90 transition duration-150"> | ||
<button className="text-primary text-sm md:text-md lg:text-lg bg-white px-5 md:px-10 py-1 md:py-3 shadow-md rounded-full font-bold my-5 hover:shadow-2xl active:scale-90 transition duration-150"> | ||
Lets Holiday | ||
</button> | ||
</button> | ||
</Link> | ||
<div className="w-20 h-40 absolute bg-blue rounded-full bottom-20 left-20 transform rotate-45 hidden md:block"></div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
) | ||
); | ||
} | ||
|
||
export default Banner | ||
export default Banner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a1aa07a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: