Compare commits

...

6 Commits

Author SHA1 Message Date
Flatlogic Bot
167ce416cc Revert to version fd5f450 2025-12-20 20:25:55 +00:00
Flatlogic Bot
1e8de9746d Revert to version 7442a3b 2025-12-20 20:25:31 +00:00
Flatlogic Bot
42e99be0ab Revert to version fd5f450 2025-12-20 20:20:10 +00:00
Flatlogic Bot
7442a3b48c 12/20/25 V.3 2025-12-20 15:49:00 +00:00
Flatlogic Bot
fd5f4506a7 12/20/25 V.2 2025-12-20 15:20:08 +00:00
Flatlogic Bot
473e6afeab 12/20/25 V.1 2025-12-20 14:51:28 +00:00
8 changed files with 493 additions and 180 deletions

View File

@ -0,0 +1,99 @@
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ComplianceShield Pro Features - Complete construction compliance management, OSHA tracking, document management, and contractor oversight.">
<title>Features - ComplianceShield Pro</title>
<!-- Favicon -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🛡️</text></svg>">
<link rel="stylesheet" href="{% static 'css/custom.css' %}">
</head>
<body>
<nav>
<a href="/" class="logo">
<span class="logo-icon">🛡️</span>
ComplianceShield
</a>
<ul class="nav-links">
<li><a href="/">Home</a></li>
<li><a href="/features" class="active">Features</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Integrations</a></li>
<li><a href="#">About</a></li>
</ul>
<div class="nav-actions">
<a href="https://your-app.appwizzy.com" class="nav-cta">Sign In</a>
</div>
</nav>
<main class="page-header">
<div class="header-content">
<h1>All-in-One Compliance Platform</h1>
<p class="subtitle">A complete suite of tools to manage construction compliance, from team hours to OSHA standards, all in one place.</p>
</div>
</main>
<section class="features-grid">
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--blue);">⏱️</div>
<h3>Time Tracking & Scheduling</h3>
<p>Monitor team hours, schedule shifts, and manage payroll with an integrated time management system.</p>
</div>
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--green);">📋</div>
<h3>OSHA Compliance</h3>
<p>Automated checks and reporting to ensure your job sites meet the latest OSHA safety standards.</p>
</div>
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--orange);">📂</div>
<h3>Document Management</h3>
<p>Securely store, access, and manage all your compliance documents, certifications, and reports.</p>
</div>
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--red);">🤝</div>
<h3>Subcontractor Oversight</h3>
<p>Onboard and manage subcontractors, track their compliance status, and mitigate project risks.</p>
</div>
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--gold-dark);">📊</div>
<h3>Real-Time Analytics</h3>
<p>Access intuitive dashboards to visualize compliance metrics and make data-driven decisions.</p>
</div>
<div class="feature-card">
<div class="feature-icon" style="background-color: var(--text-muted);">🔔</div>
<h3>Automated Alerts</h3>
<p>Receive instant notifications for expiring certifications, non-compliance events, and critical deadlines.</p>
</div>
</section>
<footer class="footer">
<div class="footer-container">
<div class="footer-about">
<h3>ComplianceShield Pro</h3>
<p>Construction compliance management, simplified.</p>
</div>
<div class="footer-links">
<h4>Company</h4>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="footer-links">
<h4>Legal</h4>
<ul>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>&copy; 2025 ComplianceShield Pro. All rights reserved.</p>
</div>
</footer>
</body>
</html>

View File

