Skip to content

Commit 28c2583

Browse files
authored
Completely remove sozialmarie banner (#487)
Reverts "Feat jalezi/sozial marie banner #466 (#474)" This reverts commit 0d008e5.
1 parent 0d008e5 commit 28c2583

24 files changed

+15
-844
lines changed

.env.development

-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ REACT_APP_GOOGLE_FORM_INPUT_PHONE=1724437941
1818
REACT_APP_GOOGLE_FORM_INPUT_EMAIL=
1919
REACT_APP_GOOGLE_FORM_INPUT_ORDERFORM=
2020
REACT_APP_GOOGLE_FORM_INPUT_NOTE=1714314704
21-
# SozialMarie set to true when running tests
22-
REACT_APP_SM_SHOW_TRIGGER_BUTTON_IMMEDIATELY=true

.env.production

-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@ REACT_APP_GOOGLE_FORM_INPUT_PHONE=1724437941
1717
REACT_APP_GOOGLE_FORM_INPUT_EMAIL=1408261095
1818
REACT_APP_GOOGLE_FORM_INPUT_ORDERFORM=1910910180
1919
REACT_APP_GOOGLE_FORM_INPUT_NOTE=1714314704
20-
# SozialMarie, when going live (before 2024-4-2), change to false, otherwise it doesn't matter
21-
REACT_APP_SM_SHOW_TRIGGER_BUTTON_IMMEDIATELY=true

.eslintrc.js

-8
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ module.exports = {
2626

2727
// @TODO: These should be turned "ON" one by one
2828
'react/jsx-props-no-spreading': 'warn',
29-
'no-unused-vars': [
30-
'error', // or "error"
31-
{
32-
argsIgnorePattern: '^_',
33-
varsIgnorePattern: '^_',
34-
caughtErrorsIgnorePattern: '^_',
35-
},
36-
],
3729
},
3830
settings: {
3931
'import/resolver': {

playwright.config.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ module.exports = defineConfig({
5050
},
5151

5252
/* Test against mobile viewports. */
53-
{
54-
name: 'Mobile Chrome',
55-
use: { ...devices['Pixel 5'] },
56-
},
57-
{
58-
name: 'Mobile Safari',
59-
use: { ...devices['iPhone 12'] },
60-
},
53+
// {
54+
// name: 'Mobile Chrome',
55+
// use: { ...devices['Pixel 5'] },
56+
// },
57+
// {
58+
// name: 'Mobile Safari',
59+
// use: { ...devices['iPhone 12'] },
60+
// },
6161

6262
/* Test against branded browsers. */
6363
// {

src/components/Header/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { IconButton, TextField, Toolbar } from '@mui/material';
44
import * as Icons from 'components/Shared/Icons';
55
import i18next, { languages } from 'i18n';
66
import { useFilter } from 'context/filterContext';
7-
import SozialMarie from 'components/SozialMarie';
87
import TemporaryDrawer from './Drawer';
98
import NavLinks from './NavLinks';
109
import SocialLinks from './SocialLinks';
@@ -69,7 +68,6 @@ const Header = function Header() {
6968
>
7069
<Icons.Icon name="Logo" style={{ height: '40px' }} />
7170
</NavLink>
72-
<SozialMarie />
7371
<Styled.StackLarge ref={ref} id="nav-links" onClick={eventHandler}>
7472
<NavLinks containerId="nav-links" />
7573
</Styled.StackLarge>

src/components/Shared/CountDown/index.jsx

-65
This file was deleted.

src/components/Shared/ExpandMore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import IconButton from '@mui/material/IconButton';
33
import { ExpandMore as ExpandMoreIcon } from '@mui/icons-material';
44
import PropTypes from 'prop-types';
55

6-
const ExpandMoreButton = styled(({ _expand, ...other }) => <IconButton {...other} />)(
6+
const ExpandMoreButton = styled(({ expand, ...other }) => <IconButton {...other} />)(
77
({ theme, expand }) => ({
88
transform: !expand ? 'rotate(0deg)' : 'rotate(180deg)',
99
marginLeft: 'auto',

src/components/SozialMarie/AlertCountDown.jsx

-23
This file was deleted.

src/components/SozialMarie/AlertFooterContent.jsx

-43
This file was deleted.

src/components/SozialMarie/AlertHeaderContent.jsx

-69
This file was deleted.

src/components/SozialMarie/SozialMarieLink.jsx

-26
This file was deleted.

src/components/SozialMarie/VotingButton.jsx

-57
This file was deleted.

src/components/SozialMarie/date-range.js

-24
This file was deleted.

0 commit comments

Comments
 (0)