diff --git a/assets/vm-shot-2025-12-03T04-05-16-368Z.jpg b/assets/vm-shot-2025-12-03T04-05-16-368Z.jpg new file mode 100644 index 0000000..f562cf3 Binary files /dev/null and b/assets/vm-shot-2025-12-03T04-05-16-368Z.jpg differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 1f807fa..7014c2e 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 6867ddf..ec85e23 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/index.html b/core/templates/core/index.html index faec813..6d81c3d 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -1,145 +1,92 @@ {% extends "base.html" %} - -{% block title %}{{ project_name }}{% endblock %} - -{% block head %} - - - - -{% endblock %} +{% load static %} {% block content %} -
-
-

Analyzing your requirements and generating your app…

-
- Loading… + + +
+
+
+ +
+

Quran Phrases

+

Frequently repeated phrases from the Holy Quran

+
+
+
+
+ +
+
+ {% for phrase in phrases %} +
+
+
+
+ {{ phrase.a }} +
+ + {{ phrase.f }}× + +
+ +
+
+ English: + {{ phrase.e }} +
+
+ اردو: + {{ phrase.u }} +
+
+ தமிழ்: + {{ phrase.t }} +
+
+ +
+
+
+
+
+ {% endfor %}
-

AppWizzy AI is collecting your requirements and applying the first changes.

-

This page will refresh automatically as the plan is implemented.

-

- Runtime: Django {{ django_version }} · Python {{ python_version }} - — UTC {{ current_time|date:"Y-m-d H:i:s" }} -

