This commit is contained in:
2025-11-07 00:46:35 +01:00
parent 2118f002d1
commit c3f837b90f
143 changed files with 4223 additions and 9686 deletions

34
frontend_example/App.tsx Normal file
View File

@@ -0,0 +1,34 @@
import React from 'react';
import '@radix-ui/themes/styles.css';
import { Theme } from '@radix-ui/themes';
import { ToastContainer } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Home from './src/pages/Home';
import NotFound from './src/pages/NotFound';
const App: React.FC = () => {
return (
<Theme appearance="inherit" radius="large" scaling="100%">
<Router>
<main className="min-h-screen font-inter">
<Routes>
<Route path="/" element={<Home />} />
<Route path="*" element={<NotFound />} />
</Routes>
<ToastContainer
position="top-right"
autoClose={3000}
newestOnTop
closeOnClick
pauseOnHover
theme="dark"
/>
</main>
</Router>
</Theme>
);
}
export default App;