Daviiin commited on
Commit
1d3c0b0
·
verified ·
1 Parent(s): f408039

Upload 5 files

Browse files
Files changed (5) hide show
  1. App.css +42 -0
  2. App.tsx +27 -0
  3. index.css +103 -0
  4. main.tsx +5 -0
  5. vite-env.d.ts +1 -0
App.css ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #root {
2
+ max-width: 1280px;
3
+ margin: 0 auto;
4
+ padding: 2rem;
5
+ text-align: center;
6
+ }
7
+
8
+ .logo {
9
+ height: 6em;
10
+ padding: 1.5em;
11
+ will-change: filter;
12
+ transition: filter 300ms;
13
+ }
14
+ .logo:hover {
15
+ filter: drop-shadow(0 0 2em #646cffaa);
16
+ }
17
+ .logo.react:hover {
18
+ filter: drop-shadow(0 0 2em #61dafbaa);
19
+ }
20
+
21
+ @keyframes logo-spin {
22
+ from {
23
+ transform: rotate(0deg);
24
+ }
25
+ to {
26
+ transform: rotate(360deg);
27
+ }
28
+ }
29
+
30
+ @media (prefers-reduced-motion: no-preference) {
31
+ a:nth-of-type(2) .logo {
32
+ animation: logo-spin infinite 20s linear;
33
+ }
34
+ }
35
+
36
+ .card {
37
+ padding: 2em;
38
+ }
39
+
40
+ .read-the-docs {
41
+ color: #888;
42
+ }
App.tsx ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { Toaster } from "@/components/ui/toaster";
2
+ import { Toaster as Sonner } from "@/components/ui/sonner";
3
+ import { TooltipProvider } from "@/components/ui/tooltip";
4
+ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
5
+ import { BrowserRouter, Routes, Route } from "react-router-dom";
6
+ import Index from "./pages/Index";
7
+ import NotFound from "./pages/NotFound";
8
+
9
+ const queryClient = new QueryClient();
10
+
11
+ const App = () => (
12
+ <QueryClientProvider client={queryClient}>
13
+ <TooltipProvider>
14
+ <Toaster />
15
+ <Sonner />
16
+ <BrowserRouter>
17
+ <Routes>
18
+ <Route path="/" element={<Index />} />
19
+ {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
20
+ <Route path="*" element={<NotFound />} />
21
+ </Routes>
22
+ </BrowserRouter>
23
+ </TooltipProvider>
24
+ </QueryClientProvider>
25
+ );
26
+
27
+ export default App;
index.css ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ /* Definition of the design system. All colors, gradients, fonts, etc should be defined here. */
6
+
7
+ @layer base {
8
+ :root {
9
+ --background: 0 0% 100%;
10
+ --foreground: 222.2 84% 4.9%;
11
+
12
+ --card: 0 0% 100%;
13
+ --card-foreground: 222.2 84% 4.9%;
14
+
15
+ --popover: 0 0% 100%;
16
+ --popover-foreground: 222.2 84% 4.9%;
17
+
18
+ --primary: 222.2 47.4% 11.2%;
19
+ --primary-foreground: 210 40% 98%;
20
+
21
+ --secondary: 210 40% 96.1%;
22
+ --secondary-foreground: 222.2 47.4% 11.2%;
23
+
24
+ --muted: 210 40% 96.1%;
25
+ --muted-foreground: 215.4 16.3% 46.9%;
26
+
27
+ --accent: 210 40% 96.1%;
28
+ --accent-foreground: 222.2 47.4% 11.2%;
29
+
30
+ --destructive: 0 84.2% 60.2%;
31
+ --destructive-foreground: 210 40% 98%;
32
+
33
+ --border: 214.3 31.8% 91.4%;
34
+ --input: 214.3 31.8% 91.4%;
35
+ --ring: 222.2 84% 4.9%;
36
+
37
+ --radius: 0.5rem;
38
+
39
+ --sidebar-background: 0 0% 98%;
40
+
41
+ --sidebar-foreground: 240 5.3% 26.1%;
42
+
43
+ --sidebar-primary: 240 5.9% 10%;
44
+
45
+ --sidebar-primary-foreground: 0 0% 98%;
46
+
47
+ --sidebar-accent: 240 4.8% 95.9%;
48
+
49
+ --sidebar-accent-foreground: 240 5.9% 10%;
50
+
51
+ --sidebar-border: 220 13% 91%;
52
+
53
+ --sidebar-ring: 217.2 91.2% 59.8%;
54
+ }
55
+
56
+ .dark {
57
+ --background: 222.2 84% 4.9%;
58
+ --foreground: 210 40% 98%;
59
+
60
+ --card: 222.2 84% 4.9%;
61
+ --card-foreground: 210 40% 98%;
62
+
63
+ --popover: 222.2 84% 4.9%;
64
+ --popover-foreground: 210 40% 98%;
65
+
66
+ --primary: 210 40% 98%;
67
+ --primary-foreground: 222.2 47.4% 11.2%;
68
+
69
+ --secondary: 217.2 32.6% 17.5%;
70
+ --secondary-foreground: 210 40% 98%;
71
+
72
+ --muted: 217.2 32.6% 17.5%;
73
+ --muted-foreground: 215 20.2% 65.1%;
74
+
75
+ --accent: 217.2 32.6% 17.5%;
76
+ --accent-foreground: 210 40% 98%;
77
+
78
+ --destructive: 0 62.8% 30.6%;
79
+ --destructive-foreground: 210 40% 98%;
80
+
81
+ --border: 217.2 32.6% 17.5%;
82
+ --input: 217.2 32.6% 17.5%;
83
+ --ring: 212.7 26.8% 83.9%;
84
+ --sidebar-background: 240 5.9% 10%;
85
+ --sidebar-foreground: 240 4.8% 95.9%;
86
+ --sidebar-primary: 224.3 76.3% 48%;
87
+ --sidebar-primary-foreground: 0 0% 100%;
88
+ --sidebar-accent: 240 3.7% 15.9%;
89
+ --sidebar-accent-foreground: 240 4.8% 95.9%;
90
+ --sidebar-border: 240 3.7% 15.9%;
91
+ --sidebar-ring: 217.2 91.2% 59.8%;
92
+ }
93
+ }
94
+
95
+ @layer base {
96
+ * {
97
+ @apply border-border;
98
+ }
99
+
100
+ body {
101
+ @apply bg-background text-foreground;
102
+ }
103
+ }
main.tsx ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import { createRoot } from 'react-dom/client'
2
+ import App from './App.tsx'
3
+ import './index.css'
4
+
5
+ createRoot(document.getElementById("root")!).render(<App />);
vite-env.d.ts ADDED
@@ -0,0 +1 @@
 
 
1
+ /// <reference types="vite/client" />