diff --git a/app/html/concepts.html b/app/html/concepts.html deleted file mode 100644 index e6a8546..0000000 --- a/app/html/concepts.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - Islam - The Pillars and Core Concepts - - - -
-

The Pillars of Islam

-

Welcome! This page introduces the foundational pillars and core concepts of Islam in a simple, accessible way for everyone.

-
-
-
-

The Five Pillars of Islam

-
    -
  1. Shahada (Faith): Declaring there is no god but Allah, and Muhammad is His Messenger.
  2. -
  3. Salah (Prayer): Performing the five daily prayers.
  4. -
  5. Zakat (Charity): Giving to those in need and supporting the community.
  6. -
  7. Sawm (Fasting): Fasting during the month of Ramadan.
  8. -
  9. Hajj (Pilgrimage): Making the pilgrimage to Mecca at least once if able.
  10. -
-
-
-

Core Concepts

- -
-
-

Why These Pillars Matter

-

- Understanding these pillars and concepts helps build a strong foundation for faith and provides a welcoming entry point for anyone interested in learning more about Islam. -

-
-
- - - diff --git a/app/html/islam.html b/app/html/islam.html new file mode 100644 index 0000000..1666e03 --- /dev/null +++ b/app/html/islam.html @@ -0,0 +1,41 @@ + + + + + + Islam + + + +
+

Islam

+
+

What is Islam?

+

Islam is a monotheistic faith centered on the belief in one God (Allah), who is merciful, compassionate, and just. Muslims believe that God sent prophets throughout history to guide humanity, with the final prophet being Muhammad (peace be upon him). Islam teaches submission to the will of God, striving for righteousness, and living a life of compassion, justice, and service to others. The Quran and the teachings of Prophet Muhammad (Hadith) form the foundation of Islamic belief and practice.

+
+
+

Pillars of Islam

+

The Pillars of Islam are five essential acts of worship and practice that form the foundation of a Muslim's faith and actions. They are considered the core duties that every Muslim is expected to observe, serving as a guide for living a life devoted to God and in service to others.

+
    +
  1. Shahada (Faith): The declaration of faith. A Muslim testifies that there is no god but Allah, and Muhammad is His Messenger. This simple statement affirms the core belief in the oneness of God and the acceptance of Muhammad as His final prophet. It is the entry point into Islam and shapes a Muslim's worldview and purpose in life.
  2. +
  3. Salah (Prayer): Muslims are required to pray five times a day at prescribed times. These prayers are a direct link between the worshipper and God, providing structure to the day and serving as a reminder of the importance of faith, gratitude, and discipline in daily life.
  4. +
  5. Zakat (Charity): Muslims who are able must give a portion of their wealth each year to those in need. This practice purifies wealth, fosters social responsibility, and helps reduce inequality by supporting the less fortunate in the community.
  6. +
  7. Sawm (Fasting): During the month of Ramadan, Muslims fast from dawn to sunset. Fasting teaches self-control, empathy for the hungry, and spiritual reflection. It is a time for increased worship, charity, and community.
  8. +
  9. Hajj (Pilgrimage): Muslims who are physically and financially able must perform the pilgrimage to Mecca at least once in their lifetime. Hajj is a profound spiritual journey that unites Muslims from around the world in worship and equality before God.
  10. +
+
+
+

Articles of Faith

+

The Articles of Faith are six core beliefs that every Muslim holds. These beliefs define a Muslim's understanding of the world, the unseen, and the relationship between God, humanity, and the universe. They provide the spiritual and theological framework for Islamic faith.

