aboutsummaryrefslogblamecommitdiffstats
path: root/packages/website/ts/@next/components/sections/landing/hero.tsx
blob: 504ee60256ce87b7a82b9c02216f1d98dc70ecbd (plain) (tree)
1
2
3
4
5
6
7
8
9
                               
 
                                                  
                                              
                                                               
 
                                                                

                                         

                                               
                           
                                                                                                 
                                                               
                                 

      
 
                           
      
                                                                  

                       
 
                                                                    


                      
  
import * as React from 'react';

import {Button} from 'ts/@next/components/button';
import {Hero} from 'ts/@next/components/hero';
import {LandingAnimation} from 'ts/@next/components/heroImage';

import {HeroAnimation} from 'ts/@next/components/heroAnimation';

export const SectionLandingHero = () => (
    <Hero
        title="Powering Decentralized Exchange"
        isLargeTitle={true}
        description="0x is the best solution for adding exchange functionality to your business."
        figure={<LandingAnimation image={<HeroAnimation />} />}
        actions={<HeroActions />}
    />
);

const HeroActions = () => (
    <>
        <Button href="https://0xproject.com/docs" isInline={true}>
            Get Started
        </Button>

        <Button to="/next/why" isTransparent={true} isInline={true}>
            Learn More
        </Button>
    </>
);