Skip to content

Commit

Permalink
reafactored from cra to vite, added more react query caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Handke committed Jan 14, 2024
1 parent 1573808 commit 024319b
Show file tree
Hide file tree
Showing 41 changed files with 475 additions and 22,538 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_GOOGLE_MAPS_API_KEY=AIzaSyAoNO1VNgS1dy9Z74yD8eMohUVE4Dv1Dw8
REACT_APP_BACKEND_URL=https://kickeventbackend.azurewebsites.net
VITE_GOOGLE_MAPS_API_KEY=AIzaSyAoNO1VNgS1dy9Z74yD8eMohUVE4Dv1Dw8
VITE_BACKEND_URL=https://kickeventbackend.azurewebsites.net

5 changes: 5 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"react-app"
]
}
8 changes: 4 additions & 4 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="/favicon.ico" />
<link href="https://fonts.cdnfonts.com/css/sometype-mono" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Outfit' rel='stylesheet'>
<link rel="preconnect" href="https://fonts.googleapis.com">
Expand All @@ -19,12 +19,12 @@
content="KickEvent - Triff dich zum Fußball spielen!"
/>

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="/manifest.json" />

<title>Kickevent</title>
</head>
<body class="bg-background">
<div id="root" class="bg-background"></div>
<body id="root" class="">

<script type="module" src="/src/index.jsx"></script>
</body>
</html>
Loading

0 comments on commit 024319b

Please sign in to comment.