Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc44b20a43 |
200
assets/css/custom.css
Normal file
200
assets/css/custom.css
Normal file
@ -0,0 +1,200 @@
|
||||
/* MoneyAI Custom Styles */
|
||||
|
||||
/* --- Fonts --- */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
||||
|
||||
/* --- Variables --- */
|
||||
:root {
|
||||
--primary-color: #4CAF50;
|
||||
--dark-color: #313131;
|
||||
--bg-color: #F4F4F4;
|
||||
--surface-color: #FFFFFF;
|
||||
--light-gray: #EAEAEA;
|
||||
--text-color: #555;
|
||||
--border-radius: 12px;
|
||||
--font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
/* --- Global --- */
|
||||
body {
|
||||
font-family: var(--font-family);
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 700;
|
||||
color: var(--dark-color);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #409a44;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* --- Buttons --- */
|
||||
.btn {
|
||||
border-radius: 50px; /* Apple-like pill shape */
|
||||
padding: 12px 30px;
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--surface-color);
|
||||
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
|
||||
background-color: #45a049;
|
||||
color: var(--surface-color);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: var(--surface-color);
|
||||
color: var(--dark-color);
|
||||
border: 1px solid var(--light-gray);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: var(--dark-color);
|
||||
color: var(--surface-color);
|
||||
border-color: var(--dark-color);
|
||||
}
|
||||
|
||||
|
||||
/* --- Navbar --- */
|
||||
.navbar {
|
||||
padding: 1rem 0;
|
||||
background-color: var(--bg-color);
|
||||
}
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
font-size: 1.5rem;
|
||||
color: var(--dark-color);
|
||||
}
|
||||
.navbar-nav .nav-link {
|
||||
color: var(--text-color);
|
||||
font-weight: 600;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.navbar-nav .nav-link:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
/* --- Hero Section --- */
|
||||
.hero {
|
||||
padding: 6rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.hero p {
|
||||
font-size: 1.2rem;
|
||||
max-width: 600px;
|
||||
margin: 0 auto 2rem;
|
||||
}
|
||||
|
||||
/* --- Section --- */
|
||||
.section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
.section-title {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
/* --- Feature Card --- */
|
||||
.feature-card {
|
||||
background-color: var(--surface-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2.5rem;
|
||||
text-align: center;
|
||||
border: 1px solid var(--light-gray);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
height: 100%;
|
||||
}
|
||||
.feature-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.07);
|
||||
}
|
||||
.feature-card .icon {
|
||||
font-size: 3rem;
|
||||
color: var(--primary-color);
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.feature-card h3 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* --- Pricing Card --- */
|
||||
.pricing-card {
|
||||
background-color: var(--surface-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 2.5rem;
|
||||
border: 1px solid var(--light-gray);
|
||||
text-align: center;
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
.pricing-card.pro {
|
||||
border: 2px solid var(--primary-color);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
.pricing-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.07);
|
||||
}
|
||||
.pricing-card h3 {
|
||||
font-size: 1.7rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
.pricing-card .price {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
color: var(--dark-color);
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.pricing-card .price span {
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--text-color);
|
||||
}
|
||||
.pricing-card ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
.pricing-card ul li {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.pricing-card ul li .bi {
|
||||
color: var(--primary-color);
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
/* --- Footer --- */
|
||||
.footer {
|
||||
background-color: var(--surface-color);
|
||||
padding: 3rem 0;
|
||||
margin-top: 5rem;
|
||||
border-top: 1px solid var(--light-gray);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
0
assets/js/main.js
Normal file
0
assets/js/main.js
Normal file
305
index.php
305
index.php
@ -1,150 +1,165 @@
|
||||
<?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">
|
||||
<title>MoneyAI - Your Personal Financial Assistant</title>
|
||||
|
||||
<!-- SEO Meta Tags -->
|
||||
<meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Manage your personal finances and get AI-powered advice with MoneyAI.'); ?>">
|
||||
<meta name="keywords" content="finance, money, ai, assistant, budget, tracking, savings">
|
||||
<meta name="author" content="MoneyAI">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="MoneyAI - Your Personal Financial Assistant">
|
||||
<meta property="og:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Manage your personal finances and get AI-powered advice with MoneyAI.'); ?>">
|
||||
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? 'assets/images/moneyai_og_image.jpg'); ?>">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:title" content="MoneyAI - Your Personal Financial Assistant">
|
||||
<meta property="twitter:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Manage your personal finances and get AI-powered advice with MoneyAI.'); ?>">
|
||||
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? 'assets/images/moneyai_og_image.jpg'); ?>">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Bootstrap Icons -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</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>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
</footer>
|
||||
|
||||
<!-- Header -->
|
||||
<nav class="navbar navbar-expand-lg">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">MoneyAI</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#features">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#pricing">Pricing</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Login</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#" class="btn btn-primary ms-lg-3">Sign Up</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<header class="hero">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-10 mx-auto">
|
||||
<h1>Your Personal Financial Assistant</h1>
|
||||
<p>Take control of your money with smart tracking, insightful reports, and AI-powered advice. MoneyAI makes financial management simple and effective.</p>
|
||||
<a href="#" class="btn btn-primary btn-lg">Get Started for Free</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section id="features" class="section">
|
||||
<div class="container">
|
||||
<h2 class="section-title">Everything You Need to Succeed</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-6 col-lg-3 d-flex align-items-stretch">
|
||||
<div class="feature-card">
|
||||
<div class="icon"><i class="bi bi-wallet2"></i></div>
|
||||
<h3>Track Expenses</h3>
|
||||
<p>Easily log your income and expenses with customizable categories.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 d-flex align-items-stretch">
|
||||
<div class="feature-card">
|
||||
<div class="icon"><i class="bi bi-pie-chart-fill"></i></div>
|
||||
<h3>Visualize Stats</h3>
|
||||
<p>Understand your spending habits with clear charts and reports.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 d-flex align-items-stretch">
|
||||
<div class="feature-card">
|
||||
<div class="icon"><i class="bi bi-bullseye"></i></div>
|
||||
<h3>Set Savings Goals</h3>
|
||||
<p>Define your financial goals and track your progress effortlessly.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3 d-flex align-items-stretch">
|
||||
<div class="feature-card">
|
||||
<div class="icon"><i class="bi bi-robot"></i></div>
|
||||
<h3>Get AI Advice</h3>
|
||||
<p>Receive personalized tips from our AI assistant to save more money.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Pricing Section -->
|
||||
<section id="pricing" class="section bg-white">
|
||||
<div class="container">
|
||||
<h2 class="section-title">Choose Your Plan</h2>
|
||||
<div class="row justify-content-center g-4">
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="pricing-card">
|
||||
<h3>Free</h3>
|
||||
<p>For getting started</p>
|
||||
<div class="price">$0<span>/month</span></div>
|
||||
<ul class="text-start">
|
||||
<li><i class="bi bi-check-circle-fill"></i> Track income & expenses</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Basic reports</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> 1 savings goal</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> 3 AI assistant requests</li>
|
||||
</ul>
|
||||
<a href="#" class="btn btn-secondary w-100">Start for Free</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="pricing-card pro">
|
||||
<h3>PRO</h3>
|
||||
<p>For full control</p>
|
||||
<div class="price">$9<span>/month</span></div>
|
||||
<ul class="text-start">
|
||||
<li><i class="bi bi-check-circle-fill"></i> Everything in Free</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Unlimited AI requests</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Unlimited categories & goals</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Detailed analytics</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Export to PDF/Excel</li>
|
||||
<li><i class="bi bi-check-circle-fill"></i> Custom themes</li>
|
||||
</ul>
|
||||
<a href="#" class="btn btn-primary w-100">Go PRO</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<p class="mb-0">© <?php echo date("Y"); ?> MoneyAI. All rights reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- Custom JS -->
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user