@ -1,145 +1,68 @@
{% extends "base.html" %} {% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ComplianceShield Pro - Construction compliance management platform for contractors. Track time, manage documents, ensure OSHA compliance.">
<meta name="keywords" content="construction compliance, OSHA compliance, contractor management, construction software">
<title>ComplianceShield Pro - Construction Compliance Made Simple</title>
{% block title %}{{ project_name }}{% endblock %} <!-- Favicon -->
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🛡️</text></svg>">
{% block head %} <link rel="stylesheet" href="{% static 'css/custom.css' %}">
<link rel="preconnect" href="https://fonts.googleapis.com"> </head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <body>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
: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);
}
* { <nav>
box-sizing: border-box; <a href="/" class="logo">
} <span class="logo-icon">🛡️</span>
ComplianceShield
</a>
<ul class="nav-links">
<li><a href="/">Home</a></li>
<li><a href="/features">Features</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Integrations</a></li>
<li><a href="#">About</a></li>
</ul>
<div class="nav-actions">
<a href="https://your-app.appwizzy.com" class="nav-cta">Sign In</a>
</div>
</nav>
body { <main>
margin: 0; <section class="hero">
font-family: 'Inter', sans-serif; <div class="hero-badge">
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end)); <span class="hero-badge-icon"></span>
color: var(--text-color); Trusted by 500+ Contractors
display: flex; </div>
justify-content: center; <h1>Construction Compliance,<br>Made Simple.</h1>
align-items: center; <p class="hero-description">
min-height: 100vh; The all-in-one platform for construction compliance. Track time, manage documents, and ensure OSHA compliance with ease.
text-align: center; </p>
overflow: hidden; <div class="hero-ctas">
position: relative; <a href="https://your-app.appwizzy.com/signup" class="btn-primary">Get Started</a>
} </div>
<p class="hero-note">No credit card required. Cancel anytime.</p>
</section>
body::before { <section class="product-preview">
content: ''; <!-- The rest of the page content would go here -->
position: absolute; </section>
inset: 0; </main>
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path d='M-10 10L110 10M10 -10L10 110' stroke-width='1' stroke='rgba(255,255,255,0.05)'/></svg>");
animation: bg-pan 20s linear infinite;
z-index: -1;
}
@keyframes bg-pan { <script>
0% { const nav = document.querySelector('nav');
background-position: 0% 0%; window.addEventListener('scroll', () => {
} if (window.scrollY > 20) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
});
</script>
100% { </body>
background-position: 100% 100%; </html>
}
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2.5rem 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
h1 {
font-size: clamp(2.2rem, 3vw + 1.2rem, 3.2rem);
font-weight: 700;
margin: 0 0 1.2rem;
letter-spacing: -0.02em;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
opacity: 0.92;
}
.loader {
margin: 1.5rem auto;
width: 56px;
height: 56px;
border: 4px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.runtime code {
background: rgba(0, 0, 0, 0.25);
padding: 0.15rem 0.45rem;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
footer {
position: absolute;
bottom: 1rem;
width: 100%;
text-align: center;
font-size: 0.85rem;
opacity: 0.75;
}
</style>
{% endblock %}
{% block content %}
<main>
<div class="card">
<h1>Analyzing your requirements and generating your app…</h1>
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
<span class="sr-only">Loading…</span>
</div>
<p class="hint">AppWizzy AI is collecting your requirements and applying the first changes.</p>
<p class="hint">This page will refresh automatically as the plan is implemented.</p>
<p class="runtime">
Runtime: Django <code>{{ django_version }}</code> · Python <code>{{ python_version }}</code>
— UTC <code>{{ current_time|date:"Y-m-d H:i:s" }}</code>
</p>
</div>
</main>
<footer>
Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC)
</footer>
{% endblock %}

View File

@ -1,7 +1,8 @@
from django.urls import path from django.urls import path
from .views import home from .views import index, features
urlpatterns = [ urlpatterns = [
path("", home, name="home"), path("", index, name="index"),
path("features/", features, name="features"),
] ]

View File

@ -6,20 +6,10 @@ from django.shortcuts import render
from django.utils import timezone from django.utils import timezone
def home(request): def index(request):
"""Render the landing screen with loader and environment details.""" context = {}
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", context)
def features(request):
context = {}
return render(request, "core/features.html", context)

View File

@ -1,4 +1,213 @@
/* Custom styles for the application */ * { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: system-ui, -apple-system, sans-serif; :root {
--gold-light: #f0d68c;
--gold-dark: #c9a55a;
--bg-dark: #0a0a0a;
--bg-card: #141414;
--text-primary: #ffffff;
--text-secondary: #a0a0a0;
--text-muted: #606060;
--border-light: rgba(255, 255, 255, 0.1);
--border-lighter: rgba(255, 255, 255, 0.05);
--green: #4caf50;
--orange: #ff9800;
--red: #ef4444;
--blue: #3b82f6;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
overflow-x: hidden;
line-height: 1.6;
}
/* Navigation */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
background: rgba(10, 10, 10, 0.95);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
border-bottom: 1px solid var(--border-light);
}
.logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 22px;
font-weight: 600;
color: var(--text-primary);
text-decoration: none;
}
.logo-icon {
width: 32px;
height: 32px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
.nav-links {
display: flex;
gap: 40px;
list-style: none;
}
.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-size: 15px;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
color: var(--text-primary);
}
.nav-cta {
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
color: #0a0a0a;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
}
.nav-cta:hover {
box-shadow: 0 4px 15px rgba(240, 214, 140, 0.2);
}
.nav-actions {
display: flex;
align-items: center;
gap: 20px;
}
/* Feature Page Specific Styles */
.page-header {
padding: 160px 60px 80px;
text-align: center;
border-bottom: 1px solid var(--border-lighter);
}
.header-content .subtitle {
font-size: 20px;
color: var(--text-secondary);
max-width: 700px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 80px 60px;
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border-lighter);
border-radius: 12px;
padding: 40px;
text-align: center;
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
border-color: var(--border-light);
}
.feature-icon {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin: 0 auto 24px;
}
.feature-card h3 {
font-size: 22px;
margin-bottom: 12px;
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.7;
}
/* Footer */
.footer {
background: var(--bg-card);
padding: 60px 60px 30px;
border-top: 1px solid var(--border-lighter);
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto 40px;
}
.footer-about h3 {
font-size: 20px;
margin-bottom: 12px;
}
.footer-about p {
color: var(--text-secondary);
}
.footer-links h4 {
font-size: 16px;
font-weight: 600;
margin-bottom: 16px;
}
.footer-links ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: var(--text-primary);
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid var(--border-lighter);
color: var(--text-muted);
font-size: 14px;
} }

View File

@ -1,21 +1,112 @@
/* Feature Page Specific Styles */
:root { .page-header {
--bg-color-start: #6a11cb; padding: 160px 60px 80px;
--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; text-align: center;
overflow: hidden; border-bottom: 1px solid var(--border-lighter);
position: relative; }
.header-content .subtitle {
font-size: 20px;
color: var(--text-secondary);
max-width: 700px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
padding: 80px 60px;
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border-lighter);
border-radius: 12px;
padding: 40px;
text-align: center;
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
border-color: var(--border-light);
}
.feature-icon {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin: 0 auto 24px;
}
.feature-card h3 {
font-size: 22px;
margin-bottom: 12px;
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.7;
}
/* Footer */
.footer {
background: var(--bg-card);
padding: 60px 60px 30px;
border-top: 1px solid var(--border-lighter);
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto 40px;
}
.footer-about h3 {
font-size: 20px;
margin-bottom: 12px;
}
.footer-about p {
color: var(--text-secondary);
}
.footer-links h4 {
font-size: 16px;
font-weight: 600;
margin-bottom: 16px;
}
.footer-links ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: var(--text-primary);
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid var(--border-lighter);
color: var(--text-muted);
font-size: 14px;
} }