-
Notifications
You must be signed in to change notification settings - Fork 19
Ahmed/dapi 816/feat add deriv fix and redesign webpage #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shafin-deriv
merged 8 commits into
deriv-com:feature/derivfix
from
ahmed-deriv:ahmed/DAPI-816/feat--add-deriv-fix-and-redesign-webpage
Dec 10, 2024
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4abf32d
ahmed/DAPI-816/feat--add-deriv-fix-and-redesign-webpage
ahmed-deriv 9f40afa
Add styling and content
ahmed-deriv 9214aac
fix scrolling behavior on benefit section
ahmed-deriv 891aebf
fix about content section
ahmed-deriv 2ca489f
fix header background styling
ahmed-deriv 99982a4
fix styling and update content
ahmed-deriv 96ddd95
mobile cta button alignment fix
ahmed-deriv 058c568
tablet and mobile style fixes
ahmed-deriv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,16 @@ | ||
import React from 'react'; | ||
import { cleanup, render, screen } from '@site/src/test-utils'; | ||
import ClientLibraries from '..'; | ||
|
||
describe('ClientLibraries', () => { | ||
beforeEach(() => { | ||
render(<ClientLibraries />); | ||
}); | ||
|
||
afterEach(cleanup); | ||
|
||
it('should render properly', () => { | ||
const client_header = screen.getByTestId('about_section'); | ||
expect(client_header).toBeInTheDocument(); | ||
}); | ||
}); |
This file contains hidden or 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,40 @@ | ||
import React from 'react'; | ||
import { Button, Heading, Text } from '@deriv-com/quill-ui'; | ||
import styles from '../styles.module.scss'; | ||
import Translate from '@docusaurus/Translate'; | ||
import useDeviceType from '@site/src/hooks/useDeviceType'; | ||
|
||
const About = () => { | ||
const { deviceType } = useDeviceType(); | ||
const isMobile = deviceType === 'mobile'; | ||
|
||
return ( | ||
<div data-testid='about_section' className={styles.aboutContainer}> | ||
<div | ||
className={`container ${styles.spaceEvenContent} ${styles.aboutContent} ${styles.gap4} ${styles.mh5}`} | ||
> | ||
<div> | ||
<Heading.H2> | ||
<Translate>Start building with Deriv</Translate> | ||
</Heading.H2> | ||
<Text> | ||
<Translate> | ||
Trusted by 2.5 million traders, Deriv supports developers with robust APIs to create | ||
impactful trading solutions. | ||
</Translate> | ||
</Text> | ||
</div> | ||
<Button | ||
variant='primary' | ||
size='lg' | ||
fullWidth={isMobile} | ||
onClick={() => location.assign('https://deriv.com/signup/')} | ||
> | ||
<Translate>Sign up</Translate> | ||
</Button> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default About; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
src/features/Home/ApiFeatures/__tests__/ApiFeatures.test.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.