tangled
alpha
login
or
join now
stevedylan.dev
/
docs.surf
A fullstack app for indexing standard.site documents
2
fork
atom
overview
issues
pulls
pipelines
chore: added ie styles
stevedylan.dev
3 weeks ago
532e2e3e
6100dac6
+263
-9
1 changed file
expand all
collapse all
unified
split
packages
client
src
App.tsx
+263
-9
packages/client/src/App.tsx
···
105
105
};
106
106
107
107
return (
108
108
-
<div className="window" style={{ width: "100%", maxWidth: "800px" }}>
108
108
+
<div className="window" style={{ width: "100%", maxWidth: "900px" }}>
109
109
<div className="title-bar">
110
110
-
<div className="title-bar-text">Internet Explorer 6</div>
110
110
+
<div className="title-bar-text">ATFeeds - Microsoft Internet Explorer</div>
111
111
<div className="title-bar-controls">
112
112
<button aria-label="Minimize" />
113
113
<button aria-label="Maximize" />
114
114
<button aria-label="Close" />
115
115
</div>
116
116
</div>
117
117
-
<div className="window-body">
117
117
+
118
118
+
{/* IE Chrome Container */}
119
119
+
<div style={{ margin: "0 2px" }}>
120
120
+
{/* Menu Bar */}
118
121
<div
119
122
style={{
120
123
display: "flex",
121
121
-
gap: "8px",
122
122
-
marginBottom: "16px",
124
124
+
gap: "0",
125
125
+
padding: "1px 2px",
126
126
+
backgroundColor: "#ece9d8",
127
127
+
borderBottom: "1px solid #aca899",
128
128
+
fontSize: "12px",
129
129
+
}}
130
130
+
>
131
131
+
{["File", "Edit", "View", "Favorites", "Tools", "Help"].map((item) => (
132
132
+
<button
133
133
+
key={item}
134
134
+
style={{
135
135
+
background: "none",
136
136
+
border: "none",
137
137
+
padding: "1px 6px",
138
138
+
cursor: "pointer",
139
139
+
fontFamily: "inherit",
140
140
+
fontSize: "inherit",
141
141
+
}}
142
142
+
>
143
143
+
{item}
144
144
+
</button>
145
145
+
))}
146
146
+
</div>
147
147
+
148
148
+
{/* Toolbar */}
149
149
+
<div
150
150
+
style={{
151
151
+
display: "flex",
123
152
alignItems: "center",
153
153
+
gap: "2px",
154
154
+
padding: "2px 4px",
155
155
+
backgroundColor: "#ece9d8",
156
156
+
borderBottom: "1px solid #aca899",
124
157
}}
125
158
>
126
126
-
<button onClick={fetchFeed}>Refresh</button>
159
159
+
{/* Back button */}
160
160
+
<button
161
161
+
style={{
162
162
+
display: "flex",
163
163
+
alignItems: "center",
164
164
+
gap: "2px",
165
165
+
padding: "1px 4px",
166
166
+
background: "none",
167
167
+
border: "none",
168
168
+
cursor: "pointer",
169
169
+
}}
170
170
+
>
171
171
+
<img
172
172
+
src="/windows-icons/Back.png"
173
173
+
alt="Back"
174
174
+
style={{ width: "20px", height: "20px" }}
175
175
+
/>
176
176
+
<span style={{ fontSize: "11px" }}>Back</span>
177
177
+
</button>
178
178
+
179
179
+
{/* Forward button */}
180
180
+
<button
181
181
+
style={{
182
182
+
display: "flex",
183
183
+
alignItems: "center",
184
184
+
padding: "1px 2px",
185
185
+
background: "none",
186
186
+
border: "none",
187
187
+
cursor: "pointer",
188
188
+
}}
189
189
+
>
190
190
+
<img
191
191
+
src="/windows-icons/Forward.png"
192
192
+
alt="Forward"
193
193
+
style={{ width: "20px", height: "20px" }}
194
194
+
/>
195
195
+
</button>
196
196
+
197
197
+
<div style={{ width: "1px", height: "20px", backgroundColor: "#aca899", margin: "0 2px" }} />
198
198
+
199
199
+
{/* Stop */}
200
200
+
<button
201
201
+
style={{
202
202
+
padding: "1px 2px",
203
203
+
background: "none",
204
204
+
border: "none",
205
205
+
cursor: "pointer",
206
206
+
}}
207
207
+
>
208
208
+
<img
209
209
+
src="/windows-icons/Stop.png"
210
210
+
alt="Stop"
211
211
+
style={{ width: "20px", height: "20px" }}
212
212
+
/>
213
213
+
</button>
214
214
+
215
215
+
{/* Refresh */}
216
216
+
<button
217
217
+
onClick={fetchFeed}
218
218
+
style={{
219
219
+
padding: "1px 2px",
220
220
+
background: "none",
221
221
+
border: "none",
222
222
+
cursor: "pointer",
223
223
+
}}
224
224
+
>
225
225
+
<img
226
226
+
src="/windows-icons/IE Refresh.png"
227
227
+
alt="Refresh"
228
228
+
style={{ width: "20px", height: "20px" }}
229
229
+
/>
230
230
+
</button>
231
231
+
232
232
+
{/* Home */}
127
233
<button
128
234
onClick={() => window.open("https://standard.site", "_blank")}
235
235
+
style={{
236
236
+
padding: "1px 2px",
237
237
+
background: "none",
238
238
+
border: "none",
239
239
+
cursor: "pointer",
240
240
+
}}
129
241
>
130
130
-
Standard.site
242
242
+
<img
243
243
+
src="/windows-icons/IE Home.png"
244
244
+
alt="Home"
245
245
+
style={{ width: "20px", height: "20px" }}
246
246
+
/>
131
247
</button>
132
132
-
<div style={{ flex: 1 }} />
133
133
-
<span>{documents.length} documents</span>
248
248
+
249
249
+
<div style={{ width: "1px", height: "20px", backgroundColor: "#aca899", margin: "0 2px" }} />
250
250
+
251
251
+
{/* Search */}
252
252
+
<button
253
253
+
style={{
254
254
+
display: "flex",
255
255
+
alignItems: "center",
256
256
+
gap: "2px",
257
257
+
padding: "1px 4px",
258
258
+
background: "none",
259
259
+
border: "none",
260
260
+
cursor: "pointer",
261
261
+
}}
262
262
+
>
263
263
+
<img
264
264
+
src="/windows-icons/Search.png"
265
265
+
alt="Search"
266
266
+
style={{ width: "20px", height: "20px" }}
267
267
+
/>
268
268
+
<span style={{ fontSize: "11px" }}>Search</span>
269
269
+
</button>
270
270
+
271
271
+
{/* Favorites */}
272
272
+
<button
273
273
+
style={{
274
274
+
display: "flex",
275
275
+
alignItems: "center",
276
276
+
gap: "2px",
277
277
+
padding: "1px 4px",
278
278
+
background: "none",
279
279
+
border: "none",
280
280
+
cursor: "pointer",
281
281
+
}}
282
282
+
>
283
283
+
<img
284
284
+
src="/windows-icons/Favorites.png"
285
285
+
alt="Favorites"
286
286
+
style={{ width: "20px", height: "20px" }}
287
287
+
/>
288
288
+
<span style={{ fontSize: "11px" }}>Favorites</span>
289
289
+
</button>
290
290
+
291
291
+
<div style={{ width: "1px", height: "20px", backgroundColor: "#aca899", margin: "0 2px" }} />
292
292
+
293
293
+
{/* Mail */}
294
294
+
<button
295
295
+
style={{
296
296
+
padding: "1px 2px",
297
297
+
background: "none",
298
298
+
border: "none",
299
299
+
cursor: "pointer",
300
300
+
}}
301
301
+
>
302
302
+
<img
303
303
+
src="/windows-icons/Email.png"
304
304
+
alt="Mail"
305
305
+
style={{ width: "20px", height: "20px" }}
306
306
+
/>
307
307
+
</button>
308
308
+
309
309
+
{/* Print */}
310
310
+
<button
311
311
+
style={{
312
312
+
padding: "1px 2px",
313
313
+
background: "none",
314
314
+
border: "none",
315
315
+
cursor: "pointer",
316
316
+
}}
317
317
+
>
318
318
+
<img
319
319
+
src="/windows-icons/Printer.png"
320
320
+
alt="Print"
321
321
+
style={{ width: "20px", height: "20px" }}
322
322
+
/>
323
323
+
</button>
324
324
+
</div>
325
325
+
326
326
+
{/* Address Bar */}
327
327
+
<div
328
328
+
style={{
329
329
+
display: "flex",
330
330
+
alignItems: "center",
331
331
+
gap: "4px",
332
332
+
padding: "2px 4px",
333
333
+
backgroundColor: "#ece9d8",
334
334
+
borderBottom: "1px solid #aca899",
335
335
+
}}
336
336
+
>
337
337
+
<span style={{ fontSize: "11px", fontWeight: "normal" }}>Address</span>
338
338
+
<div
339
339
+
style={{
340
340
+
flex: 1,
341
341
+
display: "flex",
342
342
+
alignItems: "center",
343
343
+
backgroundColor: "white",
344
344
+
border: "1px solid #7f9db9",
345
345
+
padding: "1px 3px",
346
346
+
}}
347
347
+
>
348
348
+
<img
349
349
+
src="/windows-icons/Internet Explorer 6.png"
350
350
+
alt=""
351
351
+
style={{ width: "14px", height: "14px", marginRight: "3px" }}
352
352
+
/>
353
353
+
<span style={{ fontSize: "11px", color: "#000" }}>
354
354
+
https://atfeeds.stevedsimkins.workers.dev/feed
355
355
+
</span>
356
356
+
</div>
357
357
+
<button
358
358
+
style={{
359
359
+
display: "flex",
360
360
+
alignItems: "center",
361
361
+
gap: "2px",
362
362
+
padding: "1px 6px",
363
363
+
fontSize: "11px",
364
364
+
}}
365
365
+
>
366
366
+
<img
367
367
+
src="/windows-icons/Go.png"
368
368
+
alt=""
369
369
+
style={{ width: "14px", height: "14px" }}
370
370
+
/>
371
371
+
Go
372
372
+
</button>
373
373
+
<span style={{ fontSize: "11px" }}>Links</span>
374
374
+
</div>
375
375
+
</div>
376
376
+
377
377
+
<div className="window-body" style={{ margin: 0, padding: "4px 6px" }}>
378
378
+
<div
379
379
+
style={{
380
380
+
display: "flex",
381
381
+
gap: "4px",
382
382
+
marginBottom: "4px",
383
383
+
alignItems: "center",
384
384
+
fontSize: "11px",
385
385
+
}}
386
386
+
>
387
387
+
<span>{documents.length} documents loaded</span>
134
388
</div>
135
389
136
390
{loading && <p style={{ textAlign: "center" }}>Searching...</p>}