main
|
Last change
on this file since 016481f was 40ac7a9, checked in by Mihail <mihail2.naumov@…>, 7 months ago |
|
Added frontend elements
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | import React from 'react';
|
|---|
| 2 | import Box from '@mui/material/Box';
|
|---|
| 3 | import Typography from '@mui/material/Typography';
|
|---|
| 4 | import footerLogoUrl from '../assets/projectlogo.png';
|
|---|
| 5 |
|
|---|
| 6 | export default function Footer() {
|
|---|
| 7 | return (
|
|---|
| 8 | <Box
|
|---|
| 9 | component="footer"
|
|---|
| 10 | sx={{
|
|---|
| 11 | py: 3,
|
|---|
| 12 | px: 2,
|
|---|
| 13 | mt: 'auto',
|
|---|
| 14 | backgroundColor: (theme) =>
|
|---|
| 15 | theme.palette.mode === 'light'
|
|---|
| 16 | ? theme.palette.grey[200]
|
|---|
| 17 | : theme.palette.grey[800],
|
|---|
| 18 | }}
|
|---|
| 19 | >
|
|---|
| 20 | <Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-start' }}>
|
|---|
| 21 |
|
|---|
| 22 | <Box
|
|---|
| 23 | component="img"
|
|---|
| 24 | src={footerLogoUrl}
|
|---|
| 25 | alt="Footer Logo"
|
|---|
| 26 | sx={{
|
|---|
| 27 | height: 30,
|
|---|
| 28 | mr: 2
|
|---|
| 29 | }}
|
|---|
| 30 | />
|
|---|
| 31 |
|
|---|
| 32 | <Typography variant="body2" color="text.secondary">
|
|---|
| 33 | {'© '}
|
|---|
| 34 | {new Date().getFullYear()}
|
|---|
| 35 | {' PC Forge. All rights reserved.'}
|
|---|
| 36 | </Typography>
|
|---|
| 37 |
|
|---|
| 38 | </Box>
|
|---|
| 39 | </Box>
|
|---|
| 40 | );
|
|---|
| 41 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.