Skip to content

Commit

Permalink
Merge pull request #293 from ergolabs/refactor/rm-snowfall
Browse files Browse the repository at this point in the history
Remove snowfall
  • Loading branch information
yasha-black authored Jan 7, 2022
2 parents 5ed2f57 + ce0a14f commit d0587ec
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 99 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"react-i18next": "^11.14.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-snowfall": "^1.1.1",
"rxjs": "^7.4.0",
"storybook-preset-craco": "^0.0.6",
"typescript": "^4.3.5",
Expand Down
3 changes: 0 additions & 3 deletions src/assets/icons/icon-snowman.svg

This file was deleted.

33 changes: 0 additions & 33 deletions src/assets/images/santa.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/FormPageWrapper/FormPageWrapper.less

This file was deleted.

4 changes: 0 additions & 4 deletions src/components/FormPageWrapper/FormPageWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import './FormPageWrapper.less';

import React, { JSXElementConstructor, ReactElement } from 'react';
import { useHistory } from 'react-router-dom';

import { ReactComponent as Santa } from '../../assets/images/santa.svg';
import {
ArrowLeftOutlined,
Box,
Expand Down Expand Up @@ -62,7 +59,6 @@ const FormPageWrapper: React.FC<FormPageWrapperProps> = ({
padding={[6, 6]}
borderRadius="m"
>
<Santa className="santa-icon" />
{children}
</Box>
</Flex.Item>
Expand Down
7 changes: 0 additions & 7 deletions src/components/Header/BurgerMenu/BurgerMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import React, { useState } from 'react';

import { ReactComponent as DarkModeOutlined } from '../../../assets/icons/darkmode.svg';
import { ReactComponent as Dots } from '../../../assets/icons/icon-dots.svg';
import { ReactComponent as Snowman } from '../../../assets/icons/icon-snowman.svg';
import {
Button,
Dropdown,
Expand All @@ -18,7 +17,6 @@ import {
QuestionCircleOutlined,
SettingOutlined,
} from '../../../ergodex-cdk';
import { SnowfallSwitch } from '../../SnowfallSwitch/SnowfallSwitch';
import { ThemeSwitch } from '../../ThemeSwitch/ThemeSwitch';
import { GlobalSettingsModal } from '../GlobalSettingsModal/GlobalSettingsModal';

Expand Down Expand Up @@ -65,11 +63,6 @@ const BurgerMenu = (): JSX.Element => {
// icon: <GlobalOutlined />,
// additional: <RightOutlined style={{ marginLeft: 36 }} />,
// },
{
title: 'Snowfall',
icon: <Snowman />,
additional: <SnowfallSwitch defaultChecked size="small" />,
},
{
title: 'Dark mode',
icon: <DarkModeOutlined />,
Expand Down
Loading

0 comments on commit d0587ec

Please sign in to comment.