This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +14
-12
lines changed
Expand file tree Collapse file tree 6 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1212 width : 100% ;
1313 flex-wrap : nowrap ;
1414 margin-bottom : rem (6.4 );
15- gap : rem (3 );
15+ gap : rem (20 );
1616 display : flex ;
17- justify-content : space-evenly ;
17+ justify-content : center ;
1818 padding : 0 rem (1 );
1919
2020 @media screen and (max-width : 992px ) {
2121 margin-top : rem (3 );
22+ gap : rem (8.8 );
2223 }
2324
2425 @media screen and (max-width : 425px ) {
2526 flex-direction : column ;
27+ gap : rem (3 );
2628 }
2729 }
2830
3941 margin : rem (1.6 ) 0 ;
4042 }
4143
42- img {
43- margin-bottom : rem (4 );
44- }
45-
4644 @media screen and (max-width : 992px ) {
4745 flex-wrap : wrap ;
4846 width : 90% ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export const Benefits = () => {
5252 < article className = { styles . InformationContainer } >
5353 < ImageContainer image = 'personalisation' alt = 'personalisation' />
5454 < section className = { styles . InformationContent } >
55- < h1 > Personalize your trading</ h1 >
55+ < h1 > Personalise your trading</ h1 >
5656 < Text type = 'subtitle-2' as = 'p' >
5757 Personalize your trading apps to match your needs. Create charts and views the way you
5858 like them. Develop your trading app using any common programming language and extend
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ describe('Benefits', () => {
2323 expect ( execution ) . toBeInTheDocument ( ) ;
2424 } ) ;
2525 it ( 'should render personalize your trading information' , ( ) => {
26- const title = screen . getByText ( / P e r s o n a l i z e y o u r t r a d i n g $ / i) ;
26+ const title = screen . getByText ( / P e r s o n a l i s e y o u r t r a d i n g $ / i) ;
2727 const information = screen . getByText ( / c r e a t e c h a r t s a n d v i e w s / i) ;
2828
2929 expect ( title ) . toBeInTheDocument ( ) ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const GetStarted = () => {
2929 < Text type = 'subtitle-1' bold className = { `${ styles . dark } ${ styles . header } ` } as = 'h2' >
3030 1. Learn about our API
3131 </ Text >
32- < p > Understand basic concepts and terminologies. </ p >
32+ < p > Understand basic concepts and terminologies</ p >
3333 </ section >
3434 < figure className = { styles . arrowIcon } >
3535 < img src = 'img/home-arrow.svg' />
@@ -47,7 +47,7 @@ export const GetStarted = () => {
4747 < Text type = 'subtitle-1' bold className = { `${ styles . dark } ${ styles . header } ` } as = 'h2' >
4848 2. Sign up
4949 </ Text >
50- < p > Create a free Deriv account to access our API. </ p >
50+ < p > Create a free Deriv account to access our API</ p >
5151 </ section >
5252 < figure className = { styles . arrowIcon } >
5353 < img src = 'img/home-arrow.svg' />
@@ -64,7 +64,7 @@ export const GetStarted = () => {
6464 < Text type = 'subtitle-1' bold className = { `${ styles . dark } ${ styles . header } ` } as = 'h2' >
6565 3. Register your app
6666 </ Text >
67- < p > Fill out the registration form to start using Deriv API. </ p >
67+ < p > Fill out the registration form to start using Deriv API</ p >
6868 </ section >
6969 < figure className = { styles . arrowIcon } >
7070 < img src = 'img/home-arrow.svg' />
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const HeroHeader = () => {
66 return (
77 < header className = { styles . HeroImageStyle } data-testid = 'hero-header' >
88 < div className = { styles . HeroContainerStyle } >
9- < Text type = 'heading-1 ' as = { 'h1' } bold className = { styles . heading } aria-level = { 2 } >
9+ < Text type = 'hero ' as = { 'h1' } bold className = { styles . heading } aria-level = { 2 } >
1010 Deriv API
1111 </ Text >
1212 < Text
Original file line number Diff line number Diff line change @@ -343,6 +343,10 @@ div[class*='sidebarViewport'] {
343343 }
344344}
345345
346+ .navbar__item {
347+ padding : rem (0.4 ) rem (1.6 ) rem (0.4 ) rem (1.6 );
348+ }
349+
346350main [class *= ' docMainContainer' ] .container {
347351 padding-top : rem (4 ) !important ; // Have to use important since docusaurus does the same.
348352 margin : 0 rem (4 );
You can’t perform that action at this time.
0 commit comments