all repos — caroster @ 7c2a4deb29ac359bf7caf40481f451f3024462a6

[Octree] Group carpool to your event https://caroster.io

feat: :globe_with_meridians: Improve maintenance page
Tim Izzo tim@octree.ch
Wed, 24 Jan 2024 14:30:13 +0100
commit

7c2a4deb29ac359bf7caf40481f451f3024462a6

parent

4a54c6a4bbd827770897a0aa72b8408835752d25

2 files changed, 57 insertions(+), 1 deletions(-)

jump to
M DockerfileDockerfile

@@ -3,4 +3,5 @@

ENV NEXTAUTH_URL_INTERNAL: http://localhost:3000/api/nauth COPY ./frontend /srv/app/frontend -COPY ./backend /srv/app/backend+COPY ./backend /srv/app/backend +COPY ./_nginx/* /srv/nginx/
A _nginx/500.html

@@ -0,0 +1,55 @@

+<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <title>Caroster - Site en maintenance</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <style> + body { + font-family: Arial, sans-serif; + padding: 2vw; + background-color: #fafafa; + } + + h1 { + margin-bottom: 20px; + color: #007deb; + } + + p { + font-size: 18px; + margin-bottom: 20px; + } + + img { + width: 20rem; + max-width: 100%; + } + </style> + </head> + <body> + <img + src="https://images.squarespace-cdn.com/content/v1/595e255a17bffc442c44180e/1594793853227-W7L5RZ4UGCST4WHYYOJM/Caroster_logo.png?format=1500w" + alt="Caroster" + /> + <h1>Site under maintenance</h1> + <p> + The site is currently under maintenance. It will be available again very + shortly. + </p> + <p> + For any questions or problems, + <a href="mailto:support@octree.ch">please contact support</a>. + </p> + <br /> + <h1>Site en maintenance</h1> + <p> + Le site est actuellement en maintenance. Il sera à nouveau disponible très + prochainement. + </p> + <p> + Pour toute question ou problème, merci de + <a href="mailto:support@octree.ch">contacter le support</a>. + </p> + </body> +</html>