Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Prince/New homepage master update (#6356)
Browse files Browse the repository at this point in the history
* chore: merge master to new-homepage-translation

* chore: quill-icon stable version usage
  • Loading branch information
prince-deriv authored Dec 26, 2023
1 parent 82594ea commit e523fa6
Show file tree
Hide file tree
Showing 97 changed files with 2,441 additions and 8,154 deletions.
269 changes: 163 additions & 106 deletions crowdin/messages.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ import {
getLanguage,
updateURLAsPerUserLanguage,
} from 'common/utility'
// import './static/css/ibm-plex-sans-var.css'
import './static/css/noto-sans-arabic.css'
import './static/css/ubuntu.css'
import './static/css/global.css'
import '@deriv-com/blocks/style.css'
import '@deriv-com/components/style.css'

const is_browser = typeof window !== 'undefined'

Expand Down
193 changes: 1 addition & 192 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@deriv/analytics": "^1.4.4",
"@deriv/deriv-api": "^1.0.13",
"@deriv/quill-design": "^1.2.12",
"@deriv/quill-icons": "^1.0.16",
"@deriv/quill-icons": "1.0.16",
"@hookform/resolvers": "^3.3.2",
"@livechat/customer-sdk": "^3.1.5",
"@loadable/component": "^5.15.3",
Expand Down
8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
3 changes: 1 addition & 2 deletions src/components/elements/market-tab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Header } from 'components/elements'
import AvailablePlatform from 'pages/trading-specification/components/_available-platform'
import { Localize } from 'components/localization'
import TradingSpecificationTable from 'pages/trading-specification/components/_trading_spec_table'
import useRegion from 'components/hooks/use-region'

const TabStyledHeader = styled(Header)`
font-family: 'Ubuntu';
Expand All @@ -17,10 +16,10 @@ const MarketIcon = styled.img<{ is_selected?: boolean }>`
inline-size: 24px;
block-size: 24px;
margin-block-end: 10px;
margin-inline: auto;
`

const MarketTab = () => {
const { is_row } = useRegion()
const [selected_market, setSelectedMarket] = useState<TAvailableLiveMarkets>('forex')
const onMarketButtonClick = (selected) => {
setSelectedMarket(selected)
Expand Down
Loading

0 comments on commit e523fa6

Please sign in to comment.