-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
266 lines (231 loc) · 10.8 KB
/
index.html
File metadata and controls
266 lines (231 loc) · 10.8 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="assets/autopred.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>AutoPred: predict with confidence</title>
<meta name="description" content="AutoPred: a demo-first predictive modelling assistant for small business forecasting and scenario testing." />
<link rel="stylesheet" href="style.css" />
<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=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body class="sloths-page">
<header class="site-header">
<div class="container nav-container">
<div class="logo">
<a href="index.html" aria-label="AutoPred home">
<img class="logo-img" src="assets/autopred.svg" alt="AutoPred logo" />
</a>
<span class="logo-text">Auto<span>Pred</span></span>
</div>
<nav class="main-nav">
<a class="nav-link active" href="index.html" rel="noopener">home</a>
<a class="nav-link" href="direction.html" rel="noopener">direction</a>
<a class="nav-link" href="https://sloxen.com/contact.html" rel="noopener">contact</a>
</nav>
<button class="nav-toggle" type="button"
aria-label="Open menu"
aria-controls="mobile-nav"
aria-expanded="false">
<span></span><span></span><span></span>
</button>
<div id="mobile-nav" class="mobile-nav" aria-hidden="true">
<div class="mobile-nav__top">
<div class="mobile-nav__brand">Auto<span>Pred</span></div>
<button class="mobile-nav__close" type="button" aria-label="Close menu">✕</button>
</div>
<nav class="mobile-nav__menu" aria-label="Mobile navigation">
<div class="mobile-nav__cta">
<a class="mobile-btn mobile-btn--primary" href="#bakery-demo">Try demo</a>
</div>
<a class="mobile-link" href="index.html" rel="noopener">home</a>
<a class="mobile-link" href="direction.html" rel="noopener">direction</a>
<a class="mobile-link" href="https://sloxen.com/contact.html" rel="noopener">contact</a>
<p class="mobile-nav__privacy-note">
Static demonstration site. Uploads, accounts, and business-specific modelling will be added later.
</p>
<a class="mobile-link" href="https://sloxen.com/privacy.html">Privacy</a>
<a class="mobile-link" href="https://sloxen.com/terms.html">Terms</a>
</nav>
</div>
</div>
</header>
<main>
<!-- HERO -->
<section id="overview" class="tab-section">
<div class="container">
<h1>Navigate your businesses</h1>
<div class="spacer-lg"></div>
<div class="about-quote">
<p class="quote-lead">Predict with confidence.</p>
<p class="quote-body">Test business scenarios instantly: starting with a simple bakery revenue demo.</p>
</div>
<div class="spacer-xl"></div>
<p class="pill">Forecasting and scenario testing for small businesses.</p>
<div class="divider"></div>
<p>
AutoPred helps you turn historical business data into practical predictions: expected revenue,
confidence ranges, and the key factors behind each forecast.
</p>
<a
href="index.html#bakery-demo"
target="_blank"
rel="noopener"
class="pill"
style="display:inline-block; text-decoration:none; font-weight:800;"
>
try demo
</a>
<a
href="https://sloxen.com/contact.html"
target="_blank"
rel="noopener"
class="pill"
style="display:inline-block; text-decoration:none; font-weight:800;"
>
customise for your business
</a>
</div>
</section>
<!-- BAKERY DEMO -->
<section id="bakery-demo" class="tab-section">
<div class="container">
<h1>Try a live demonstration</h1>
<div class="divider"></div>
<p>
Change the scenario and see how the expected revenue moves. This is a lightweight front-end demo:
the full product will connect real datasets, model validation, and richer explanations.
</p>
<div class="aw-workbench">
<!-- LEFT PANE -->
<section class="aw-pane" aria-label="Scenario controls">
<div class="aw-pane__header">
<h3 class="aw-pane__title">Play</h3>
<p class="aw-pane__subtitle">Choose a business scenario</p>
</div>
<div class="aw-pane__body">
<div class="aw-card">
<h4 class="aw-card__title">Scenario</h4>
<div class="contact-form" style="max-width:100%;">
<div class="form-row">
<label for="demoCategory">Product category</label>
<select id="demoCategory">
<option value="pastry">Pastry</option>
<option value="bread">Bread</option>
<option value="coffee">Coffee</option>
<option value="cake">Cake</option>
</select>
</div>
<div class="form-row">
<label for="demoTime">Trading time</label>
<select id="demoTime">
<option value="morning">Morning</option>
<option value="afternoon">Afternoon</option>
</select>
</div>
<div class="form-row">
<label for="demoDay">Day type</label>
<select id="demoDay">
<option value="weekday">Weekday</option>
<option value="weekend">Weekend</option>
</select>
</div>
<div class="form-row">
<label for="demoWeather">Local condition</label>
<select id="demoWeather">
<option value="normal">Normal day</option>
<option value="rain">Rainy day</option>
<option value="sunny">Sunny day</option>
<option value="event">Nearby event</option>
</select>
</div>
<div class="form-row" style="display:flex; gap:0.6rem; flex-wrap:wrap;">
<button type="button" id="runPredictionBtn">Run prediction</button>
<button type="button" id="resetPredictionBtn">Reset</button>
</div>
</div>
</div>
<div class="aw-card">
<h4 class="aw-card__title">Decision question</h4>
<p class="aw-card__desc" id="decisionQuestion">
What revenue should I expect for pastry sales on a weekday morning?
</p>
</div>
</div>
</section>
<!-- RIGHT PANE -->
<section class="aw-pane" aria-label="Prediction output">
<div class="aw-pane__header">
<h3 class="aw-pane__title">See</h3>
<p class="aw-pane__subtitle">Prediction, range, and driver</p>
</div>
<div class="aw-pane__body">
<div class="aw-card">
<h4 class="aw-card__title">Predicted revenue</h4>
<div id="predictionOutput" aria-label="Prediction output" style="width:100%; min-height:150px; border:1px solid rgba(15,31,23,0.10); border-radius:14px; padding:16px; background:rgba(255,255,255,0.55); overflow:auto;">
<div style="font-size:2rem; font-weight:800;">£280</div>
<div style="color:rgba(15,31,23,0.68); margin-top:0.35rem;">Expected range: £238–£322</div>
<div style="color:rgba(15,31,23,0.68); margin-top:0.75rem;">Main driver: weekday mornings create steady baseline demand.</div>
</div>
</div>
<div class="aw-card">
<h4 class="aw-card__title">Simple visual cue</h4>
<div style="width:100%; border:1px solid rgba(15,31,23,0.10); border-radius:14px; padding:14px; background:rgba(255,255,255,0.55);">
<div style="font-size:0.78rem; letter-spacing:0.06em; font-weight:800; color:rgba(15,31,23,0.55); text-transform:uppercase;">Relative demand</div>
<div style="height:14px; border-radius:999px; background:rgba(15,31,23,0.10); overflow:hidden; margin-top:0.75rem;">
<div id="demandBar" style="height:100%; width:52%; border-radius:999px; background:rgba(15,31,23,0.55);"></div>
</div>
<p class="aw-card__desc" id="demandNote" style="margin-top:0.75rem;">
Medium demand scenario.
</p>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<!-- EXPLANATION -->
<section id="how-it-works" class="tab-section">
<div class="container">
<h1>How it works</h1>
<div class="divider"></div>
<div class="about-quote">
<p class="quote-lead">Not just a number.</p>
<p class="quote-body">AutoPred is designed to show the prediction, the likely range, and the business reason behind it.</p>
</div>
<div class="spacer-xl"></div>
<div class="aw-workbench">
<div class="aw-card">
<h4 class="aw-card__title">1. Forecast revenue</h4>
<p class="aw-card__desc">Estimate expected outcomes from historical patterns, categories, timing, and local context.</p>
</div>
<div class="aw-card">
<h4 class="aw-card__title">2. Test scenarios</h4>
<p class="aw-card__desc">Compare weekday, weekend, morning, afternoon, product mix, promotion, and event assumptions.</p>
</div>
<div class="aw-card">
<h4 class="aw-card__title">3. Explain drivers</h4>
<p class="aw-card__desc">Keep the model interpretable enough for real operational decisions, not hidden behind black-box output.</p>
</div>
</div>
</div>
</section>
<!-- Footer injection -->
<div id="site-footer"></div>
<button id="backToTop" aria-label="Back to top">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none">
<path d="M6 14l6-6 6 6"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"/>
</svg>
</button>
<script src="main.js"></script>
<script src="autopred.js"></script>
</main>
</body>
</html>