Files
3dp-manager/client/src/components/Footer.tsx
T
Den Piligrim 007afd3b83 fix errors
2026-02-03 10:34:24 +03:00

79 lines
2.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Box, Container, Grid, IconButton, Link, Stack } from '@mui/material';
import { GitHub, YouTube, Telegram } from '@mui/icons-material';
export default function Footer() {
return (
<Box
component="footer"
sx={{
py: 3,
px: 2,
mt: 'auto',
backgroundColor: (theme) =>
theme.palette.mode === 'light'
? theme.palette.grey[200]
: theme.palette.grey[900],
}}
>
<Container maxWidth={false}>
<Grid container spacing={4} justifyContent="space-between" alignItems="center">
<Grid size={{ xs: 12, sm: 4 }}>
<Stack direction="row" alignItems="center" spacing={1}>
<img src="/img/logo.png" alt="Logo" width={32} height={32} style={{ marginRight: 14 }} />
</Stack>
</Grid>
<Grid size={{ xs: 12, sm: 4 }} sx={{ textAlign: { xs: 'left', sm: 'center' } }}>
<Link
href="https://3dp-manager.com/docs/intro"
target="_blank"
rel="noopener"
color="text.primary"
underline="hover"
sx={{ display: 'inline-flex', alignItems: 'center', gap: 1, fontWeight: 500 }}
>
Документация
</Link>
</Grid>
<Grid size={{ xs: 12, sm: 4 }} sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
<Stack direction="row" spacing={1} justifyContent={{ xs: 'flex-start', sm: 'flex-end' }}>
<IconButton
component="a"
href="https://github.com/denpiligrim/3dp-manager"
target="_blank"
aria-label="GitHub"
color="inherit"
>
<GitHub />
</IconButton>
<IconButton
component="a"
href="https://youtube.com/@denpiligrim"
target="_blank"
aria-label="YouTube"
color="inherit"
>
<YouTube />
</IconButton>
<IconButton
component="a"
href="https://t.me/denpiligrim_web"
target="_blank"
aria-label="Telegram"
color="inherit"
>
<Telegram />
</IconButton>
</Stack>
</Grid>
</Grid>
</Container>
</Box>
);
}