This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: fixed build issues * chore: fixed build issues
- Loading branch information
1 parent
05b6155
commit d8948b6
Showing
9 changed files
with
39 additions
and
49 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...me-deriv/src/features/components/templates/navigation/academy-nav/academy-nav.module.scss
This file contains 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,11 @@ | ||
@use 'features/styles/theme/theme-mixins' as *; | ||
|
||
.static_nav_logo { | ||
inline-size: 19.9rem; | ||
block-size: 3.19rem; | ||
|
||
@include breakpoints(tablet) { | ||
inline-size: 19.9rem; | ||
block-size: 3.19rem; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
themes/gatsby-theme-deriv/src/features/components/templates/navigation/academy-nav/index.tsx
This file contains 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,22 @@ | ||
import React from 'react' | ||
import NavTemplate from '../template' | ||
import { static_nav_logo } from './academy-nav.module.scss' | ||
import LogoImage from 'images/common/academy.svg' | ||
import Link from 'features/components/atoms/link' | ||
import Image from 'features/components/atoms/image' | ||
|
||
const AcademyNav = () => { | ||
return ( | ||
<NavTemplate | ||
has_centered_items | ||
has_centered_logo | ||
renderLogo={() => ( | ||
<Link url={{ type: 'internal', to: '/' }}> | ||
<Image src={LogoImage} className={static_nav_logo} /> | ||
</Link> | ||
)} | ||
/> | ||
) | ||
} | ||
|
||
export default AcademyNav |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
4 changes: 0 additions & 4 deletions
4
themes/gatsby-theme-deriv/src/pages/dtrader/_our-platforms.tsx
This file contains 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
This file contains 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