Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 9d31733

Browse files
authored
Revert "NikitK/ binary.com - Options for Branding Removal (#7274)" (#7349)
This reverts commit e024755.
1 parent bf8f1f3 commit 9d31733

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/javascript/app/base/page.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ const Page = (() => {
8484
};
8585

8686
const onLoad = () => {
87-
const host_name = $(location).attr('hostname');
88-
const removeBranding = () => {
89-
if (host_name !== 'localhost' && host_name !== 'binary.com' && host_name !== 'staging.binary.com' && !host_name.includes('binary-static-git-fork')) {
90-
$('.remove-branding').remove();
91-
}
92-
};
9387
if (State.get('is_loaded_by_pjax')) {
9488
Url.reset();
9589
updateLinksURL('#content');
@@ -102,7 +96,6 @@ const Page = (() => {
10296
// InterviewPopup.onLoad();
10397
}
10498
}
105-
removeBranding();
10699
Header.onLoad();
107100
Footer.onLoad();
108101
Language.setCookie();

src/templates/_common/_layout/footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const DialogNotification = () => (
3838
);
3939

4040
const Footer = () => (
41-
<div id='footer' className='no-print remove-branding'>
41+
<div id='footer' className='no-print'>
4242
<div id='footer-menu' className='primary-bg-color gr-padding-10'>
4343
<div className='container'>
4444
<div className='gr-row gr-padding-10'>

src/templates/_common/_layout/header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const Header = () => (
6666
<div className='container'>
6767
<div className='gr-12'>
6868
<div className='gr-row gr-row-align-middle'>
69-
<div className='gr-3 gr-2-m gr-2-p remove-branding'>
69+
<div className='gr-3 gr-2-m gr-2-p'>
7070
<a id='logo' href='javascript:;' className='gr-11'>
7171
<div className='gr-row logo-parent'>
7272
<div className='gr-3 gr-12-m gr-12-p gr-no-gutter logo'>

0 commit comments

Comments
 (0)