-
- -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/core/urls.py b/core/urls.py index 6299e3d..332eff0 100644 --- a/core/urls.py +++ b/core/urls.py @@ -1,7 +1,9 @@ from django.urls import path -from .views import home +from django.urls import path + +from .views import index urlpatterns = [ - path("", home, name="home"), + path("", index, name="index"), ] diff --git a/core/views.py b/core/views.py index c9aed12..018ca3a 100644 --- a/core/views.py +++ b/core/views.py @@ -1,25 +1,59 @@ -import os -import platform - -from django import get_version as django_version from django.shortcuts import render -from django.utils import timezone +def index(request): + phrases_data = [ + { "a": "إن الله", "e": "Indeed, Allah", "u": "بیشک اللہ", "t": "நிச்சயமாக அல்லாஹ்", "f": 196 }, + { "a": "الذين آمنوا", "e": "Those who believed", "u": "جو لوگ ایمان لائے", "t": "நம்பிக்கை கொண்டவர்கள்", "f": 182 }, + { "a": "في الأرض", "e": "In the earth", "u": "زمین میں", "t": "பூமியில்", "f": 170 }, + { "a": "يا أيها", "e": "O you", "u": "اے", "t": "ஓ நீங்கள்", "f": 142 }, + { "a": "السماوات والأرض", "e": "The heavens and the earth", "u": "آسمان اور زمین", "t": "வானங்களும் பூமியும்", "f": 133 }, + { "a": "الذين كفروا", "e": "Those who disbelieved", "u": "جنہوں نے کفر کیا", "t": "நிராகரித்தவர்கள்", "f": 130 }, + { "a": "يا أيها الذين", "e": "O you who", "u": "اے لوگو جو", "t": "ஓ நீங்கள் யார்", "f": 92 }, + { "a": "من قبل", "e": "Before", "u": "پہلے سے", "t": "முன்பு", "f": 92 }, + { "a": "يا أيها الذين آمنوا", "e": "O you who believed", "u": "اے ایمان والو", "t": "ஓ நம்பிக்கை கொண்டவர்களே", "f": 89 }, + { "a": "من الله", "e": "From Allah", "u": "اللہ کی طرف سے", "t": "அல்லாஹ்விடமிருந்து", "f": 88 }, + { "a": "كل شيء", "e": "Everything", "u": "ہر چیز", "t": "அனைத்தும்", "f": 85 }, + { "a": "من دون", "e": "Besides", "u": "کے سوا", "t": "தவிர", "f": 81 }, + { "a": "من بعد", "e": "After", "u": "کے بعد", "t": "பிறகு", "f": 80 }, + { "a": "في السماوات", "e": "In the heavens", "u": "آسمانوں میں", "t": "வானங்களில்", "f": 70 }, + { "a": "سبيل الله", "e": "The way of Allah", "u": "اللہ کی راہ", "t": "அல்லாஹ்வின் பாதை", "f": 65 }, + { "a": "الحياة الدنيا", "e": "The worldly life", "u": "دنیا کی زندگی", "t": "உலக வாழ்க்கை", "f": 60 }, + { "a": "يوم القيامة", "e": "Day of Resurrection", "u": "قیامت کے دن", "t": "மறுமை நாள்", "f": 60 }, + { "a": "على كل شيء", "e": "Over everything", "u": "ہر چیز پر", "t": "அனைத்தின் மீதும்", "f": 52 }, + { "a": "آمنوا وعملوا الصالحات", "e": "Believed and did righteous", "u": "ایمان لائے اور نیک عمل", "t": "நம்பிக்கை நல்லறங்கள்", "f": 50 }, + { "a": "غفور رحيم", "e": "Forgiving, Merciful", "u": "بخشنے والا مہربان", "t": "மன்னிப்பவன் கருணையாளன்", "f": 43 }, + { "a": "في سبيل الله", "e": "In the way of Allah", "u": "اللہ کی راہ میں", "t": "அல்லாஹ்வின் பாதையில்", "f": 42 }, + { "a": "الله ورسوله", "e": "Allah and His Messenger", "u": "اللہ اور اس کا رسول", "t": "அல்லாஹ்வும் அவன் தூதரும்", "f": 40 }, + { "a": "رب العالمين", "e": "Lord of the worlds", "u": "رب العالمین", "t": "அகிலங்களின் இறைவன்", "f": 35 }, + { "a": "تجري من تحتها الأنهار", "e": "Rivers flow beneath", "u": "نہریں بہتی ہیں", "t": "நதிகள் ஓடும்", "f": 34 }, + { "a": "على كل شيء قدير", "e": "Over all things competent", "u": "ہر چیز پر قادر", "t": "ஆற்றலுடையவன்", "f": 33 }, + { "a": "بني إسرائيل", "e": "Children of Israel", "u": "بنی اسرائیل", "t": "இஸ்ரவேல் மக்கள்", "f": 33 }, + { "a": "فبأي آلاء ربكما تكذبان", "e": "Which favors deny", "u": "کون سی نعمت جھٹلاؤ گے", "t": "எந்த அருட்கொடைகளை மறுப்பீர்கள்", "f": 31 }, + { "a": "أهل الكتاب", "e": "People of the Book", "u": "اہل کتاب", "t": "வேதக்காரர்கள்", "f": 31 }, + { "a": "في السماوات والأرض", "e": "In heavens and earth", "u": "آسمانوں اور زمین میں", "t": "வானங்களிலும் பூமியிலும்", "f": 31 }, + { "a": "لا إله إلا هو", "e": "No deity except Him", "u": "کوئی معبود نہیں سوائے", "t": "அவனைத் தவிர இல்லை", "f": 30 }, + { "a": "العزيز الحكيم", "e": "Exalted, the Wise", "u": "زبردست حکمت والا", "t": "வலிமை ஞானமுடையவன்", "f": 29 }, + { "a": "خلق السماوات والأرض", "e": "Created heavens and earth", "u": "آسمان زمین پیدا کیا", "t": "வானங்கள் பூமி படைத்தான்", "f": 28 }, + { "a": "إن كنتم صادقين", "e": "If you are truthful", "u": "اگر تم سچے ہو", "t": "உண்மையாளர்கள் என்றால்", "f": 28 }, + { "a": "جنات تجري من تحتها الأنهار", "e": "Gardens rivers flow", "u": "باغات نہریں بہتی ہیں", "t": "தோட்டங்கள் நதிகள் ஓடும்", "f": 26 }, + { "a": "يا موسى", "e": "O Moses", "u": "اے موسیٰ", "t": "மூசாவே", "f": 24 }, + { "a": "في الآخرة", "e": "In the Hereafter", "u": "آخرت میں", "t": "மறுமையில்", "f": 24 }, + { "a": "إن في ذلك لآيات", "e": "Indeed in that are signs", "u": "اس میں نشانیاں ہیں", "t": "அதில் அடையாளங்கள்", "f": 24 }, + { "a": "أنزل الله", "e": "Allah revealed", "u": "اللہ نے نازل کیا", "t": "அல்லாஹ் அருளினான்", "f": 24 }, + { "a": "في قلوبهم", "e": "In their hearts", "u": "ان کے دلوں میں", "t": "அவர்கள் இதயங்களில்", "f": 24 }, + { "a": "صراط مستقيم", "e": "Straight path", "u": "سیدھا راستہ", "t": "நேரான பாதை", "f": 23 }, + { "a": "عن سبيل الله", "e": "From way of Allah", "u": "اللہ کی راہ سے", "t": "அல்லாஹ் பாதையிலிருந்து", "f": 23 }, + { "a": "وعد الله", "e": "Promise of Allah", "u": "اللہ کا وعدہ", "t": "அல்லாஹ் வாக்குறுதி", "f": 23 }, + { "a": "كان عاقبة", "e": "Was the end", "u": "انجام تھا", "t": "முடிவு இருந்தது", "f": 22 }, + { "a": "ابن مريم", "e": "Son of Mary", "u": "مریم کا بیٹا", "t": "மரியம் மகன்", "f": 22 }, + { "a": "الله غفور رحيم", "e": "Allah Forgiving Merciful", "u": "اللہ بخشنے والا مہربان", "t": "அல்லாஹ் மன்னிப்பவன்", "f": 22 }, + { "a": "واليوم الآخر", "e": "And the Last Day", "u": "اور آخری دن", "t": "இறுதி நாள்", "f": 22 }, + { "a": "أيها الناس", "e": "O mankind", "u": "اے لوگو", "t": "மனிதர்களே", "f": 21 }, + { "a": "كيف كان عاقبة", "e": "How was the end", "u": "کیسا تھا انجام", "t": "எப்படி முடிவு", "f": 21 } + ] + + # Add a calculated width for the frequency bar + for phrase in phrases_data: + phrase['f_width'] = (phrase['f'] / 196) * 100 -def home(request): - """Render the landing screen with loader and environment details.""" - host_name = request.get_host().lower() - agent_brand = "AppWizzy" if host_name == "appwizzy.com" else "Flatlogic" - now = timezone.now() - - context = { - "project_name": "New Style", - "agent_brand": agent_brand, - "django_version": django_version(), - "python_version": platform.python_version(), - "current_time": now, - "host_name": host_name, - "project_description": os.getenv("PROJECT_DESCRIPTION", ""), - "project_image_url": os.getenv("PROJECT_IMAGE_URL", ""), - } - return render(request, "core/index.html", context) + return render(request, "core/index.html", {"phrases": phrases_data}) \ No newline at end of file diff --git a/static/css/custom.css b/static/css/custom.css index 925f6ed..7e40b8b 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,4 +1 @@ -/* Custom styles for the application */ -body { - font-family: system-ui, -apple-system, sans-serif; -} +/* Add your custom CSS here */ \ No newline at end of file