Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Sean/revert blog pages #1869

Merged
2 commits merged into from Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/hooks/use-client-information.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react'
import { getClientInformation, getDomain } from 'common/utility'

export const useClientInformation = () => {

const [client_information, setClientInformation] = useState(false)
const [current_client_information, setCurrentClientInformation] = useState(false)

Expand Down
9 changes: 4 additions & 5 deletions src/components/localization/language-switcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ const LanguageSwitch = ({ i18n, is_high_nav, short_name }) => {
if (`/${current_lang}/` !== id) {
const current_path = window.location.pathname
const current_hash = window.location.hash
const destination_path = `${path}${
current_lang === 'en'
? current_path.replace(/\//u, '')
: nonENLangUrlReplace(current_path)
}${current_hash}`
const destination_path = `${path}${current_lang === 'en'
? current_path.replace(/\//u, '')
: nonENLangUrlReplace(current_path)
}${current_hash}`

if (path === '/ach/') {
localStorage.setItem('i18n', 'ach')
Expand Down
Binary file removed src/images/common/blog/deriv-blog.png
Binary file not shown.
Binary file removed src/images/common/blog/video-tutorials.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/images/svg/triangle.svg

This file was deleted.

9 changes: 2 additions & 7 deletions src/pages/besquare/components/sections/_what-is_besquare.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,10 @@ const WhatIsBeSquare = () => {
<Section>
<ContentContainer>
<ContentWrapper>
<Title
as="h2"
text_align={'left'}
max_width={['450px']}
margin={['0', '0 auto']}
>
<Title as="h2" text_align={'left'} max_width={['450px']} margin={['0', '0 auto']}>
{what_is_be_square.title}
</Title>
<TextWrapper max_width={['486px', '328px']} margin={['8px 0 0', '16px 0']}>
<TextWrapper max_width={['486px', '328px']} margin={['8px 0 0', '16px 0']} >
{what_is_be_square.subtitle}
</TextWrapper>
</ContentWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/besquare/static/style/_hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const HeroContainer = styled.div`
@media ${device.laptop} {
grid-template-columns: auto;
}

@media ${device.tablet} {
height: 370px;
}
Expand Down
65 changes: 0 additions & 65 deletions src/pages/blog/articles/_all-articles.js

This file was deleted.

112 changes: 0 additions & 112 deletions src/pages/blog/articles/_article-card.js

This file was deleted.

101 changes: 0 additions & 101 deletions src/pages/blog/articles/_data.js

This file was deleted.

Loading