-
Loading…
+
+
+
+
+
+
+
Find Your Next Adventure
+
Connect with the best outdoor guides and outfitters. Book your dream trip today.
+
Get Started
+
+
+
+
+
+
+
+
+
+
+
Expert Guides
+
Our guides are experienced, certified, and passionate about the outdoors.
+
+
+
+
+
Unique Trips
+
Discover one-of-a-kind adventures, from mountain treks to coastal kayaking.
+
+
+
+
+
Seamless Booking
+
Book your next trip in minutes with our secure and easy-to-use platform.
+
+
+
+
+
{% endblock %}
\ No newline at end of file
diff --git a/core/templates/registration/register.html b/core/templates/registration/register.html
new file mode 100644
index 0000000..48a6a55
--- /dev/null
+++ b/core/templates/registration/register.html
@@ -0,0 +1,22 @@
+{% extends 'base.html' %}
+
+{% block title %}Register{% endblock %}
+
+{% block content %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/core/urls.py b/core/urls.py
index 6299e3d..869b64b 100644
--- a/core/urls.py
+++ b/core/urls.py
@@ -1,7 +1,8 @@
from django.urls import path
-from .views import home
+from .views import home, register
urlpatterns = [
path("", home, name="home"),
+ path('register/', register, name='register'),
]
diff --git a/core/views.py b/core/views.py
index c9aed12..2daeef9 100644
--- a/core/views.py
+++ b/core/views.py
@@ -1,25 +1,15 @@
-import os
-import platform
-
-from django import get_version as django_version
-from django.shortcuts import render
-from django.utils import timezone
-
+from django.shortcuts import render, redirect
+from .forms import CustomUserCreationForm
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()
+ return render(request, 'core/index.html')
- 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)
+def register(request):
+ if request.method == 'POST':
+ form = CustomUserCreationForm(request.POST)
+ if form.is_valid():
+ form.save()
+ return redirect('home')
+ else:
+ form = CustomUserCreationForm()
+ return render(request, 'registration/register.html', {'form': form})
diff --git a/static/css/custom.css b/static/css/custom.css
index 925f6ed..579d180 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -1,4 +1,91 @@
-/* Custom styles for the application */
-body {
- font-family: system-ui, -apple-system, sans-serif;
+
+:root {
+ --primary-color: #2A3D45;
+ --secondary-color: #C17C74;
+ --accent-color: #F2D3AC;
+ --background-color: #F7F7F7;
+ --text-color: #333333;
+ --heading-font: 'Poppins', sans-serif;
+ --body-font: 'Lato', sans-serif;
+}
+
+body {
+ font-family: var(--body-font);
+ color: var(--text-color);
+ background-color: var(--background-color);
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: var(--heading-font);
+ font-weight: 600;
+}
+
+.navbar {
+ border-bottom: 1px solid #eee;
+}
+
+.navbar-brand {
+ font-family: var(--heading-font);
+ font-weight: 700;
+ font-size: 1.5rem;
+ color: var(--primary-color);
+}
+
+.btn-primary {
+ background-color: var(--primary-color);
+ border-color: var(--primary-color);
+ font-weight: 600;
+ padding: 0.75rem 1.5rem;
+ transition: background-color 0.3s ease;
+}
+
+.btn-primary:hover {
+ background-color: #1a2b34;
+ border-color: #1a2b34;
+}
+
+.hero-section {
+ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
+ background-size: cover;
+ color: white;
+ padding: 10rem 0;
+ text-align: left;
+}
+
+.hero-section h1 {
+ font-size: 4.5rem;
+ font-weight: 700;
+}
+
+.hero-section .lead {
+ font-size: 1.5rem;
+ margin-bottom: 2rem;
+}
+
+.features-section {
+ padding: 6rem 0;
+}
+
+.feature h3 {
+ font-size: 1.75rem;
+ margin-bottom: 1rem;
+ color: var(--primary-color);
+}
+
+.feature p {
+ font-size: 1.1rem;
+ color: #666;
+}
+
+.registration-form {
+ background-color: #fff;
+ padding: 3rem;
+ border-radius: 10px;
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
+}
+
+.registration-form h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+ color: var(--primary-color);
}