forked from Ayo-Awe/chimoney-community-projects
-
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
ezechuka
committed
Oct 31, 2022
1 parent
d27d2e1
commit 2f78920
Showing
8 changed files
with
108 additions
and
0 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.
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
import heroOne from '../assets/hero-one.png' | ||
import heroTwo from '../assets/hero-two.png' | ||
import heroThree from '../assets/hero-three.png' | ||
import heroFour from '../assets/hero-four.png' | ||
import heroFive from '../assets/hero-five.png' | ||
|
||
const Hero = () => { | ||
return ( | ||
<div className='container mx-auto px-12 flex flex-row justify-center items-center'> | ||
|
||
{/* first column */} | ||
<div className='flex flex-col items-start'> | ||
<img | ||
src={heroOne} | ||
alt={''} | ||
className='rounded-lg p-2 shadow-inner shadow-pink-300/50 drop-shadow-md w-32' | ||
/> | ||
<img | ||
src={heroThree} | ||
alt={''} | ||
className='rounded-lg p-2 ml-20 mt-16 shadow-inner shadow-green-300/50 drop-shadow-md w-32' | ||
/> | ||
</div> | ||
|
||
{/* second column */} | ||
<div className='flex flex-col justify-between items-center space-y-6'> | ||
<h1 className='text-center text-5xl max-w-3xl font-epilogue font-semibold'> | ||
Make hassle-free payments across Africa | ||
</h1> | ||
<p className='text-center font-epilogue max-w-md'> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Mollitia vero | ||
quas cupiditate iste! Maiores harum, Quis saepe cum placeat | ||
</p> | ||
<button className='font-epilogue font-medium rounded-lg py-2 px-6 ring-2 ring-gray-400 | ||
hover:ring-purple-500 hover:shadow-lg hover:scale-105 transition-all'> | ||
Get Started | ||
</button> | ||
</div> | ||
|
||
{/* third column */} | ||
<div className='flex flex-col items-end'> | ||
<img | ||
src={heroFour} | ||
alt={''} | ||
className='rounded-lg p-2 shadow-inner shadow-purple-300/50 drop-shadow-md w-32' | ||
/> | ||
<img | ||
src={heroFive} | ||
alt={''} | ||
className='rounded-lg p-2 mr-20 mt-16 shadow-inner shadow-blue-300/50 drop-shadow-md w-32' | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Hero |
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,25 @@ | ||
import Hero from "./Hero" | ||
import Navbar from "./Navbar" | ||
|
||
const Layout = ({ children }) => { | ||
return ( | ||
<> | ||
<header | ||
className='h-screen flex flex-col justify-start items-center | ||
bg-gradient-to-bl from-purple-50 to-blue-100'> | ||
<Navbar /> | ||
<Hero /> | ||
</header> | ||
|
||
<main className=''> | ||
{children} | ||
</main> | ||
|
||
<footer> | ||
|
||
</footer> | ||
</> | ||
) | ||
} | ||
|
||
export default Layout |
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,25 @@ | ||
const Navbar = () => { | ||
return ( | ||
<nav className='container mx-auto p-12'> | ||
<div className='flex flex-row justify-between items-center'> | ||
<p className='font-epilogue text-xl font-medium'> | ||
PayPaddy | ||
</p> | ||
|
||
<div className='flex flex-row justify-evenly items-center space-x-12'> | ||
<button aria-label='login button' | ||
className='font-epilogue font-medium py-1.5 hover:text-purple-500 | ||
transition-all hover:border-b-[3px] hover:border-purple-500'> | ||
Login | ||
</button> | ||
<button className='font-epilogue font-medium rounded-lg py-2 px-6 ring-2 ring-gray-400 | ||
hover:ring-purple-500 hover:shadow-lg hover:scale-105 transition-all'> | ||
Signup | ||
</button> | ||
</div> | ||
</div> | ||
</nav> | ||
) | ||
} | ||
|
||
export default Navbar |