Skip to content

Commit

Permalink
fix visited links
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Feb 10, 2025
1 parent 7aae3db commit d00a2df
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 23 deletions.
2 changes: 2 additions & 0 deletions html/files/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down Expand Up @@ -117,6 +118,7 @@ <h4 id="response-2">Response</h4>
<p>Format <code>JSON</code></p>

<ul>
<li><code>chapter</code> - <strong><code>int</code></strong> - Chapter of the verse</li>
<li><code>number</code> - <strong><code>int</code></strong> - Number of the verse</li>
<li><code>text</code> - <strong><code>string</code></strong> - Text of the verse</li>
<li><code>arabic</code> - <strong><code>string</code></strong> - Arabic text of the verse</li>
Expand Down
1 change: 1 addition & 0 deletions html/files/hadith.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down
46 changes: 24 additions & 22 deletions html/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down Expand Up @@ -62,56 +63,57 @@
</div>
<div id="content"><h1 id="what-is-the-reminder">What is the Reminder?</h1>

<p>The Reminder refers to the Quran, which is a divine revelation intended to provide guidance, instructions, and reminders to humanity about faith, morality, and the existence of Allah. It serves as a warning, a source of wisdom, and a guide for those who seek to live in accordance with divine teachings.</p>
<p>The Reminder refers to the Quran, which is considered a guiding text and a source of wisdom, warnings, and teachings for believers. It serves as a reminder of Allah&rsquo;s existence, mercy, and the importance of adhering to His guidance in life.</p>

<h1 id="what-is-the-quran">What is the Quran?</h1>

<p>The Quran is the holy book of Islam, believed to be the word of Allah (God) as revealed to the Prophet Muhammad through the angel Gabriel. It serves as a guide for personal conduct and spiritual guidance, containing teachings, laws, and narratives. The Quran is written in Arabic and is regarded as a complete and final revelation to humanity.</p>
<p>The Quran is the holy book of Islam, regarded as the word of Allah (God) as revealed to the Prophet Muhammad through the Angel Gabriel. It serves as a guide for Muslims, containing teachings, laws, and principles for living a righteous life. The Quran is written in Arabic and is composed of verses (ayahs) organized into chapters (surahs).</p>

<h1 id="what-is-the-hadith">What is the Hadith?</h1>

<p>A Hadith is a record of the sayings, actions, and approvals of the Prophet Muhammad. It serves as a guide for Islamic beliefs, practices, and laws, complementing the teachings of the Quran. Hadith collections are essential for understanding the Sunnah, the traditional practices of the Prophet.</p>
<p>A Hadith is a report or narration concerning the sayings, actions, or approvals of the Prophet Muhammad. It serves as a primary source of guidance in Islam, alongside the Quran, and helps in understanding the teachings and practices of the faith.</p>

<h1 id="who-is-allah">Who is Allah?</h1>

<p>Allah is the one and only God in Islam. He is the Creator of all things, the Supreme Being, and is characterized as the Most Compassionate, Most Merciful, All-Knowing, and All-Wise. Allah is considered to have no partners or equals and is the Sustainer of everything in the heavens and the earth. Worship is due to Him alone.</p>
<p>Allah is the One true God in Islam, acknowledged as the Creator of all things, the Sustainer, and the Almighty. He is known for His attributes such as being the Most Compassionate, Most Merciful, All-Knowing, and All-Wise. Allah is believed to have no partners or equals, and all worship is directed to Him alone.</p>

<h1 id="who-is-the-prophet-muhammad">Who is the prophet Muhammad</h1>

<p>Prophet Muhammad is the last messenger of Allah in Islam, known as the Seal of the Prophets. Born in Mecca around 570 CE, he received divine revelation that forms the basis of the Quran. He is revered for his exemplary character, leadership, and teachings, promoting a message of monotheism, compassion, and justice. His life and sayings, known as Hadith, continue to guide millions of Muslims worldwide.</p>
<p>Prophet Muhammad is considered the final messenger of Allah in Islam. He was born in Mecca in 570 CE and received divine revelations that form the Quran. He is known for his teachings which include principles of faith, morality, and social justice. Muhammad is revered as the &ldquo;Seal of the Prophets,&rdquo; meaning that he is the last prophet sent by Allah to guide humanity. His life and teachings are documented in the Hadith literature, where he is also described as compassionate, just, and a model for personal conduct.</p>

<h1 id="why-do-we-worship-allah">Why do we &lsquo;worship&rsquo; Allah?</h1>

<p>We worship Allah because He is the Creator and Sustainer of all things, deserving of reverence, gratitude, and devotion. Worshiping Allah helps us to acknowledge His greatness, seek His guidance, and cultivate a deeper connection with Him, leading to a fulfilling spiritual life. Additionally, worship is a means of obedience to His commands and an expression of our faith and appreciation for His blessings.</p>
<p>We worship Allah as an expression of gratitude, love, and reverence for Him, acknowledging His oneness, power, and the many blessings He bestows upon us. Worship serves to strengthen our relationship with Allah, guiding us to live a life aligned with His will and ultimately seeking His mercy and favor.</p>

<h1 id="how-do-we-worship-allah">How do we &lsquo;worship&rsquo; Allah?</h1>

<p>Worshiping Allah involves sincere devotion and obedience to Him. This includes performing the five obligatory prayers, reciting the Quran, practicing good deeds, and following the teachings of Prophet Muhammad. It also encompasses being grateful, maintaining honesty, kindness to others, and striving for righteousness in all aspects of life. Ultimately, worship should be done solely for Allah, with nothing associated alongside Him.</p>
<p>Worshiping Allah involves sincere devotion and can be expressed through various acts, including:</p>

