Skip to content

Commit

Permalink
Completely remove sozialmarie banner (#487)
Browse files Browse the repository at this point in the history
Reverts "Feat jalezi/sozial marie banner #466 (#474)"
This reverts commit 0d008e5.
  • Loading branch information
stefanb authored Apr 27, 2024
1 parent 0d008e5 commit 28c2583
Show file tree
Hide file tree
Showing 24 changed files with 15 additions and 844 deletions.
2 changes: 0 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ REACT_APP_GOOGLE_FORM_INPUT_PHONE=1724437941
REACT_APP_GOOGLE_FORM_INPUT_EMAIL=
REACT_APP_GOOGLE_FORM_INPUT_ORDERFORM=
REACT_APP_GOOGLE_FORM_INPUT_NOTE=1714314704
# SozialMarie set to true when running tests
REACT_APP_SM_SHOW_TRIGGER_BUTTON_IMMEDIATELY=true
2 changes: 0 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ REACT_APP_GOOGLE_FORM_INPUT_PHONE=1724437941
REACT_APP_GOOGLE_FORM_INPUT_EMAIL=1408261095
REACT_APP_GOOGLE_FORM_INPUT_ORDERFORM=1910910180
REACT_APP_GOOGLE_FORM_INPUT_NOTE=1714314704
# SozialMarie, when going live (before 2024-4-2), change to false, otherwise it doesn't matter
REACT_APP_SM_SHOW_TRIGGER_BUTTON_IMMEDIATELY=true
8 changes: 0 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ module.exports = {

// @TODO: These should be turned "ON" one by one
'react/jsx-props-no-spreading': 'warn',
'no-unused-vars': [
'error', // or "error"
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
},
settings: {
'import/resolver': {
Expand Down
16 changes: 8 additions & 8 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ module.exports = defineConfig({
},

/* Test against mobile viewports. */
{
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] },
},
{
name: 'Mobile Safari',
use: { ...devices['iPhone 12'] },
},
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },

/* Test against branded browsers. */
// {
Expand Down
2 changes: 0 additions & 2 deletions src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { IconButton, TextField, Toolbar } from '@mui/material';
import * as Icons from 'components/Shared/Icons';
import i18next, { languages } from 'i18n';
import { useFilter } from 'context/filterContext';
import SozialMarie from 'components/SozialMarie';
import TemporaryDrawer from './Drawer';
import NavLinks from './NavLinks';
import SocialLinks from './SocialLinks';
Expand Down Expand Up @@ -69,7 +68,6 @@ const Header = function Header() {
>
<Icons.Icon name="Logo" style={{ height: '40px' }} />
</NavLink>
<SozialMarie />
<Styled.StackLarge ref={ref} id="nav-links" onClick={eventHandler}>
<NavLinks containerId="nav-links" />
</Styled.StackLarge>
Expand Down
65 changes: 0 additions & 65 deletions src/components/Shared/CountDown/index.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Shared/ExpandMore.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import IconButton from '@mui/material/IconButton';
import { ExpandMore as ExpandMoreIcon } from '@mui/icons-material';
import PropTypes from 'prop-types';

const ExpandMoreButton = styled(({ _expand, ...other }) => <IconButton {...other} />)(
const ExpandMoreButton = styled(({ expand, ...other }) => <IconButton {...other} />)(
({ theme, expand }) => ({
transform: !expand ? 'rotate(0deg)' : 'rotate(180deg)',
marginLeft: 'auto',
Expand Down
23 changes: 0 additions & 23 deletions src/components/SozialMarie/AlertCountDown.jsx

This file was deleted.

43 changes: 0 additions & 43 deletions src/components/SozialMarie/AlertFooterContent.jsx

This file was deleted.

69 changes: 0 additions & 69 deletions src/components/SozialMarie/AlertHeaderContent.jsx

This file was deleted.

26 changes: 0 additions & 26 deletions src/components/SozialMarie/SozialMarieLink.jsx

This file was deleted.

57 changes: 0 additions & 57 deletions src/components/SozialMarie/VotingButton.jsx

This file was deleted.

24 changes: 0 additions & 24 deletions src/components/SozialMarie/date-range.js

This file was deleted.

Loading

0 comments on commit 28c2583

Please sign in to comment.