|
165 | 165 | {#if status === 'stopped' || status === 'paused'} |
166 | 166 | <button class="button is-small" on:click={start}> |
167 | 167 | <span class="icon is-small"> |
168 | | - <Play size="16" /> |
| 168 | + <Play size={16} /> |
169 | 169 | </span> |
170 | 170 | {#if status === 'stopped'} |
171 | 171 | <span>Start</span> |
|
176 | 176 | {:else if status === 'running'} |
177 | 177 | <button class="button is-small" on:click={pause}> |
178 | 178 | <span class="icon is-small"> |
179 | | - <Pause size="16" /> |
| 179 | + <Pause size={16} /> |
180 | 180 | </span> |
181 | 181 | <span>Pause</span> |
182 | 182 | </button> |
183 | 183 | <button class="button is-small" on:click={stop}> |
184 | 184 | <span class="icon is-small"> |
185 | | - <Stop size="16" /> |
| 185 | + <Stop size={16} /> |
186 | 186 | </span> |
187 | 187 | <span>Stop</span> |
188 | 188 | </button> |
189 | 189 | <div class="dropdown is-hoverable"> |
190 | 190 | <div class="dropdown-trigger"> |
191 | 191 | <button class="button is-small" aria-haspopup="true" aria-controls="dropdown-menu"> |
192 | 192 | <span class="icon is-small"> |
193 | | - <SkipForward size="16" /> |
| 193 | + <SkipForward size={16} /> |
194 | 194 | </span> |
195 | 195 | <span>Skip to</span> |
196 | 196 | </button> |
|
215 | 215 | <div class="container has-text-centered"> |
216 | 216 | {#if status !== 'running'} |
217 | 217 | <div> |
218 | | - <h1 class="title"> |
| 218 | + <h1 class="title has-text-white"> |
219 | 219 | Stretchly for Web |
220 | 220 | </h1> |
221 | 221 | <span class="tag {heroClass} is-light"> |
|
224 | 224 | </div> |
225 | 225 | {:else if current === 'work'} |
226 | 226 | <div> |
227 | | - <h1 class="title"> |
| 227 | + <h1 class="title has-text-white"> |
228 | 228 | Time to work! |
229 | 229 | </h1> |
230 | 230 | {#if finishedMinis === $longBreakInterval} |
|
241 | 241 | <div> |
242 | 242 | {#if finishedMinis === $longBreakInterval} |
243 | 243 | <div class="block"> |
244 | | - <h1 class="title"> |
| 244 | + <h1 class="title has-text-white"> |
245 | 245 | {longBreakIdea[0]} |
246 | 246 | </h1> |
247 | | - <h2 class="subtitle"> |
| 247 | + <h2 class="subtitle has-text-white"> |
248 | 248 | {longBreakIdea[1]} |
249 | 249 | </h2> |
250 | 250 | </div> |
251 | 251 | {:else} |
252 | | - <h1 class="title"e> |
| 252 | + <h1 class="title has-text-white"> |
253 | 253 | {miniBreakIdea} |
254 | 254 | </h1> |
255 | 255 | {/if} |
|
262 | 262 | </div> |
263 | 263 | <div class="hero-foot"> |
264 | 264 | <div class="container content has-text-right"> |
265 | | - <p> |
266 | | - <strong>Stretchly for Web</strong> v0.0.6 | |
267 | | - <a href="#preferences" class="is-underlined">Preferences</a> | |
268 | | - Made with ♥ by <a href="https://hovancik.net" class="is-underlined">Jan Hovancik</a> |
| 265 | + <p class="has-text-white"> |
| 266 | + <strong>Stretchly for Web</strong> <a href="https://github.com/hovancik/stretchly-for-web" class="is-underlined has-text-white">v0.0.7</a> | |
| 267 | + <a href="#preferences" class="is-underlined has-text-white">Preferences</a> | |
| 268 | + Made with ♥ by <a href="https://hovancik.net" class="is-underlined has-text-white">Jan Hovancik</a> |
269 | 269 | </p> |
270 | 270 | </div> |
271 | 271 | </div> |
|
276 | 276 | <h1 class="title" id="preferences"> |
277 | 277 | Preferences |
278 | 278 | </h1> |
279 | | - <p>Stop the breaks before editing preferences. |
| 279 | + {#if status === 'stopped'} |
| 280 | + <p>Here you can edit preferences.</p> |
| 281 | + {:else} |
| 282 | + <p>Stop the breaks before editing preferences.</p> |
| 283 | + {/if} |
280 | 284 | <h2 class="subtitle">Mini Breaks</h2> |
281 | 285 | <p>Mini Breaks are short breaks taken regularly to give you a chance to stretch and relax.</p> |
282 | 286 | <div class="field is-horizontal"> |
|
0 commit comments