Added some color to the hero sections, redid the menu system

This commit is contained in:
steven 2021-08-19 22:39:57 -07:00
parent 97d2405e91
commit 36c17f7b32
7 changed files with 286 additions and 18 deletions

View File

@ -238,7 +238,7 @@ const CommunityCard = (props) => (
const CommunitySection = () => { const CommunitySection = () => {
return ( return (
<div className=""> <div className="">
<div className="bg-th-bkg-3 h-2150 transform -skew-y-3 pt-12 md:pt-48 pb-32 lg:pb-48 mb-48 lg:mb-48 -mt-40 sm:mt-30"> <div className="bg-th-bkg-3 border border-bkg-3 h-2150 transform -skew-y-3 pt-12 md:pt-48 pb-32 lg:pb-48 mb-48 lg:mb-48 -mt-40 sm:mt-30">
<div className="max-w-7xl mx-auto px-4 transform skew-y-3"> <div className="max-w-7xl mx-auto px-4 transform skew-y-3">
<section className="py-12 px-3 lg:mt-60 md:mt-24 sm:mt-36 xs:mt-60"> <section className="py-12 px-3 lg:mt-60 md:mt-24 sm:mt-36 xs:mt-60">
<div className="flex flex-wrap justify-center items-center lg:text-center md:text-center sm:text-left"> <div className="flex flex-wrap justify-center items-center lg:text-center md:text-center sm:text-left">

View File

@ -41,7 +41,7 @@ const HeroSectionHome = () => {
<main className="mt-16 sm:mt-16"> <main className="mt-16 sm:mt-16">
<div className="mx-auto max-w-7xl"> <div className="mx-auto max-w-7xl">
<div className="lg:grid lg:grid-cols-12 lg:gap-8"> <div className="lg:grid lg:grid-cols-12 lg:gap-8">
<div className="px-2 ml-6 sm:pr-6 sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:my-24"> <div className="px-2 ml-6 sm:pr-6 sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:my-24 z-10">
<div /*ref={el => {heroText = el}}*/> <div /*ref={el => {heroText = el}}*/>
<h1 className="mb-3 lg:text-5xl md:text-4xl sm:text-4xl xs:text-3xl text-white font-bold font-heading"> <h1 className="mb-3 lg:text-5xl md:text-4xl sm:text-4xl xs:text-3xl text-white font-bold font-heading">
Long &amp; short everything. Long &amp; short everything.
@ -117,6 +117,11 @@ const HeroSectionHome = () => {
</div> </div>
</div> </div>
</div> </div>
<div className="z-0 absolute -bottom-4 left-96">
<div className="absolute bottom-4 left-8 w-450 h-450 bg-mango-yellow mix-blend-screen rounded-full filter blur-3xl opacity-10 animate-blob"></div>
<div className="absolute bottom-4 w-450 h-450 bg-mango-red mix-blend-screen rounded-full filter blur-2xl opacity-30 animate-blob animation-delay-4000"></div>
<div className="absolute bottom-8 left-20 w-450 h-450 bg-mango-green mix-blend-screen rounded-full filter blur-2xl opacity-20 animate-blob animation-delay-2000"></div>
</div>
</div> </div>
</main> </main>
</div> </div>

View File

@ -86,6 +86,7 @@ const LendSection = () => {
</div> </div>
</section> </section>
</div> </div>
<div className="w-full mx-auto px-4"> <div className="w-full mx-auto px-4">
<section className="px-3 mt-28"> <section className="px-3 mt-28">
<div className="flex flex-col justify-center items-center text-center"> <div className="flex flex-col justify-center items-center text-center">
@ -106,7 +107,7 @@ const LendSection = () => {
Liquidity Available Liquidity Available
</span> </span>
</GradientText> */} </GradientText> */}
<div className="mt-4 flex flex-wrap text-left"> <div className="z-10 mt-4 flex flex-wrap text-left">
<LendCard {...propsFor('USDC')} /> <LendCard {...propsFor('USDC')} />
<LendCard {...propsFor('BTC')} /> <LendCard {...propsFor('BTC')} />
<LendCard {...propsFor('ETH')} /> <LendCard {...propsFor('ETH')} />
@ -120,9 +121,17 @@ const LendSection = () => {
*/} */}
</div> </div>
</div> </div>
<div className="z-0 relative -bottom-96 ">
<div className="absolute bottom-4 left-8 w-450 h-450 bg-mango-yellow mix-blend-screen rounded-full filter blur-3xl opacity-10 animate-blob"></div>
<div className="absolute bottom-4 w-450 h-450 bg-mango-red mix-blend-screen rounded-full filter blur-2xl opacity-30 animate-blob animation-delay-4000"></div>
<div className="absolute bottom-8 left-20 w-450 h-450 bg-mango-green mix-blend-screen rounded-full filter blur-2xl opacity-20 animate-blob animation-delay-2000"></div>
</div>
</div> </div>
</section> </section>
</div> </div>
<div className="max-w-7xl mx-auto px-4"> <div className="max-w-7xl mx-auto px-4">
<section className="px-3"> <section className="px-3">
<div className="lg:grid lg:grid-cols-12 lg:gap-8"> <div className="lg:grid lg:grid-cols-12 lg:gap-8">
@ -135,6 +144,7 @@ const LendSection = () => {
/> />
</div> </div>
</div> </div>
{/* {/*
<div className="lg:col-span-6"> <div className="lg:col-span-6">
<div className="z-10 relative -right-60 pl-4 sm:mx-auto sm:max-w-3xl sm:px-0 lg:max-w-none lg:h-full"> <div className="z-10 relative -right-60 pl-4 sm:mx-auto sm:max-w-3xl sm:px-0 lg:max-w-none lg:h-full">
@ -147,7 +157,9 @@ const LendSection = () => {
</div> </div>
*/} */}
</div> </div>
</section> </section>
</div> </div>
</div> </div>
) )

View File

@ -2,12 +2,15 @@ import { useEffect, useState } from 'react'
import MangoPill from '../components/MangoPill' import MangoPill from '../components/MangoPill'
//import MangoSale from '../components/MangoSale' //import MangoSale from '../components/MangoSale'
import Button from './Button' import Button from './Button'
import GradientText from './GradientText'
const NavBarBeta = () => { const NavBarBeta = () => {
const [mobileMenuVisible, setMobileMenuVisible] = useState(false) const [mobileMenuVisible, setMobileMenuVisible] = useState(false)
const [productMenuVisible, setProductMenuVisible] = useState(false) const [productMenuVisible, setProductMenuVisible] = useState(false)
const [supportMenuVisible, setSupportMenuVisible] = useState(false) const [supportMenuVisible, setSupportMenuVisible] = useState(false)
const [communityMenuVisible, setCommunityMenuVisible] = useState(false)
const toggleMobileMenu = (e) => { const toggleMobileMenu = (e) => {
setMobileMenuVisible(!mobileMenuVisible) setMobileMenuVisible(!mobileMenuVisible)
e.stopPropagation() e.stopPropagation()
@ -16,12 +19,21 @@ const NavBarBeta = () => {
const toggleProducts = (e) => { const toggleProducts = (e) => {
setProductMenuVisible(!productMenuVisible) setProductMenuVisible(!productMenuVisible)
setSupportMenuVisible(false) setSupportMenuVisible(false)
setCommunityMenuVisible(false)
e.stopPropagation()
}
const toggleCommunity = (e) => {
setCommunityMenuVisible(!communityMenuVisible)
setSupportMenuVisible(false)
setProductMenuVisible(false)
e.stopPropagation() e.stopPropagation()
} }
const toggleSupport = (e) => { const toggleSupport = (e) => {
setSupportMenuVisible(!supportMenuVisible) setSupportMenuVisible(!supportMenuVisible)
setProductMenuVisible(false) setProductMenuVisible(false)
setCommunityMenuVisible(false)
e.stopPropagation() e.stopPropagation()
} }
@ -29,6 +41,7 @@ const NavBarBeta = () => {
setMobileMenuVisible(false) setMobileMenuVisible(false)
setProductMenuVisible(false) setProductMenuVisible(false)
setSupportMenuVisible(false) setSupportMenuVisible(false)
setCommunityMenuVisible(false)
} }
const doNothing = (e) => { const doNothing = (e) => {
@ -91,7 +104,7 @@ const NavBarBeta = () => {
<span>Products</span> <span>Products</span>
<svg <svg
className="text-gray-400 ml-2 h-5 w-5 group-hover:text-gray-500" className="text-gray-400 ml-2 h-5 w-5 group-hover:text-mango-yellow"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20" viewBox="0 0 20 20"
fill="currentColor" fill="currentColor"
@ -110,9 +123,9 @@ const NavBarBeta = () => {
!productMenuVisible && 'hidden' !productMenuVisible && 'hidden'
} absolute z-50 -ml-4 mt-3 transform px-2 w-screen max-w-md sm:px-0 lg:ml-0 lg:left-1/2 lg:-translate-x-1/2`} } absolute z-50 -ml-4 mt-3 transform px-2 w-screen max-w-md sm:px-0 lg:ml-0 lg:left-1/2 lg:-translate-x-1/2`}
> >
<div className="rounded-lg border border-bkg-3 shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden"> <div className="w-700 grid grid-cols-2 rounded-lg border border-bkg-3 shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden">
<div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8"> <div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8">
<h3 className="text-sm tracking-wide font-medium text-yellow-300 uppercase"> <h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
Trading Trading
</h3> </h3>
<a <a
@ -211,7 +224,10 @@ const NavBarBeta = () => {
</div> </div>
</a> </a>
<h3 className="text-sm tracking-wide font-medium text-yellow-300 uppercase"> </div>
<div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8">
<h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
Infrastructure Infrastructure
</h3> </h3>
@ -246,7 +262,38 @@ const NavBarBeta = () => {
</div> </div>
</a> </a>
<h3 className="text-sm tracking-wide font-medium text-yellow-300 uppercase"> <a
href="https://gitlab.com/OpinionatedGeek/mango-explorer/-/blob/master/Quickstart.md"
className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4"
>
<svg
className="flex-shrink-0 h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 22 22"
stroke="currentColor"
aria-hidden="true"
>
<path d="M1 4L4 5M4 5L1 14C2.77253 15.3334 5.22866 15.3334 7.00119 14M4 5L7.00006 14M4 5L10 3M16 5L19 4M16 5L13 14C14.7725 15.3334 17.2287 15.3334 19.0012 14M16 5L19.0001 14M16 5L10 3M10 1V3M10 19V3M10 19H7M10 19H13"
stroke="#4E4D65"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"/>
</svg>
<div className="ml-4">
<p className="text-base font-medium text-white">
Market Making Program
</p>
<p className="mt-1 text-sm text-gray-500">
Provide liquidity and earn MNGO, become a
decentralized market maker.
</p>
</div>
</a>
<h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
MERCH MERCH
</h3> </h3>
<a <a
@ -254,11 +301,13 @@ const NavBarBeta = () => {
className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4" className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4"
> >
<svg <svg
width="29" className="flex-shrink-0 h-6 w-6"
height="24" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 23 18" fill="none"
fill="none" viewBox="0 0 22 22"
xmlns="http://www.w3.org/2000/svg"> stroke="currentColor"
aria-hidden="true"
>
<path d="M14.5 2.50029C15.8333 3.06167 18 5.91603 16 12.8424M14.5 2.50029C14.141 2.45542 13.7301 2.43894 13.2858 2.46255M14.5 2.50029C15.04 2.60153 15.539 2.72783 16 2.8758M5.5 11.0003C5.83333 10.8336 6.9 10.6002 8.5 11.0003C10.1027 11.401 13.6319 12.4439 16 12.8424M5.5 11.0003L1.5 14.0004C1.16667 14.3337 0.800001 14.9004 2 14.5004C3.5 14.0004 6 14.0004 9 16.0004C12 18.0004 16.5 15.0005 17.5 13.0004M5.5 11.0003C6.19231 4.42331 10.4294 2.61435 13.2858 2.46255M17.5 13.0004C19.1 13.0004 20 13.5004 20 13.5004C20.5 13.6671 21.5 13.7004 21.5 12.5004C21.5 11.1016 22.3696 4.92012 16 2.8758M17.5 13.0004C17.1027 13.0004 16.587 12.9412 16 12.8424M13.2858 2.46255C13.5 1 15 1.49993 15 1.49993C15 1.49993 16 1.49979 16 2.8758" stroke="#4F4C67" strokeWidth="2"/> <path d="M14.5 2.50029C15.8333 3.06167 18 5.91603 16 12.8424M14.5 2.50029C14.141 2.45542 13.7301 2.43894 13.2858 2.46255M14.5 2.50029C15.04 2.60153 15.539 2.72783 16 2.8758M5.5 11.0003C5.83333 10.8336 6.9 10.6002 8.5 11.0003C10.1027 11.401 13.6319 12.4439 16 12.8424M5.5 11.0003L1.5 14.0004C1.16667 14.3337 0.800001 14.9004 2 14.5004C3.5 14.0004 6 14.0004 9 16.0004C12 18.0004 16.5 15.0005 17.5 13.0004M5.5 11.0003C6.19231 4.42331 10.4294 2.61435 13.2858 2.46255M17.5 13.0004C19.1 13.0004 20 13.5004 20 13.5004C20.5 13.6671 21.5 13.7004 21.5 12.5004C21.5 11.1016 22.3696 4.92012 16 2.8758M17.5 13.0004C17.1027 13.0004 16.587 12.9412 16 12.8424M13.2858 2.46255C13.5 1 15 1.49993 15 1.49993C15 1.49993 16 1.49979 16 2.8758" stroke="#4F4C67" strokeWidth="2"/>
</svg> </svg>
<div className="ml-4"> <div className="ml-4">
@ -272,17 +321,182 @@ const NavBarBeta = () => {
</div> </div>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div className="relative">
<button
type="button"
className="text-gray-500 group rounded-md p-1 px-2 inline-flex items-center text-base font-medium hover:bg-th-fgd-4 hover:text-white focus:outline-none "
onClick={toggleCommunity}
>
<span>Community</span>
<svg
className="text-gray-400 ml-2 h-5 w-5 group-hover:text-mango-yellow"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
>
<path
fillRule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clipRule="evenodd"
/>
</svg>
</button>
<div
className={`${
!communityMenuVisible && 'hidden'
} absolute z-50 -ml-4 mt-3 transform px-2 w-screen max-w-md sm:px-0 lg:ml-0 lg:left-1/2 lg:-translate-x-1/2`}
>
<div className="w-700 grid grid-cols-2 rounded-lg border border-bkg-3 shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden">
<div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8">
<h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
Developers
</h3>
<a
href="https://docs.mango.markets/"
className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4"
>
<svg
className="flex-shrink-0 h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 22 22"
stroke="currentColor"
aria-hidden="true"
>
<path d="M10 2.25278V15.2528M10 2.25278C8.83211 1.47686 7.24649 1 5.5 1C3.75351 1 2.16789 1.47686 1 2.25278V15.2528C2.16789 14.4769 3.75351 14 5.5 14C7.24649 14 8.83211 14.4769 10 15.2528M10 2.25278C11.1679 1.47686 12.7535 1 14.5 1C16.2465 1 17.8321 1.47686 19 2.25278V15.2528C17.8321 14.4769 16.2465 14 14.5 14C12.7535 14 11.1679 14.4769 10 15.2528"
stroke="#4E4D65"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"/>
</svg>
<div className="ml-4">
<p className="text-base font-medium text-white">
Explore the docs
</p>
<p className="mt-1 text-sm text-gray-500">
Trade BTC, ETH, SOL, and SRM, cross collateralized
with up to 5x leverage.
</p>
</div>
</a>
<a
href="#"
onClick={doNothing}
className="disabled -m-3 p-3 flex items-start rounded-lg opacity-50"
>
<svg
className="flex-shrink-0 h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 22 22"
stroke="currentColor"
aria-hidden="true"
>
<path d="M2.31802 2.31802C0.56066 4.07538 0.56066 6.92462 2.31802 8.68198L10.0001 16.364L17.682 8.68198C19.4393 6.92462 19.4393 4.07538 17.682 2.31802C15.9246 0.56066 13.0754 0.56066 11.318 2.31802L10.0001 3.63609L8.68198 2.31802C6.92462 0.56066 4.07538 0.56066 2.31802 2.31802Z"
stroke="#4E4D65"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"/>
</svg>
<div className="ml-4">
<div className="text-base font-medium text-white">
Protocol Status <MangoPill>SOON</MangoPill>
</div>
<p className="mt-1 text-sm text-gray-500">
Uptime, API status, check to make sure Mango is running.
</p>
</div>
</a>
</div>
<div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8">
<h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
Governance
</h3>
<a
href="https://dao.mango.markets"
className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4"
>
<svg
className="flex-shrink-0 h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 22 22"
stroke="currentColor"
aria-hidden="true"
>
<path d="M1.05493 9H3C4.10457 9 5 9.89543 5 11V12C5 13.1046 5.89543 14 7 14C8.10457 14 9 14.8954 9 16V18.9451M6 1.93552V3.5C6 4.88071 7.11929 6 8.5 6H9C10.1046 6 11 6.89543 11 8C11 9.10457 11.8954 10 13 10C14.1046 10 15 9.10457 15 8C15 6.89543 15.8954 6 17 6L18.0645 6M13 18.4879V16C13 14.8954 13.8954 14 15 14H18.0645M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z"
stroke="#4E4D65"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"/>
</svg>
<div className="ml-4">
<p className="text-base font-medium text-white">
Mango DAO
</p>
<p className="mt-1 text-sm text-gray-500">
Mango is building a decentralized ecosystem, have a stake in it.
</p>
</div>
</a>
<a
href="https://token.mango.markets"
className="-m-3 p-3 flex items-start rounded-lg hover:bg-th-fgd-4"
>
<svg
className="flex-shrink-0 h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 22 22"
stroke="currentColor"
aria-hidden="true"
>
<path d="M10 6V19M10 6C10 6 10 4.50722 10 4C10 2.89543 10.8954 2 12 2C13.1046 2 14 2.89543 14 4C14 5.10457 13.1046 6 12 6C11.4027 6 10 6 10 6ZM10 6C10 6 10 4.06291 10 3.5C10 2.11929 8.88071 1 7.5 1C6.11929 1 5 2.11929 5 3.5C5 4.88071 6.11929 6 7.5 6C8.3178 6 10 6 10 6ZM3 10H17M3 10C1.89543 10 1 9.10457 1 8C1 6.89543 1.89543 6 3 6H17C18.1046 6 19 6.89543 19 8C19 9.10457 18.1046 10 17 10M3 10L3 17C3 18.1046 3.89543 19 5 19H15C16.1046 19 17 18.1046 17 17V10"
stroke="#4E4D65"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"/>
</svg>
<div className="ml-4">
<p className="text-base font-medium text-white">
Redeem your <GradientText>MNGO</GradientText>
</p>
<p className="mt-1 text-sm text-gray-500">
Participated in the launch of the DAO? Redeem your tokens here.
</p>
</div>
</a>
</div>
</div>
</div>
</div>
{/*
<a <a
href="https://docs.mango.markets/" href="https://docs.mango.markets/"
className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 hover:text-white focus:outline-none rounded-md" className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 hover:text-white focus:outline-none rounded-md"
> >
Docs Docs
</a> </a>
*/}
<div className="relative"> <div className="relative">
<button <button
type="button" type="button"
@ -292,7 +506,7 @@ const NavBarBeta = () => {
<span>Support</span> <span>Support</span>
<svg <svg
className="text-gray-400 ml-2 h-5 w-5 group-hover:text-gray-500" className="text-gray-400 ml-2 h-5 w-5 group-hover:text-mango-yellow"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20" viewBox="0 0 20 20"
fill="currentColor" fill="currentColor"
@ -313,7 +527,7 @@ const NavBarBeta = () => {
> >
<div className="rounded-lg border border-bkg-3 shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden"> <div className="rounded-lg border border-bkg-3 shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden">
<div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8"> <div className="relative grid gap-6 bg-th-bkg-3 px-5 py-6 sm:gap-8 sm:p-8">
<h3 className="text-sm tracking-wide font-medium text-yellow-300 uppercase"> <h3 className="text-sm tracking-wide font-bold text-yellow-300 uppercase">
Social Social
</h3> </h3>
<a <a
@ -410,7 +624,7 @@ const NavBarBeta = () => {
</div> </div>
</div> </div>
</div> </div>
{/*
<a <a
href="https://dao.mango.markets" href="https://dao.mango.markets"
className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 focus:outline-none rounded-md" className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 focus:outline-none rounded-md"
@ -421,6 +635,7 @@ const NavBarBeta = () => {
<p>Mango DAO</p> <p>Mango DAO</p>
</div> </div>
</a> </a>
<a <a
href="https://token.mango.markets" href="https://token.mango.markets"
className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 focus:outline-none rounded-md" className="text-base font-medium text-gray-500 p-1 px-2 hover:bg-th-fgd-4 focus:outline-none rounded-md"
@ -431,6 +646,7 @@ const NavBarBeta = () => {
<p>Redeem</p> <p>Redeem</p>
</div> </div>
</a> </a>
*/}
</nav> </nav>
<div className="hidden md:flex items-center justify-end md:flex-1 lg:w-0"> <div className="hidden md:flex items-center justify-end md:flex-1 lg:w-0">
<div> <div>

View File

@ -6,7 +6,7 @@ import Link from './Link'
const TradeSection = () => { const TradeSection = () => {
return ( return (
<div className=""> <div className="">
<div className="bg-gradient-to-br from-th-bkg-3 via-th-bkg-3 to-th-bkg-2 h-auto transform -skew-y-3 lg:mb-48 lg:-mt-64 md:pt-48 md:mb-48 md:-mt-64 xs:my-0 overflow-hidden"> <div className="bg-gradient-to-br border border-bkg-3 from-th-bkg-3 via-th-bkg-3 to-th-bkg-2 h-auto transform -skew-y-3 lg:mb-48 lg:-mt-64 md:pt-48 md:mb-48 md:-mt-64 xs:my-0 overflow-hidden">
<div className="max-w-7xl mx-auto px-4 transform skew-y-3"> <div className="max-w-7xl mx-auto px-4 transform skew-y-3">
<section className="py-12 px-3 lg:mt-0 md:mt-0 sm:mt-28 "> <section className="py-12 px-3 lg:mt-0 md:mt-0 sm:mt-28 ">
<div className="max-w-7xl mx-auto"> <div className="max-w-7xl mx-auto">

View File

@ -16,3 +16,12 @@
--fgd-3: theme('colors.mango-theme["fgd-3"]'); --fgd-3: theme('colors.mango-theme["fgd-3"]');
--fgd-4: theme('colors.mango-theme["fgd-4"]'); --fgd-4: theme('colors.mango-theme["fgd-4"]');
} }
@layer utilities {
.animation-delay-2000 {
animation-delay: 2s;
}
.animation-delay-4000 {
animation-delay: 4s;
}
}

View File

@ -45,12 +45,17 @@ module.exports = {
}), }),
height: { height: {
450: '450px',
650: '650px', 650: '650px',
675: '675px', 675: '675px',
700: '700px', 700: '700px',
750: '750px', 750: '750px',
1750: '1750px', 1750: '1750px',
}, },
width: {
450: '450px',
700: '700px',
},
cursor: { cursor: {
help: 'help', help: 'help',
}, },
@ -122,6 +127,27 @@ module.exports = {
'th-green': 'var(--green)', 'th-green': 'var(--green)',
'th-green-dark': 'var(--green-dark)', 'th-green-dark': 'var(--green-dark)',
}, },
animation: {
blob:"blob 12s infinite"
},
keyframes:{
blob: {
"0%": {
transform: "translate(0px, 0px) scale(1)",
},
"33%": {
transform: "translate(30px, -50px) scale(1.2)",
},
"66%": {
transform: "translate(-20px, 20px) scale(0.9)",
},
"100%": {
transform: "translate(0px, 0px) scale(1)",
},
},
},
}, },
}, },
variants: { variants: {