-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (90 loc) · 3.21 KB
/
index.html
File metadata and controls
94 lines (90 loc) · 3.21 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
<!DOCTYPE html>
<html>
<head>
<title>MaterialMatch AI</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- V3 Typography: Playfair Display for headers, Inter for body -->
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<script type="importmap">
{
"imports": {
"react": "https://aistudiocdn.com/react@^19.2.0",
"react-dom/client": "https://aistudiocdn.com/react-dom@^19.2.0/client",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.30.0",
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"react-dom": "https://aistudiocdn.com/react-dom@^19.2.0"
}
}
</script>
<style>
:root {
--bg: #F5F5F4;
--text: #1A1A1A;
--sage: #A7BEAE;
--sage-dark: #8CA393;
--terra: #D97706;
--glass: rgba(255, 255, 255, 0.65);
--glass-border: rgba(255, 255, 255, 0.4);
--shadow: 0 8px 32px rgba(0,0,0,0.05);
}
body { margin: 0; font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; margin: 0; }
button { cursor: pointer; font-family: 'Inter', sans-serif; border: none; outline: none; }
/* Hide scrollbar */
::-webkit-scrollbar { width: 0px; background: transparent; }
/* V3 Animations */
.fade-in { animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.glass-card {
background: var(--glass);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid var(--glass-border);
border-radius: 24px;
box-shadow: var(--shadow);
transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
border-color: var(--sage);
}
.btn-primary {
background: linear-gradient(135deg, var(--sage), #8CA393);
color: white;
height: 60px;
border-radius: 16px;
font-size: 18px;
font-weight: 600;
transition: all 0.3s;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--terra), #B86005);
box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
transform: translateY(-2px);
}
.tag {
display: inline-block;
padding: 6px 14px;
border-radius: 20px;
background: rgba(167, 190, 174, 0.25);
color: #3A5A4A;
font-size: 12px;
font-weight: 600;
margin-right: 8px;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
</body>
</html>