<h1 id="what-happens-when-we-die">What happens when we die?</h1>
<ol>
<li><strong>Prayer</strong>: Performing the five daily prayers (Salah) with attentiveness and humility.</li>
<li><strong>Reading the Quran</strong>: Engaging with the holy scripture to understand and reflect upon its teachings.</li>
<li><strong>Supplication (Dua)</strong>: Invoking Allah for guidance, assistance, and forgiveness.</li>
<li><strong>Charity (Zakat and Sadaqah)</strong>: Giving to those in need, which is a form of worship through helping others.</li>
<li><strong>Fasting</strong>: Observing fasting during the month of Ramadan as an act of self-discipline and spiritual reflection.</li>
<li><strong>Gratitude</strong>: Acknowledging and thanking Allah for His blessings in daily life.</li>
<li><strong>Sincerity in Actions</strong>: Ensuring that all actions are performed with the intention of pleasing Allah and aligning with His commands.</li>
</ol>

<p>When we die, our souls are taken by the Angel of Death, and we return to our Lord for judgment. Everyone will be resurrected on the Day of Judgment, where our deeds will be assessed, and we will face the consequences of our actions. Believers may enter Paradise, while disbelievers may face punishment.</p>
<p>Ultimately, worship is about recognizing Allah&rsquo;s oneness, maintaining a connection with Him, and striving to live in accordance with His guidance.</p>

<h1 id="how-do-i-remember-allah">How do I remember Allah?</h1>
<h1 id="what-happens-when-we-die">What happens when we die?</h1>

<p>To remember Allah, you can engage in practices such as:</p>
<p>When we die, our souls transition from this life to the next. It is believed that the soul is taken by the Angel of Death and we will be judged for our actions in this world. After death, individuals are shown their place in either Paradise or Hell, reflecting their deeds. Ultimately, everyone will be resurrected on the Day of Judgment for final judgment.</p>

<ol>
<li><strong>Regular Prayer</strong>: Establish your daily prayers and focus on your connection with Allah during these times.</li>
<li><strong>Recitation of the Quran</strong>: Read and reflect on the verses of the Quran.</li>
<li><strong>Dhikr (Remembrance)</strong>: Use specific phrases like &ldquo;SubhanAllah,&rdquo; &ldquo;Alhamdulillah,&rdquo; and &ldquo;Allahu Akbar&rdquo; in your daily life.</li>
<li><strong>Reflect on Creation</strong>: Contemplate the wonders of the universe and your own existence.</li>
<li><strong>Gratitude</strong>: Acknowledge Allah&rsquo;s blessings in your life and express gratitude regularly.</li>
<li><strong>Seek Knowledge</strong>: Learn about Islamic teachings and the names of Allah to deepen your understanding and connection with Him.</li>
</ol>
<h1 id="how-do-i-remember-allah">How do I remember Allah?</h1>

<p>Engaging in these practices can enhance your mindfulness and remembrance of Allah throughout your daily life.</p>
<p>You can remember Allah by engaging in regular prayers, reciting the Quran, making supplications (duas), reflecting on His creations, and expressing gratitude for His blessings. Engaging in dhikr (remembrance) such as reciting phrases like &ldquo;Subhanallah&rdquo; (Glory be to Allah), &ldquo;Alhamdulillah&rdquo; (All praise is due to Allah), and &ldquo;Allahu Akbar&rdquo; (Allah is the Greatest) can also be helpful. Being mindful of His presence in everyday life and incorporating reminders in your daily routine can enhance your remembrance of Allah.</p>

<h1 id="how-do-i-become-muslim">How do I become Muslim?</h1>

<p>To become a Muslim, you need to sincerely declare your faith in the oneness of Allah and the prophethood of Muhammad. This declaration is known as the Shahada. You can say: &ldquo;Ashhadu an la ilaha illallah, wa ashhadu anna Muhammadur Rasulullah,&rdquo; which means &ldquo;I bear witness that there is no deity but Allah, and Muhammad is His Messenger.&rdquo;</p>
<p>To become a Muslim, you need to sincerely declare the Shahada, which is the testimony of faith. The Shahada states: &ldquo;Ashhadu an la ilaha illallah, wa ashhadu anna Muhammadur Rasoolullah,&rdquo; meaning &ldquo;I bear witness that there is no god but Allah, and I bear witness that Muhammad is His messenger.&rdquo; This declaration should be made consciously and with belief in your heart.</p>

<p>Following the declaration, it&rsquo;s recommended to learn about the pillars of Islam, which include performing the five daily prayers (Salah), giving to charity (Zakat), fasting during Ramadan, and if possible, performing the pilgrimage to Mecca (Hajj). Additionally, it&rsquo;s helpful to connect with a local Muslim community for support and guidance.</p>
<p>Additionally, it is recommended to learn about the basic tenets of Islam, such as the Five Pillars, and begin practicing them, including prayer, fasting, giving charity, and faith in the oneness of Allah. It&rsquo;s also supportive to connect with a Muslim community or an Islamic center where you can find guidance and assistance.</p>
</div>
</div>
</body>
Expand Down
1 change: 1 addition & 0 deletions html/files/names.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down
1 change: 1 addition & 0 deletions html/files/quran.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down
2 changes: 1 addition & 1 deletion html/files/quran.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions html/files/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down
1 change: 1 addition & 0 deletions html/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var Template = `
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap" rel="stylesheet">
<style>
html, body { height: 100%%; width: 100%%; margin: 0; padding: 0; font-family: "Nunito Sans", serif; }
a:visited { color:blue; }
#head { margin-bottom: 2.5em; }
#head a { margin-right: 10px; color: black; font-weight: bold; text-decoration: none; }
#container { height: 100%%; max-width: 1024px; margin: 0 auto; padding: 25px;}
Expand Down

0 comments on commit d00a2df

Please sign in to comment.