-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
126 lines (115 loc) · 4.37 KB
/
index.html
File metadata and controls
126 lines (115 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>تَــسک آن (TaskON)</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📋</text></svg>">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#4f46e5" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
<style>
/* SUSE Mono Font from a third-party CDN */
@import url('https://fonts.cdnfonts.com/css/suse-mono');
:root {
--font-sans: 'Vazirmatn', sans-serif;
--font-mono: 'SUSE Mono', monospace;
}
body {
margin: 0;
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f8f9fa; /* light-bg */
color: #1f2937; /* light-text */
}
.dark body {
background-color: #0f172a; /* dark-bg */
color: #f8fafc; /* dark-text */
}
/* Material Symbols Outlined default style */
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
vertical-align: middle;
}
/* Smoother transitions */
*, *::before, *::after {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
</style>
<script type="importmap">
{
"imports": {
"react-dom/": "https://aistudiocdn.com/react-dom@^19.1.1/",
"react/": "https://aistudiocdn.com/react@^19.1.1/",
"react": "https://aistudiocdn.com/react@^19.1.1",
"appwrite": "https://aistudiocdn.com/appwrite@^20.1.0",
"@supabase/supabase-js": "https://aistudiocdn.com/@supabase/supabase-js@^2.58.0",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.21.0"
}
}
</script>
<!-- Tailwind CSS JIT CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Vazirmatn', 'sans-serif'],
mono: ['SUSE Mono', 'monospace'],
},
colors: {
primary: {
DEFAULT: '#4f46e5',
hover: '#4338ca',
},
accent: '#10b981',
light: {
bg: '#f8f9fa',
card: '#ffffff',
border: '#e5e7eb',
text: '#1f2937',
'muted-text': '#6b7280',
},
dark: {
bg: '#0f172a', // slate-900
card: '#1e293b', // slate-800
border: '#334152', // slate-700
text: '#f8fafc', // slate-50
'muted-text': '#94a3b8', // slate-400
}
},
boxShadow: {
'soft': '0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03)',
'soft-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025)'
}
}
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js').then(registration => {
console.log('SW registered: ', registration);
}).catch(registrationError => {
console.log('SW registration failed: ', registrationError);
});
});
}
</script>
</body>
</html>