Skip to content

Commit bac70c9

Browse files
committed
build: v0.1.0
1 parent c3d1c8f commit bac70c9

File tree

2 files changed

+8
-40
lines changed

2 files changed

+8
-40
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
"last 1 safari version"
4646
]
4747
},
48-
"proxy": "http://localhost:3080"
48+
"proxy": "http://localhost:3080/"
4949
}

src/Album.tsx

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ import CardActions from '@mui/material/CardActions';
66
import CardMedia from '@mui/material/CardMedia';
77
import CssBaseline from '@mui/material/CssBaseline';
88
import Grid from '@mui/material/Grid';
9-
import Box from '@mui/material/Box';
109
import Toolbar from '@mui/material/Toolbar';
1110
import Typography from '@mui/material/Typography';
1211
import Container from '@mui/material/Container';
13-
import Link from '@mui/material/Link';
1412
import {createTheme, Theme, ThemeProvider} from '@mui/material/styles';
1513
import ChipInput from '@sarakusha/material-ui-chip-input';
1614
import IconButton from '@mui/material/IconButton';
@@ -19,20 +17,6 @@ import RefreshIcon from '@mui/icons-material/Refresh';
1917
import RedoIcon from '@mui/icons-material/Redo';
2018
import {useEffect, useState} from "react";
2119

22-
23-
function Copyright() {
24-
return (
25-
<Typography variant="body2" color="text.secondary" align="center">
26-
{'Copyright © '}
27-
<Link color="inherit" href="https://mui.com/">
28-
Your Website
29-
</Link>{' '}
30-
{new Date().getFullYear()}
31-
{'.'}
32-
</Typography>
33-
);
34-
}
35-
3620
const theme = createTheme();
3721

3822
type Face = {
@@ -122,15 +106,15 @@ export default function Album() {
122106
</Toolbar>
123107
</AppBar>
124108
<main>
125-
<Container sx={{ py: 8 }} maxWidth="md">
109+
<Container sx={{ py: 8 }}>
126110
{/* End hero unit */}
127-
<Grid container spacing={4}>
111+
<Grid container spacing={4} sx={{ margin: '0'}}>
128112
<Card
129-
sx={(theme) => (
113+
sx={(theme: Theme) => (
130114
{
131-
width: '50%', display: 'flex', flexDirection: 'column',
115+
width: '50%', display: 'inline-flex', flexDirection: 'column',
132116
[theme.breakpoints.down('md')]: {
133-
width: '100%',
117+
width: '90%',
134118
height: '50%'
135119
},
136120
}
@@ -146,9 +130,9 @@ export default function Album() {
146130
<Card
147131
sx={(theme) => (
148132
{
149-
width: '50%', display: 'flex', flexDirection: 'column',
133+
width: '50%', display: 'inline-flex', flexDirection: 'column',
150134
[theme.breakpoints.down('md')]: {
151-
width: '100%',
135+
width: '90%',
152136
height: '50%'
153137
},
154138
}
@@ -175,22 +159,6 @@ export default function Album() {
175159
</Grid>
176160
</Container>
177161
</main>
178-
{/* Footer */}
179-
<Box sx={{ bgcolor: 'background.paper', p: 6 }} component="footer">
180-
<Typography variant="h6" align="center" gutterBottom>
181-
Footer
182-
</Typography>
183-
<Typography
184-
variant="subtitle1"
185-
align="center"
186-
color="text.secondary"
187-
component="p"
188-
>
189-
Something here to give the footer a purpose!
190-
</Typography>
191-
<Copyright />
192-
</Box>
193-
{/* End footer */}
194162
</ThemeProvider>
195163
);
196164
}

0 commit comments

Comments
 (0)