Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (51 loc) · 1.76 KB
/
Copy pathindex.html
File metadata and controls
54 lines (51 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LinkUp - Social App</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<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=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #111827; /* gray-900 */
}
/* --- THIS IS THE FIX --- */
/* Style the date input to look consistent */
input[type="date"] {
color-scheme: dark; /* Ensures the calendar pop-up is dark */
position: relative;
}
/* Style the placeholder text to be light gray */
input[type="date"]::before {
content: attr(placeholder);
position: absolute;
color: #9ca3af; /* A medium gray color */
}
/* Hide the placeholder when a date is selected */
input[type="date"]:focus::before,
input[type="date"]:valid::before {
display: none;
}
</style>
<script type="importmap">
{
"imports": {
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"react": "https://aistudiocdn.com/react@^19.2.0"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>