+ +
+
+ + diff --git a/main.go b/main.go index 42bd603..b16500e 100644 --- a/main.go +++ b/main.go @@ -170,8 +170,8 @@ func registerLiteRoutes(q *quran.Quran, n *names.Names, b *hadith.Volumes, a *ap }) http.HandleFunc("/islam", func(w http.ResponseWriter, r *http.Request) { - html := app.Get("concepts.html") - page := app.RenderHTML("Islam", "The pillars and core concepts of Islam", html) + html := app.Get("islam.html") + page := app.RenderHTML("Islam", "An overview of Islam", html) w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Write([]byte(page)) }) diff --git a/web/app/routes/_app.islam._index.tsx b/web/app/routes/_app.islam._index.tsx index 675ba4c..40f1580 100644 --- a/web/app/routes/_app.islam._index.tsx +++ b/web/app/routes/_app.islam._index.tsx @@ -2,10 +2,10 @@ import React from 'react'; export function meta() { return [ - { title: 'Islam - The Pillars and Core Concepts' }, + { title: 'Islam - Reminder' }, { name: 'description', - content: 'Learn about the Five Pillars of Islam and the core concepts of the faith in a simple, accessible way.' + content: 'What is Islam? Learn about the faith, the Five Pillars of Islam, and the Articles of Faith.' } ]; } @@ -14,43 +14,46 @@ export default function IslamPage() { return (

- The Pillars of Islam + Islam

-
-

- The Five Pillars of Islam -

-
    -
  1. Shahada (Faith): Declaring there is no god but Allah, and Muhammad is His Messenger.
  2. -
  3. Salah (Prayer): Performing the five daily prayers.
  4. -
  5. Zakat (Charity): Giving to those in need and supporting the community.
  6. -
  7. Sawm (Fasting): Fasting during the month of Ramadan.
  8. -
  9. Hajj (Pilgrimage): Making the pilgrimage to Mecca at least once if able.
  10. -
+
+

What is Islam?

+

+ Islam is a monotheistic faith centered on the belief in one God (Allah), who is merciful, compassionate, and just. Muslims believe that God sent prophets throughout history to guide humanity, with the final prophet being Muhammad (peace be upon him). Islam teaches submission to the will of God, striving for righteousness, and living a life of compassion, justice, and service to others. The Quran and the teachings of Prophet Muhammad (Hadith) form the foundation of Islamic belief and practice. +

-
-

- Core Concepts -

-
    -
  • Tawhid: The oneness of God. God is unique, without partner, child, or equal.
  • -
  • Prophethood: God sent messengers to guide humanity.
  • -
  • Revelation: God’s guidance is delivered through scriptures like the Quran.
  • -
  • Worship: Acts of devotion are directed to God alone.
  • -
  • Accountability: Every person is responsible for their actions.
  • -
-
+
+
+

Pillars of Islam

+

+ The Pillars of Islam are five essential acts of worship and practice that form the foundation of a Muslim's faith and actions. They are considered the core duties that every Muslim is expected to observe, serving as a guide for living a life devoted to God and in service to others. +

+
    +
  1. Shahada (Faith): The declaration of faith. A Muslim testifies that there is no god but Allah, and Muhammad is His Messenger. This simple statement affirms the core belief in the oneness of God and the acceptance of Muhammad as His final prophet. It is the entry point into Islam and shapes a Muslim's worldview and purpose in life.
  2. +
  3. Salah (Prayer): Muslims are required to pray five times a day at prescribed times. These prayers are a direct link between the worshipper and God, providing structure to the day and serving as a reminder of the importance of faith, gratitude, and discipline in daily life.
  4. +
  5. Zakat (Charity): Muslims who are able must give a portion of their wealth each year to those in need. This practice purifies wealth, fosters social responsibility, and helps reduce inequality by supporting the less fortunate in the community.
  6. +
  7. Sawm (Fasting): During the month of Ramadan, Muslims fast from dawn to sunset. Fasting teaches self-control, empathy for the hungry, and spiritual reflection. It is a time for increased worship, charity, and community.
  8. +
  9. Hajj (Pilgrimage): Muslims who are physically and financially able must perform the pilgrimage to Mecca at least once in their lifetime. Hajj is a profound spiritual journey that unites Muslims from around the world in worship and equality before God.
  10. +
+
-
-

- Why These Pillars Matter -

-

- Understanding these pillars and concepts helps build a strong foundation for faith and provides a welcoming entry point for anyone interested in learning more about Islam. -

-
+
+

Articles of Faith

+

+ The Articles of Faith are six core beliefs that every Muslim holds. These beliefs define a Muslim's understanding of the world, the unseen, and the relationship between God, humanity, and the universe. They provide the spiritual and theological framework for Islamic faith. +

+
    +
  • Belief in Allah (God): Muslims believe in one, unique, all-powerful, and merciful God who created and sustains everything. God has no partners, children, or equals.
  • +
  • Belief in the Angels: Angels are spiritual beings created by God who carry out His commands, record human deeds, and deliver revelations to the prophets.
  • +
  • Belief in the revealed Books: Muslims believe that God sent guidance to humanity through scriptures, including the Torah, Psalms, Gospel, and finally the Quran, which is considered the final and complete revelation.
  • +
  • Belief in the Prophets: God sent many prophets to guide people, including Adam, Noah, Abraham, Moses, Jesus, and Muhammad (peace be upon them all). Muhammad is regarded as the last prophet.
  • +
  • Belief in the Day of Judgment: Muslims believe that everyone will be resurrected for judgment by God. Each person will be held accountable for their actions and rewarded or punished accordingly.
  • +
  • Belief in Divine Decree (Qadar): Muslims believe that God has knowledge and control over everything that happens. While humans have free will, everything ultimately occurs by God's will and wisdom.
  • +
+
+
); } diff --git a/web/web/package-lock.json b/web/web/package-lock.json new file mode 100644 index 0000000..9048023 --- /dev/null +++ b/web/web/package-lock.json @@ -0,0 +1,66 @@ +{ + "name": "web", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@types/react": "^19.1.6", + "@types/react-dom": "^19.1.5", + "react": "^19.1.0", + "react-dom": "^19.1.0" + } + }, + "node_modules/@types/react": { + "version": "19.1.6", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.6.tgz", + "integrity": "sha512-JeG0rEWak0N6Itr6QUx+X60uQmN+5t3j9r/OVDtWzFXKaj6kD1BwJzOksD0FF6iWxZlbE1kB0q9vtnU2ekqa1Q==", + "license": "MIT", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.1.5", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.1.5.tgz", + "integrity": "sha512-CMCjrWucUBZvohgZxkjd6S9h0nZxXjzus6yDfUb+xLxYM7VvjKNH1tQrE9GWLql1XoOP4/Ds3bwFqShHUYraGg==", + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.0.0" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" + }, + "node_modules/react": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", + "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", + "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.26.0" + }, + "peerDependencies": { + "react": "^19.1.0" + } + }, + "node_modules/scheduler": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", + "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", + "license": "MIT" + } + } +} diff --git a/web/web/package.json b/web/web/package.json new file mode 100644 index 0000000..ddba595 --- /dev/null +++ b/web/web/package.json @@ -0,0 +1,8 @@ +{ + "dependencies": { + "@types/react": "^19.1.6", + "@types/react-dom": "^19.1.5", + "react": "^19.1.0", + "react-dom": "^19.1.0" + } +}