This commit is contained in:
Flatlogic Bot 2025-10-23 20:41:22 +00:00
parent 2a30fbdcdb
commit 6c8fd54e9c
3 changed files with 228 additions and 145 deletions

129
assets/css/custom.css Normal file
View File

@ -0,0 +1,129 @@
/* Premium House Hunting Application - RentEaze Pro */
/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');
/* --- Design System Integration --- */
:root {
--void-black: #0D0D12;
--obsidian: #1A1A24;
--electric-violet: #8B5CF6;
--cyber-blue: #3B82F6;
--neon-pink: #EC4899;
--text-primary: rgba(255, 255, 255, 0.9);
--text-secondary: rgba(255, 255, 255, 0.6);
--border-radius-card: 28px;
}
body {
background-color: var(--void-black);
color: var(--text-primary);
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
color: var(--text-primary);
}
.gradient-text {
background: linear-gradient(135deg, var(--electric-violet), var(--cyber-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* --- Advanced Glassmorphism --- */
.glass-card {
background: rgba(26, 26, 36, 0.6);
backdrop-filter: blur(24px) saturate(180%);
-webkit-backdrop-filter: blur(24px) saturate(180%);
border: 1.5px solid rgba(139, 92, 246, 0.2);
border-radius: var(--border-radius-card);
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
overflow: hidden;
}
/* --- 3D Interactive Elements --- */
.property-card-premium {
perspective: 1000px;
}
.property-card-premium:hover {
transform: translateY(-16px) translateZ(30px) scale(1.05);
border-color: rgba(139, 92, 246, 0.6);
box-shadow:
0 32px 64px rgba(139, 92, 246, 0.2),
0 0 0 1px rgba(236, 72, 153, 0.1);
}
/* --- Components --- */
.btn-premium {
background: linear-gradient(135deg, var(--electric-violet), var(--cyber-blue));
border: none;
color: white;
padding: 14px 32px;
font-family: 'Space Grotesk', sans-serif;
font-weight: 500;
border-radius: 14px;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}
.btn-premium:hover {
transform: scale(1.05);
box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}
.hero-section {
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.property-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.property-card-premium .card-img-top {
height: 250px;
object-fit: cover;
}
.property-card-premium .card-body {
padding: 1.5rem;
}
.property-card-premium .card-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.property-card-premium .card-text {
color: var(--text-secondary);
margin-bottom: 1rem;
}
.property-card-premium .price {
font-size: 1.75rem;
font-weight: 700;
color: var(--electric-violet);
}
.property-card-premium .price-period {
font-size: 1rem;
color: var(--text-secondary);
}
.navbar-brand {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
font-size: 1.5rem;
color: var(--text-primary) !important;
}

1
assets/js/main.js Normal file
View File

@ -0,0 +1 @@
// Custom JavaScript for RentEaze Pro will go here.

231
index.php
View File

@ -1,150 +1,103 @@
<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?>
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>New Style</title>
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<?php if ($projectDescription): ?>
<!-- Meta description -->
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<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);
}
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;
top: 0;
left: 0;
width: 100%;
height: 100%;
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: 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.loader {
margin: 1.25rem auto 1.25rem;
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hint {
opacity: 0.9;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; border: 0;
}
h1 {
font-size: 3rem;
font-weight: 700;
margin: 0 0 1rem;
letter-spacing: -1px;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
}
code {
background: rgba(0,0,0,0.2);
padding: 2px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
opacity: 0.7;
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Meta Tags -->
<title>RentEaze Pro - Next-Generation Property Discovery</title>
<meta name="description" content="RentEaze Pro is a premium, AI-powered house hunting application that transforms property discovery into an immersive 3D experience. Built with Flatlogic Generator.">
<meta name="keywords" content="house hunting, property rental, 3d property tour, ai property matching, premium real estate, apartment finder, virtual reality tours, luxury rentals, smart budget, neighborhood insights, landlord tools, Built with Flatlogic Generator">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="RentEaze Pro - Next-Generation Property Discovery">
<meta property="og:description" content="Experience the future of house hunting with immersive 3D tours and AI-powered recommendations.">
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="RentEaze Pro - Next-Generation Property Discovery">
<meta property="twitter:description" content="Experience the future of house hunting with immersive 3D tours and AI-powered recommendations.">
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Bootstrap 5 CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<header class="container mt-4">
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">RentEaze Pro</a>
</div>
</nav>
</header>
<main>
<div class="card">
<h1>Analyzing your requirements and generating your website…</h1>
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
<span class="sr-only">Loading…</span>
<section class="hero-section container">
<div class="hero-content">
<h1 class="display-3 mb-4">Discover Your Next Home in <span class="gradient-text">3D</span></h1>
<p class="lead mb-5" style="color: var(--text-secondary);">The future of property discovery is here. <br>Immersive, intelligent, and instant.</p>
<a href="#properties" class="btn btn-premium btn-lg">Start Intelligent Discovery</a>
</div>
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
<p class="hint">This page will update automatically as the plan is implemented.</p>
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
</section>
<section id="properties" class="container py-5">
<h2 class="text-center mb-5">Featured Premium Listings</h2>
<div class="property-grid">
<!-- Property Card 1 -->
<div class="property-card-premium glass-card">
<img src="https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" class="card-img-top" alt="Modern Living Room">
<div class="card-body">
<h5 class="card-title">Skyview Penthouse</h5>
<p class="card-text">Downtown, Financial District</p>
<div class="d-flex justify-content-between align-items-center">
<span class="price">$4,200<span class="price-period">/month</span></span>
<a href="#" class="btn btn-outline-light btn-sm">View Tour</a>
</div>
</div>
</div>
<!-- Property Card 2 -->
<div class="property-card-premium glass-card">
<img src="https://images.pexels.com/photos/2102587/pexels-photo-2102587.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" class="card-img-top" alt="Cozy Apartment">
<div class="card-body">
<h5 class="card-title">The Urban Loft</h5>
<p class="card-text">Arts District</p>
<div class="d-flex justify-content-between align-items-center">
<span class="price">$2,800<span class="price-period">/month</span></span>
<a href="#" class="btn btn-outline-light btn-sm">View Tour</a>
</div>
</div>
</div>
<!-- Property Card 3 -->
<div class="property-card-premium glass-card">
<img src="https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" class="card-img-top" alt="Luxury Condo">
<div class="card-body">
<h5 class="card-title">Serenity Suite</h5>
<p class="card-text">Greenwich Village</p>
<div class="d-flex justify-content-between align-items-center">
<span class="price">$3,500<span class="price-period">/month</span></span>
<a href="#" class="btn btn-outline-light btn-sm">View Tour</a>
</div>
</div>
</div>
</div>
</section>
</main>
<footer>
Page updated: <?= htmlspecialchars($now) ?> (UTC)
<footer class="container text-center py-5">
<p style="color: var(--text-secondary);">&copy; <?php echo date("Y"); ?> RentEaze Pro. All rights reserved. Built with Flatlogic.</p>
</footer>
<!-- Bootstrap 5 JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<!-- Custom JS -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>