-
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.
Delete laurels.png and update tailwind.config.js
- Loading branch information
1 parent
d06cd55
commit 4ae5c1c
Showing
7 changed files
with
105 additions
and
75 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.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import Image from 'next/image' | ||
|
||
export default function Hero() { | ||
return( | ||
<> | ||
<div className="h-[400px] sm:h-[600px] bg-gray-200 relative"> | ||
<Image | ||
src="/panoramic.png" | ||
layout="fill" | ||
objectFit="cover" | ||
alt="Hero Image" | ||
/> | ||
<div className="absolute inset-0 bg-gradient-to-b from-[rgba(31,78,158,1)] via-[rgba(31,78,158,0.85)] to-[rgba(31,78,158,0.9)]"> | ||
</div> | ||
<div className="w-full sm:w-auto absolute top-1/3 left-1/2 -translate-x-1/2 -translate-y-1/2 text-center text-white mt-7 "> | ||
<div className="flex justify-center mb-2 sm:hidden"> | ||
<Image | ||
src="/laurels-color.png" | ||
width={150} | ||
height={200} | ||
/> | ||
</div> | ||
<div className="justify-center mb-8 hidden sm:flex"> | ||
<Image | ||
src="/laurels-color.png" | ||
width={220} | ||
height={200} | ||
/> | ||
</div> | ||
<h1 className="text-2xl sm:text-4xl font-bold pb-3">Discover the Best Landing Pages</h1> | ||
<p className="mt-4 text-sm sm:text-xl font-medium "> Your One-Stop for High Conversion Landing Designs & Inspiration! Hand-picked to ensure Highest Quality.</p> | ||
</div> | ||
</div> | ||
|
||
</> | ||
) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { faGithub } from '@fortawesome/free-brands-svg-icons'; | ||
import Image from 'next/image'; | ||
|
||
|
||
export default function Navbar() { | ||
|
||
return ( | ||
<header> | ||
<nav className="bg-white dark:bg-gray-900 w-full z-20 top-0 start-0 border-b border-gray-200 dark:border-gray-600"> | ||
<div className="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-3"> | ||
<div className="flex items-center space-x-3 rtl:space-x-reverse"> | ||
|
||
<Image | ||
src="/landing-hero.png" | ||
alt="Panda" | ||
className=" rounded-full" | ||
width={50} | ||
height={50} | ||
/> | ||
|
||
<span className="self-center sm:block hidden text-xl font-semibold whitespace-nowrap dark:text-white"> | ||
LandingHero | ||
|
||
</span> | ||
|
||
</div> | ||
<div className="flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse"> | ||
<button type="button" className="text-white bg-github hover:bg-blue-500 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"> | ||
<FontAwesomeIcon icon={faGithub} className='pr-2' /> | ||
View on GitHub | ||
</button> | ||
</div> | ||
<div className="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-sticky"> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
); | ||
} |
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