Skip to content

Commit

Permalink
I checked out how it looks on mobile and made some decisions
Browse files Browse the repository at this point in the history
  • Loading branch information
garbados committed Jan 7, 2025
1 parent 9045435 commit 839a2aa
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class WitchClock extends HTMLElement {
'section',
[
'hgroup',
['h1', 'The Calendar of the Witchmothers...'],
['h1', 'The Calendar of the Witchmothers'],
['p', '... is loading!']
]
])
Expand All @@ -157,12 +157,13 @@ class WitchClock extends HTMLElement {
'section',
[
'hgroup',
['h1', 'The Calendar of the Witchmothers...'],
['h3', '... needs your permission!']
['h1', 'The Calendar of the Witchmothers'],
['p', '... needs your permission!']
],
['p', 'This is a lunar-solar calendar that uses your location to calculate a time and date.'],
['p', 'This app runs entirely in your browser, so your location is never sent anywhere.'],
['input#geo-permission', { type: 'button', value: 'I give you permission to ask me where I am.' }]
['p', 'May I ask you to grant permission for your computer to determine your location?'],
['input#geo-permission', { type: 'button', value: 'OK!' }]
])
const node = document.getElementById('geo-permission')
node.addEventListener('click', this.handlePermissionClick.bind(this))
Expand All @@ -173,7 +174,7 @@ class WitchClock extends HTMLElement {
'section',
[
'hgroup',
['h1', 'The Calendar of the Witchmothers...'],
['h1', 'The Calendar of the Witchmothers'],
['p', '... could not obtain your permission!']
],
['p', error.message]
Expand All @@ -191,7 +192,7 @@ class WitchClock extends HTMLElement {
[
'hgroup',
['h1', 'The Calendar of the Witchmothers'],
['p', 'A lunar-solar calendar for living on Earth.']
['p', 'A lunar-solar calendar.']
],
['ul',
['li', explainSeason(witchy)],
Expand Down

0 comments on commit 839a2aa

Please sign in to comment.