diff --git a/backend/db/crud.py b/backend/db/crud.py index c0b31deeb2425cf8965ac5eece72a9313d3f1eaa..0910e780699224a206f43b05adbec442f3ba9e48 100644 --- a/backend/db/crud.py +++ b/backend/db/crud.py @@ -35,10 +35,11 @@ def get_waiting_time(place: str, db: Session): return schemas.WaitingTime() -## Define some utils function +# Define some utils function def shift_time(t: time, delta: timedelta): return (datetime.combine(date(1, 1, 1), t) + delta).time() + def add_slot(slots_list, start_time, end_time, function): average_waiting_time = function(start_time, end_time) if average_waiting_time: diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico deleted file mode 100644 index bcd5dfd67cd0361b78123e95c2dd96031f27f743..0000000000000000000000000000000000000000 Binary files a/frontend/public/favicon.ico and /dev/null differ diff --git a/frontend/public/index.html b/frontend/public/index.html index aa069f27cbd9d53394428171c3989fd03db73c76..e4406637291776d5559c2c2781a9165bb5878747 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -2,19 +2,13 @@ <html lang="en"> <head> <meta charset="utf-8" /> - <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> + <link rel="icon" href="%PUBLIC_URL%/thumbnail_violet.png" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="theme-color" content="#000000" /> <meta name="description" - content="Web site created using create-react-app" + content="Web site developed by ViaRézo" /> - <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> - <!-- - manifest.json provides metadata used when your web app is installed on a - user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ - --> - <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build. @@ -24,7 +18,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - <title>React App</title> + <title>Eatfast</title> </head> <body> <noscript>You need to enable JavaScript to run this app.</noscript> diff --git a/frontend/public/logo192.png b/frontend/public/logo192.png deleted file mode 100644 index fc44b0a3796c0e0a64c3d858ca038bd4570465d9..0000000000000000000000000000000000000000 Binary files a/frontend/public/logo192.png and /dev/null differ diff --git a/frontend/public/logo512.png b/frontend/public/logo512.png deleted file mode 100644 index a4e47a6545bc15971f8f63fba70e4013df88a664..0000000000000000000000000000000000000000 Binary files a/frontend/public/logo512.png and /dev/null differ diff --git a/frontend/public/manifest.json b/frontend/public/manifest.json deleted file mode 100644 index 080d6c77ac21bb2ef88a6992b2b73ad93daaca92..0000000000000000000000000000000000000000 --- a/frontend/public/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "short_name": "React App", - "name": "Create React App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/frontend/public/thumbnail_violet.png b/frontend/public/thumbnail_violet.png new file mode 100644 index 0000000000000000000000000000000000000000..f2e889460366fe59740ffc3e3a3d4ac727a97a26 Binary files /dev/null and b/frontend/public/thumbnail_violet.png differ