Skip to content

Commit

Permalink
Delete unused images
Browse files Browse the repository at this point in the history
  • Loading branch information
souad988 committed Jan 19, 2024
1 parent 939c3ad commit 6c3a011
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 9 deletions.
Binary file removed public/images/bg/page1_bg (another copy).png
Binary file not shown.
Binary file removed public/images/bg/page1_bg (copy).png
Binary file not shown.
Binary file removed public/images/bg/page1_bg-removebg-preview.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg1.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg2.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg2_169.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_169.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_best.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_no_bg.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_no_bg_original (copy).png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_no_bg_original.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_no_bg_original_to_use.png
Binary file not shown.
Binary file removed public/images/bg/page1_bg_to_use.png
Binary file not shown.
Binary file removed public/images/bg/page2_bg.png
Binary file not shown.
Binary file removed public/images/bg/page3_bg.png
Binary file not shown.
Binary file removed public/images/bg/page_0.png
Binary file not shown.
Binary file removed public/images/bg/page_37.png
Binary file not shown.
Binary file removed public/images/bg/page_9.png
Binary file not shown.
Binary file removed public/images/icons/icon.png
Binary file not shown.
20 changes: 16 additions & 4 deletions src/components/headlineSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,26 @@ import {
} from '@mui/material';
import useCustomStyles from '../styles/useCustonStyles';
import mainStyles from '../styles';
import styles from '../styles/components/headlineSection';

const HeadlineSection = () => {
const classes = useCustomStyles(mainStyles);

const localClasses = useCustomStyles(styles);
return (
<Box className={classes.container}>
<Box className={clsx(classes.hiddenBg)} />
<img
src="images/page1.jpg"
className={clsx(classes.homeContainer, classes.lowOpacity, classes.subContainer)}
className={clsx(
classes.homeContainer,
classes.lowOpacity,
classes.absolutePosition,
classes.rootAbsolutePosition,
classes.fullHeight,
)}
alt="image1"
/>
<Grid container className={classes.subContainer} justifyContent="center" alignItems="center">
<Grid container className={clsx(classes.absolutePosition, classes.marginTop)} justifyContent="center" alignItems="center">
<Grid item>
<Typography
variant="h1Secondary"
Expand All @@ -33,7 +40,12 @@ const HeadlineSection = () => {
</Grid>
<img
src="images/page1_no_bg.png"
className={clsx(classes.homeContainer, classes.subContainer)}
className={clsx(
classes.homeContainer,
classes.absolutePosition,
classes.rootAbsolutePosition,
classes.fullHeight,
)}
alt="image1"
/>
</Box>
Expand Down
18 changes: 18 additions & 0 deletions src/styles/components/headlineSection.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const styles = () => ({
container1: {
background: 'url(images/page1.jpg) no-repeat',
backgroundSize: 'cover',
backgroundPosition: 'center',
width: '100%',
minHeight: '100vh',
},
container2: {
background: 'url(images/page1_no_bg.jpg) no-repeat',
backgroundSize: 'cover',
backgroundPosition: 'center',
width: '100%',
minHeight: '100vh',
},
});

export default styles;
14 changes: 9 additions & 5 deletions src/styles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ const mainStyles = (theme) => ({
minHeight: '100vh',
width: '100%',
},
subContainer: {
position: 'absolute',
fullHeight: {
minHeight: '100vh',
},
rootAbsolutePosition: {
top: 0,
left: 0,
},
Expand All @@ -49,9 +50,6 @@ const mainStyles = (theme) => ({
headline2: {
color: theme.palette.grey.dark,
},
fullHeight: {
minHeight: '100vh',
},
relativePosition: {
position: 'relative',
},
Expand Down Expand Up @@ -81,5 +79,11 @@ const mainStyles = (theme) => ({
boxShadow: {
boxShadow: `1px 1px 6px ${theme.palette.blue.dark}`,
},
marginTop: {
marginTop: '25vh',
[theme.breakpoints.up('900')]: {
marginTop: '15vh',
},
},
});
export default mainStyles;

0 comments on commit 6c3a011

Please sign in to comment.