-
Analyzing your requirements and generating your app…
-
-
Loading…
+
+
+
+
+
Reflect and Grow
+
Your personal AI-powered self-reflection companion. Understand your year, set your goals, and unlock your potential.
+
Get Started
+
+
-
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/templates/registration/signup.html b/core/templates/registration/signup.html
new file mode 100644
index 0000000..b858ff6
--- /dev/null
+++ b/core/templates/registration/signup.html
@@ -0,0 +1,10 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
Sign up
+
+{% endblock %}
diff --git a/core/urls.py b/core/urls.py
index 6299e3d..46aedb3 100644
--- a/core/urls.py
+++ b/core/urls.py
@@ -1,7 +1,8 @@
from django.urls import path
-from .views import home
+from . import views
urlpatterns = [
- path("", home, name="home"),
+ path("", views.home, name="home"),
+ path('signup/', views.signup, name='signup'),
]
diff --git a/core/views.py b/core/views.py
index c9aed12..33eef23 100644
--- a/core/views.py
+++ b/core/views.py
@@ -2,12 +2,14 @@ import os
import platform
from django import get_version as django_version
-from django.shortcuts import render
+from django.contrib.auth import login
+from django.shortcuts import redirect, render
from django.utils import timezone
+from core.forms import SignUpForm
def home(request):
- """Render the landing screen with loader and environment details."""
+ """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()
@@ -23,3 +25,14 @@ def home(request):
"project_image_url": os.getenv("PROJECT_IMAGE_URL", ""),
}
return render(request, "core/index.html", context)
+
+def signup(request):
+ if request.method == 'POST':
+ form = SignUpForm(request.POST)
+ if form.is_valid():
+ user = form.save()
+ login(request, user)
+ return redirect('home')
+ else:
+ form = SignUpForm()
+ return render(request, 'registration/signup.html', {'form': form})
diff --git a/static/css/custom.css b/static/css/custom.css
index 925f6ed..de52d89 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -1,4 +1,24 @@
-/* Custom styles for the application */
body {
- font-family: system-ui, -apple-system, sans-serif;
+ font-family: 'Roboto', sans-serif;
+ background-color: #f0f0f0;
}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Poppins', sans-serif;
+}
+
+.hero-section {
+ background: linear-gradient(45deg, #1a1a2e, #16213e);
+ color: #ffffff;
+ padding: 100px 0;
+}
+
+.btn-primary {
+ background-color: #e94560;
+ border-color: #e94560;
+}
+
+.btn-primary:hover {
+ background-color: #d43d51;
+ border-color: #d43d51;
+}
\ No newline at end of file
diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css
index 108056f..de52d89 100644
--- a/staticfiles/css/custom.css
+++ b/staticfiles/css/custom.css
@@ -1,21 +1,24 @@
-
-:root {
- --bg-color-start: #6a11cb;
- --bg-color-end: #2575fc;
- --text-color: #ffffff;
- --card-bg-color: rgba(255, 255, 255, 0.01);
- --card-border-color: rgba(255, 255, 255, 0.1);
-}
body {
- margin: 0;
- font-family: 'Inter', sans-serif;
- background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
- color: var(--text-color);
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 100vh;
- text-align: center;
- overflow: hidden;
- position: relative;
+ font-family: 'Roboto', sans-serif;
+ background-color: #f0f0f0;
}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Poppins', sans-serif;
+}
+
+.hero-section {
+ background: linear-gradient(45deg, #1a1a2e, #16213e);
+ color: #ffffff;
+ padding: 100px 0;
+}
+
+.btn-primary {
+ background-color: #e94560;
+ border-color: #e94560;
+}
+
+.btn-primary:hover {
+ background-color: #d43d51;
+ border-color: #d43d51;
+}
\ No newline at end of file