-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.tsx
181 lines (179 loc) · 7.61 KB
/
Settings.tsx
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
import SearchIcon from "@mui/icons-material/Search";
const Settings = () => {
return (
<div data-testid="settings-element" className="flex flex-col p-6 gap-4">
<div className="flex flex-row justify-between w-full items-center">
<h1
data-testid="settings-header-element"
className="font-bold text-3xl"
>
Settings
</h1>
<SearchIcon />
</div>
<div data-testid="lanaguage-select-element" className="flex flex-col">
<p className="font-bold text-sm">Language</p>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Choose language - Changes will be applied after restarting the app
</p>
<select className="select w-full max-w-xs">
<option>English</option>
<option>Japanese</option>
<option>Chinese</option>
<option>French</option>
<option>Swedish</option>
</select>
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Explicit Content</p>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Allow playback of explicit-rated content</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Autoplay</p>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Enjoy nonstop listening. When your audio ends, we'll play you
something similar
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
<div className="flex flex-col gap-4">
<p className="font-bold text-sm">Audio Quality</p>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Streaming quality</p>
<select className="select w-full max-w-xs">
<option>Low</option>
<option>Normal</option>
<option>High</option>
<option>Very High</option>
</select>
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Download</p>
<select className="select w-full max-w-xs">
<option>Low</option>
<option>Normal</option>
<option>High</option>
<option>Very High</option>
</select>
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Auto adjust quality - Recommended setting: On
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Normalize volume - Set the same volume level for all songs and
podcast s
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Volume level - Adjust the volume for your environment. Loud may{" "}
diminish audio quality. No effect on audio quality in Normal or
Quiet
</p>
<select className="select w-full max-w-xs">
<option>Low</option>
<option>Normal</option>
<option>High</option>
<option>Very High</option>
</select>
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Your library</p>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Show local files</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Display</p>
<div className="flex flex-col gap-2">
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Show the now-playing panel on click of play
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Show announcements about new releases</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Show desktop notifications when the song changes
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">See what your friends are playing</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Social</p>
<div className="flex flex-col gap-2">
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Publish my new playlists on my profile</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Start a private session</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Share my listening activity on Spotify</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Show my recently played artists on my public profile
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
</div>
<div className="flex flex-col">
<p className="font-bold text-sm">Playback</p>
<div className="flex flex-col gap-2">
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">Crossfade songs</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Automix - Allow seamless transition between songs on select
playlists
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Mono audio - Makes left and right speakers play the same audio
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
<div className="flex flex-row justify-between w-full items-center">
<p className="text-sm">
Show my recently played artists on my public profile
</p>
<input type="checkbox" className="toggle" defaultChecked />
</div>
</div>
</div>
</div>
);
};
export default Settings;