12/20/25 V.1

This commit is contained in:
Flatlogic Bot 2025-12-20 14:51:28 +00:00
parent 5952882f0f
commit 473e6afeab
3 changed files with 581 additions and 164 deletions

View File

@ -1,145 +1,73 @@
{% 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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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);
}
<link rel="stylesheet" href="{% static 'css/custom.css' %}">
</head>
<body>
* {
box-sizing: border-box;
}
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;
}
body::before {
content: '';
position: absolute;
inset: 0;
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 {
0% {
background-position: 0% 0%;
}
100% {
background-position: 100% 100%;
}
}
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>
<nav>
<a href="#" class="logo">
<span class="logo-icon">🛡️</span>
ComplianceShield Pro
</a>
<ul class="nav-links">
<li><a href="#features">Features</a></li>
<li><a href="#pricing">Pricing</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<a href="#" class="nav-cta">Get Started</a>
<div class="mobile-menu-toggle">
<span></span>
<span></span>
<span></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>
</nav>
<main>
<section class="hero">
<div class="hero-badge">
<span class="hero-badge-icon"></span>
Trusted by 500+ Contractors
</div>
<h1>Construction Compliance,<br>Made Simple.</h1>
<p class="hero-description">
The all-in-one platform for construction compliance. Track time, manage documents, and ensure OSHA compliance with ease.
</p>
<div class="hero-ctas">
<a href="#" class="btn-primary">Start Free Trial</a>
<a href="#" class="btn-secondary">
<span class="play-icon"></span>
Watch Demo
</a>
</div>
</main>
<footer>
Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC)
</footer>
{% endblock %}
<p class="hero-note">No credit card required. Cancel anytime.</p>
</section>
<section class="product-preview">
<!-- The rest of the page content would go here -->
</section>
</main>
<script>
const nav = document.querySelector('nav');
window.addEventListener('scroll', () => {
if (window.scrollY > 20) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
});
</script>
</body>
</html>

View File

@ -1,4 +1,257 @@
/* Custom styles for the application */
body {
font-family: system-ui, -apple-system, sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
: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);
}
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);
transition: all 0.3s ease;
}
nav.scrolled {
padding: 15px 60px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.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;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
transition: width 0.3s;
}
.nav-links a:hover {
color: var(--text-primary);
}
.nav-links a:hover::after {
width: 100%;
}
.nav-cta {
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
color: var(--bg-dark);
padding: 10px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 15px;
transition: all 0.3s;
box-shadow: 0 4px 12px rgba(201, 165, 90, 0.3);
}
.nav-cta:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(201, 165, 90, 0.4);
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
}
.mobile-menu-toggle span {
width: 25px;
height: 2px;
background: var(--text-primary);
transition: all 0.3s;
}
/* Hero Section */
.hero {
padding: 180px 60px 100px;
text-align: center;
position: relative;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-light);
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 30px;
animation: fadeInDown 0.6s ease;
}
.hero-badge-icon {
width: 20px;
height: 20px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
h1 {
font-size: 72px;
line-height: 1.1;
margin-bottom: 24px;
background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease;
}
.hero-description {
font-size: 20px;
color: #808080;
max-width: 700px;
margin: 0 auto 40px;
line-height: 1.6;
animation: fadeInUp 1s ease;
}
.hero-ctas {
display: flex;
gap: 20px;
justify-content: center;
margin-bottom: 16px;
animation: fadeInUp 1.2s ease;
}
.btn-primary {
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
color: var(--bg-dark);
padding: 16px 32px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: all 0.3s;
border: none;
cursor: pointer;
box-shadow: 0 4px 12px rgba(201, 165, 90, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(201, 165, 90, 0.4);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-light);
color: var(--text-primary);
padding: 16px 32px;
border-radius: 10px;
text-decoration: none;
font-weight: 500;
font-size: 16px;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
border-color: var(--border-light);
}
.play-icon {
width: 20px;
height: 20px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
padding-left: 2px;
}
.hero-note {
color: var(--text-muted);
font-size: 14px;
animation: fadeInUp 1.4s ease;
}
/* Product Preview */
.product-preview {
max-width: 1200px;
margin: 80px auto 0;
}

View File

@ -1,21 +1,257 @@
: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);
padding: 0;
box-sizing: border-box;
}
: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);
}
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: center;
justify-content: space-between;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
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);
transition: all 0.3s ease;
}
nav.scrolled {
padding: 15px 60px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.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;
position: relative;
}
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
transition: width 0.3s;
}
.nav-links a:hover {
color: var(--text-primary);
}
.nav-links a:hover::after {
width: 100%;
}
.nav-cta {
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
color: var(--bg-dark);
padding: 10px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 15px;
transition: all 0.3s;
box-shadow: 0 4px 12px rgba(201, 165, 90, 0.3);
}
.nav-cta:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(201, 165, 90, 0.4);
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
}
.mobile-menu-toggle span {
width: 25px;
height: 2px;
background: var(--text-primary);
transition: all 0.3s;
}
/* Hero Section */
.hero {
padding: 180px 60px 100px;
text-align: center;
position: relative;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-light);
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
color: var(--text-secondary);
margin-bottom: 30px;
animation: fadeInDown 0.6s ease;
}
.hero-badge-icon {
width: 20px;
height: 20px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
h1 {
font-size: 72px;
line-height: 1.1;
margin-bottom: 24px;
background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease;
}
.hero-description {
font-size: 20px;
color: #808080;
max-width: 700px;
margin: 0 auto 40px;
line-height: 1.6;
animation: fadeInUp 1s ease;
}
.hero-ctas {
display: flex;
gap: 20px;
justify-content: center;
margin-bottom: 16px;
animation: fadeInUp 1.2s ease;
}
.btn-primary {
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
color: var(--bg-dark);
padding: 16px 32px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: all 0.3s;
border: none;
cursor: pointer;
box-shadow: 0 4px 12px rgba(201, 165, 90, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(201, 165, 90, 0.4);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-light);
color: var(--text-primary);
padding: 16px 32px;
border-radius: 10px;
text-decoration: none;
font-weight: 500;
font-size: 16px;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
border-color: var(--border-light);
}
.play-icon {
width: 20px;
height: 20px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
padding-left: 2px;
}
.hero-note {
color: var(--text-muted);
font-size: 14px;
animation: fadeInUp 1.4s ease;
}
/* Product Preview */
.product-preview {
max-width: 1200px;
margin: 80px auto 0;
}