responsive
This commit is contained in:
parent
102ae69abd
commit
5112f2ce7f
|
@ -18,8 +18,8 @@ const HeroSectionHome = () => {
|
|||
// })
|
||||
// }, [])
|
||||
return (
|
||||
<div className="grid grid-cols-12 gap-6 lg:gap-10 h-[calc(100%-160px)] flex items-center">
|
||||
<div className="col-span-12 lg:col-span-6 xl:col-span-5 lg:pl-20 xs:px-6 text-center lg:text-left order-2 lg:order-1 max-w-[800px] mx-auto">
|
||||
<div className="flex flex-col-reverse lg:flex-row items-center lg:px-20 xs:px-6">
|
||||
<div className="text-center lg:text-left max-w-[800px] mx-auto w-full lg:w-1/2 lg:pr-16">
|
||||
<h1 className="mb-4">Safer. Simpler. Smarter.</h1>
|
||||
<p className="text-base lg:text-lg text-th-fgd-3 mb-6">
|
||||
A magical new way to interact with DeFi. Groundbreaking safety
|
||||
|
@ -54,10 +54,10 @@ const HeroSectionHome = () => {
|
|||
</div>
|
||||
{/* <p className="mt-8 text-xs">Website under contruction.</p> */}
|
||||
</div>
|
||||
<div className="col-span-12 lg:col-span-6 xl:col-span-7 relative h-max order-1 lg:order-2">
|
||||
<div className="relative h-max w-full lg:w-1/2 flex justify-center mb-8 lg:mb-0">
|
||||
<img
|
||||
// ref={sideImage}
|
||||
className="relative lg:absolute w-2/3 md:w-1/2 lg:w-full h-auto lg:top-1/2 lg:-translate-y-1/2 left-1/2 -translate-x-1/2 lg:left-0 lg:translate-x-10 lg:mt-8"
|
||||
className="w-2/3 md:w-1/2 lg:w-full h-auto "
|
||||
src="../img/swap-trade.png"
|
||||
alt=""
|
||||
/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const NavBarBeta = () => {
|
||||
return (
|
||||
<div className="">
|
||||
<div className="max-w-[1600px] mx-auto">
|
||||
{/* Main Menu */}
|
||||
<div className="lg:px-20 xs:px-6 xs:py-1 bg-transparent">
|
||||
<div className="flex justify-between items-center py-6">
|
||||
|
@ -8,7 +8,9 @@ const NavBarBeta = () => {
|
|||
<a className="flex items-center" href="https://mango.markets">
|
||||
<span className="sr-only">Mango</span>
|
||||
<img className="h-8" src="/logo.svg" alt="" width="auto" />
|
||||
<span className="font-display text-2xl ml-2">Mango</span>
|
||||
<span className="hidden md:block font-display text-2xl ml-2">
|
||||
Mango
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div className="flex flex-row">
|
||||
|
|
|
@ -4,11 +4,12 @@ import HeroSectionHome from '../components/HeroSectionHome'
|
|||
const Index = () => {
|
||||
return (
|
||||
<div
|
||||
className={`radial-gradient-bg bg-gradient-to-br from-th-bkg-2 to-th-bkg-1 text-th-fgd-1 transition-all h-screen overflow-hidden`}
|
||||
className={`radial-gradient-bg text-th-fgd-1 transition-all min-h-screen`}
|
||||
>
|
||||
{/* <div className="w-screen h-2 bg-gradient-to-r from-mango-red via-mango-yellow to-mango-green"></div> */}
|
||||
<NavBarBeta />
|
||||
<HeroSectionHome />
|
||||
<div className="max-w-[1600px] mx-auto min-h-[calc(100vh-160px)] flex flex-col justify-center">
|
||||
<HeroSectionHome />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ th {
|
|||
/* Base */
|
||||
|
||||
body {
|
||||
@apply font-body text-sm;
|
||||
@apply bg-th-bkg-1 font-body text-sm h-full;
|
||||
}
|
||||
|
||||
button {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue