Skip to content

Commit 448d1d4

Browse files
chore: settings page (#64)
Closes #63
1 parent 2d4ad41 commit 448d1d4

File tree

1 file changed

+62
-0
lines changed
  • src/quant_research_starter/frontend/cauweb/src/pages

1 file changed

+62
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
import React from 'react';
2+
import { Save } from 'lucide-react';
3+
4+
export const Settings: React.FC = () => {
5+
return (
6+
<div className="p-8">
7+
<div className="mb-8">
8+
<h1 className="text-3xl font-bold text-gray-900">Settings</h1>
9+
<p className="text-gray-600 mt-2">Configure your research environment</p>
10+
</div>
11+
12+
<div className="max-w-2xl">
13+
<div className="bg-white rounded-xl shadow-sm border border-gray-200 p-6">
14+
<h3 className="text-lg font-semibold text-gray-900 mb-6">Preferences</h3>
15+
16+
<div className="space-y-6">
17+
<div>
18+
<label className="block text-sm font-medium text-gray-700 mb-2">
19+
Default Timezone
20+
</label>
21+
<select className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
22+
<option>UTC</option>
23+
<option>EST</option>
24+
<option>PST</option>
25+
</select>
26+
</div>
27+
28+
<div>
29+
<label className="block text-sm font-medium text-gray-700 mb-2">
30+
Currency
31+
</label>
32+
<select className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent">
33+
<option>USD ($)</option>
34+
<option>EUR (€)</option>
35+
<option>GBP (£)</option>
36+
</select>
37+
</div>
38+
39+
<div>
40+
<label className="flex items-center">
41+
<input type="checkbox" className="rounded border-gray-300 text-blue-600 focus:ring-blue-500" />
42+
<span className="ml-2 text-sm text-gray-700">Enable real-time data updates</span>
43+
</label>
44+
</div>
45+
46+
<div>
47+
<label className="flex items-center">
48+
<input type="checkbox" className="rounded border-gray-300 text-blue-600 focus:ring-blue-500" defaultChecked />
49+
<span className="ml-2 text-sm text-gray-700">Send performance reports via email</span>
50+
</label>
51+
</div>
52+
53+
<button className="bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors flex items-center space-x-2">
54+
<Save className="w-4 h-4" />
55+
<span>Save Preferences</span>
56+
</button>
57+
</div>
58+
</div>
59+
</div>
60+
</div>
61+
);
62+
};

0 commit comments

Comments
 (0)