-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (160 loc) · 6.12 KB
/
index.html
File metadata and controls
172 lines (160 loc) · 6.12 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ProCal — Nutrition, Reinvented with AI.</title>
<meta name="description" content="ProCal analyzes your meals from a single photo — giving you real macros, real calories, and real control. The future of nutrition tracking." />
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
background: "#000000", // Pitch black for OLED depth
surface: "#050507", // Slightly off-black
glass: "rgba(255, 255, 255, 0.03)",
glassBorder: "rgba(255, 255, 255, 0.08)",
glassHighlight: "rgba(255, 255, 255, 0.15)",
primary: "#2dd4bf", // Teal 400
secondary: "#818cf8", // Indigo 400
accent: "#c084fc", // Purple 400
},
fontFamily: {
sans: ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'],
display: ['Inter', 'sans-serif'],
},
backgroundImage: {
'radial-highlight': 'radial-gradient(circle at center, rgba(45, 212, 191, 0.15) 0%, transparent 70%)',
'conic-gradient': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
animation: {
'blob': 'blob 20s infinite',
'float': 'float 8s ease-in-out infinite',
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'shimmer': 'shimmer 2.5s linear infinite',
'scan': 'scan 3s ease-in-out infinite',
'fade-in-up': 'fadeInUp 1s ease-out forwards',
'reveal': 'reveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards',
},
keyframes: {
blob: {
'0%': { transform: 'translate(0px, 0px) scale(1)' },
'33%': { transform: 'translate(30px, -50px) scale(1.1)' },
'66%': { transform: 'translate(-20px, 20px) scale(0.9)' },
'100%': { transform: 'translate(0px, 0px) scale(1)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
shimmer: {
'0%': { backgroundPosition: '-1000px 0' },
'100%': { backgroundPosition: '1000px 0' },
},
scan: {
'0%, 100%': { top: '0%', opacity: 0 },
'10%': { opacity: 1 },
'90%': { opacity: 1 },
'100%': { top: '100%', opacity: 0 },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(40px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
reveal: {
'0%': { opacity: '0', transform: 'scale(0.95) translateY(20px)' },
'100%': { opacity: '1', transform: 'scale(1) translateY(0)' },
}
},
},
},
}
</script>
<!-- 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=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<!-- JSON-LD for SEO -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "ProCal",
"operatingSystem": "iOS, Android",
"applicationCategory": "HealthApplication",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"description": "AI-powered macro and calorie tracker that analyzes food from photos."
}
</script>
<style>
body {
background-color: #000000;
color: #e2e8f0;
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #020617;
}
::-webkit-scrollbar-thumb {
background: #1e293b;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #334155;
}
/* Glass Utility Classes */
.glass-panel {
background: rgba(10, 10, 12, 0.6);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.glass-card {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 8px 40px rgba(0,0,0,0.4);
}
.text-glow {
text-shadow: 0 0 30px rgba(45, 212, 191, 0.2);
}
.neon-border {
box-shadow: 0 0 10px rgba(45, 212, 191, 0.1), inset 0 0 20px rgba(45, 212, 191, 0.05);
}
/* Utilities */
.mask-gradient-b {
mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
-webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"react": "https://aistudiocdn.com/react@^19.2.0",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"react-router-dom": "https://aistudiocdn.com/react-router-dom@^7.10.0",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.555.0"
}
}
</script>
</head>
<body class="antialiased min-h-screen selection:bg-teal-500/30 selection:text-teal-200 overflow-x-hidden">
<div id="root"></div>
</body>
</html>