Feature: Adhan info widget #5251
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
Related discussion #3924
Prayer Times widget that leverages the
adhan-jslibrary to display accurate Islamic prayer times based on the user's location.This widget will calculate prayer times using the
adhan-jslibrary. The following configuration options will be supported:latitude(required): The latitude of the location (e.g.,24.774265).longitude(required): The longitude of the location (e.g.,46.738586).method(optional): The calculation method for prayer times. Options include:"MuslimWorldLeague""Egyptian""Karachi""UmmAlQura""Dubai""MoonsightingCommittee""NorthAmerica""Kuwait""Qatar""Singapore""Turkey""UmmAlQura"if not specified.text_size(optional): Adjusts the font size of the displayed times. Options include:"4xl","3xl","2xl","xl","lg","md","sm","xs""xs"if not specified.Example Configuration:
Type of change
Checklist: