@@ -6,11 +6,9 @@ import CardActions from '@mui/material/CardActions';
66import CardMedia from '@mui/material/CardMedia' ;
77import CssBaseline from '@mui/material/CssBaseline' ;
88import Grid from '@mui/material/Grid' ;
9- import Box from '@mui/material/Box' ;
109import Toolbar from '@mui/material/Toolbar' ;
1110import Typography from '@mui/material/Typography' ;
1211import Container from '@mui/material/Container' ;
13- import Link from '@mui/material/Link' ;
1412import { createTheme , Theme , ThemeProvider } from '@mui/material/styles' ;
1513import ChipInput from '@sarakusha/material-ui-chip-input' ;
1614import IconButton from '@mui/material/IconButton' ;
@@ -19,20 +17,6 @@ import RefreshIcon from '@mui/icons-material/Refresh';
1917import RedoIcon from '@mui/icons-material/Redo' ;
2018import { 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-
3620const theme = createTheme ( ) ;
3721
3822type 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