From 17e46407452f948fd6ea704781aa6499f3054d28 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 3 Sep 2021 23:40:27 -0700 Subject: Add attribution text --- modern/src/StartPage.js | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/modern/src/StartPage.js b/modern/src/StartPage.js index 1472f50..66fad39 100644 --- a/modern/src/StartPage.js +++ b/modern/src/StartPage.js @@ -38,6 +38,12 @@ const useStyles = makeStyles((theme) => ({ padding: theme.spacing(5), width: '100%', }, + attribution: { + position: 'absolute', + bottom: theme.spacing(1), + right: theme.spacing(1.5), + fontSize: 'x-small', + }, })); const StartPage = ({ children }) => { @@ -45,21 +51,26 @@ const StartPage = ({ children }) => { const theme = useTheme(); return ( -
-
- {!useMediaQuery(theme.breakpoints.down('md')) - && ( - - - - )} + <> +
+
+ {!useMediaQuery(theme.breakpoints.down('md')) + && ( + + + + )} +
+ +
+ { children } +
+
+
+
+ Powered by Traccar GPS Tracking System
- -
- { children } -
-
-
+ ); }; -- cgit v1.2.3