From 2d1a0042f74a6fe85aa5e408eb1dd3066efbaf72 Mon Sep 17 00:00:00 2001
From: Rosyid Haryadi <rosyid_haryadi@protonmail.com>
Date: Sun, 1 Oct 2023 14:34:37 +0700
Subject: upd: minTime maxTime makes it annoying to input, invalid time handled
 in result instead

---
 src/App.jsx | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

(limited to 'src/App.jsx')

diff --git a/src/App.jsx b/src/App.jsx
index a53e59b..db340da 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -7,13 +7,15 @@ import SalaryInput from "./SalaryInput.jsx";
 import Result from "./Result.jsx";
 import RemoveCircleIcon from '@mui/icons-material/RemoveCircle';
 import AddCircleIcon from '@mui/icons-material/AddCircle';
+import Icon from '@mdi/react';
+import { mdiGitlab } from '@mdi/js';
 
 
 function App() {
     const [baseSalary, setBaseSalary] = useState(0);
     const [listEntry, setListEntry] = useState(
         [
-            {id: 0, date: dayjs(), start: dayjs(), finish: dayjs()},
+            {id: 0, date: dayjs(), start: dayjs().set('hour', 17).set('minute', 30), finish: dayjs().set('hour', 18).set('minute', 30)},
         ]
     );
     const [removeDisabled, setRemoveDisabled] = useState(false);
@@ -125,12 +127,19 @@ function App() {
                                 <li><Typography>Belum termasuk versi 6 hari kerja (todo)</Typography></li>
                                 <li><Typography>UI belum responsive (todo)</Typography></li>
                             </ul>
-                            <Typography paragraph={true} padding={'10px'} marginTop={'5px'}>
-                                <a href='https://gitlab.com/rosyidharyadi/overreact' target='_blank'>Source</a>
-                            </Typography>
-                            <Typography variant='overline' display='block' align='center' padding={'10px'} marginTop={'5px'}>
-                                Rosyid
-                            </Typography>
+                            <div style={{textAlign: 'center'}}>
+                                <a href='https://gitlab.com/rosyidharyadi/overreact' target='_blank'>
+                                    <Icon path={mdiGitlab}
+                                          title="Repository"
+                                          size={2}
+                                          // horizontal
+                                          // vertical
+                                          // rotate={90}
+                                          color="blue"
+                                          spin
+                                    />
+                                </a>
+                            </div>
                         </Paper>
                     </Grid>
                 </Grid>
-- 
cgit v1.2.3-70-g09d2

