Skip to content

Commit

Permalink
refactor: remove unused assets
Browse files Browse the repository at this point in the history
This change also moves the 2 remaining ones alongside the other assets.

Refs #397
  • Loading branch information
thewilkybarkid committed Aug 18, 2021
1 parent d307ee3 commit 4726255
Show file tree
Hide file tree
Showing 21 changed files with 9 additions and 19 deletions.
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion src/frontend/components/add-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Button from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';

// icons
import icon from '../svgs/add_prereview_icon.svg';
import icon from '../assets/images/add_prereview_icon.svg';

const useStyles = makeStyles(theme => ({
border: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Link from '@material-ui/core/Link';
import Typography from '@material-ui/core/Typography';

// site logo
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

// icons
import ArrowForwardIosIcon from '@material-ui/icons/ArrowForwardIos';
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/header-bar-reviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { checkIfProfileNeedsUpdate } from '../utils/roles';
// icons
import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
import MenuIcon from '@material-ui/icons/Menu';
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const useStyles = makeStyles(theme => ({
content: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/header-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { checkIfProfileNeedsUpdate } from '../utils/roles';
// icons
import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
import MenuIcon from '@material-ui/icons/Menu';
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const useStyles = makeStyles(theme => ({
content: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/join-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import IconButton from '@material-ui/core/IconButton';

// icons
import CloseIcon from '@material-ui/icons/Close';
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const styles = makeStyles(theme => ({
root: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { makeStyles } from '@material-ui/core/styles';
import CircularProgress from '@material-ui/core/CircularProgress';

// icons
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const useStyles = makeStyles(theme => ({
root: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/login-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import CoCStepper from './coc-stepper';

// icons
import CloseIcon from '@material-ui/icons/Close';
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const useStyles = makeStyles(theme => ({
root: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/login-required-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Typography from '@material-ui/core/Typography';
import { makeStyles } from '@material-ui/core/styles';
import CloseIcon from '@material-ui/icons/Close';
import ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const useStyles = makeStyles(theme => ({
close: {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/welcome-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import MuiButton from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';

// icons
import preReviewLogo from '../svgs/prereview-logo.svg';
import preReviewLogo from '../assets/images/prereview-logo.svg';

const Button = withStyles({
root: {
Expand Down
1 change: 0 additions & 1 deletion src/frontend/svgs/add_prereview_icon_a.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/epidemics-chart-2.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/epidemics-chart.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/incognito_icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/outbreak-science-logo.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/prereview-logo-animation.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/rapid-prereview-icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/rapid-prereview-logo-animation.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/shell_icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/frontend/svgs/wellcome-logo-black.svg

This file was deleted.

0 comments on commit 4726255

Please sign in to comment.