Skip to content
Snippets Groups Projects
Commit 9e1efd91 authored by Bodor Máté's avatar Bodor Máté
Browse files

Create static gallery component

parent ce800ab4
Branches
Tags
2 merge requests!19fix type imports,!16About page
......@@ -46,7 +46,7 @@ yarn.lock
package-lock.json
# assets
*.png
# *.png
*.jpeg
*.jpg
*.ico
......
public/img1.png

1.25 MiB

public/img2.png

301 KiB

public/img3.png

861 KiB

public/img4.png

740 KiB

import { Grid } from '@material-ui/core';
import React from 'react';
const Gallery: React.FC = () => {
return (
<Grid container spacing={1}>
<Grid item xs={12}>
<img width="100%" alt="Gym1" src={`${process.env.PUBLIC_URL }img1.png`} />
</Grid>
<Grid item xs={12} sm={3}>
<img width="100%" alt="Gym2" src={`${process.env.PUBLIC_URL }img2.png`} />
</Grid>
<Grid item xs={12} sm={5}>
<img width="100%" alt="Gym3" src={`${process.env.PUBLIC_URL }img3.png`} />
</Grid>
<Grid item xs={12} sm={4}>
<img width="100%" alt="Gym4" src={`${process.env.PUBLIC_URL }img4.png`} />
</Grid>
</Grid>
);
};
export default Gallery;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment