From d22c3b0c257f5daf5b401988a35ab9ce981a2341 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Fri, 12 Aug 2022 19:54:46 +0200
Subject: refactor(frontend): move from Webpack to Vite

Also overhaulds the building and linting for frontend assets.
---
 subprojects/frontend/src/Loading.tsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 subprojects/frontend/src/Loading.tsx

(limited to 'subprojects/frontend/src/Loading.tsx')

diff --git a/subprojects/frontend/src/Loading.tsx b/subprojects/frontend/src/Loading.tsx
new file mode 100644
index 00000000..a699adca
--- /dev/null
+++ b/subprojects/frontend/src/Loading.tsx
@@ -0,0 +1,19 @@
+import CircularProgress from '@mui/material/CircularProgress';
+import { styled } from '@mui/material/styles';
+import React from 'react';
+
+const LoadingRoot = styled('div')({
+  width: '100vw',
+  height: '100vh',
+  display: 'flex',
+  alignItems: 'center',
+  justifyContent: 'center',
+});
+
+export default function Loading() {
+  return (
+    <LoadingRoot>
+      <CircularProgress />
+    </LoadingRoot>
+  );
+}
-- 
cgit v1.2.3-54-g00ecf

