Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
@ -1,140 +0,0 @@
|
|||||||
|
|
||||||
/* KashRev Custom Styles */
|
|
||||||
|
|
||||||
:root {
|
|
||||||
--primary-color: #3A4E73; /* Deep Slate Blue */
|
|
||||||
--secondary-color: #D9C7A1; /* Warm Sand */
|
|
||||||
--accent-color: #C79D4F; /* Gold Ember */
|
|
||||||
--background-color: #F7F7F5; /* Off-White Snow */
|
|
||||||
--text-color: #2A2A2A; /* Graphite */
|
|
||||||
--heading-font: Georgia, 'Times New Roman', Times, serif;
|
|
||||||
--body-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
||||||
--border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: var(--background-color);
|
|
||||||
color: var(--text-color);
|
|
||||||
font-family: var(--body-font);
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
font-family: var(--heading-font);
|
|
||||||
color: var(--primary-color);
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary {
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
border-color: var(--primary-color);
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
padding: 12px 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-primary:hover {
|
|
||||||
background-color: #2c3e5f; /* Darker Slate Blue */
|
|
||||||
border-color: #2c3e5f;
|
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-secondary {
|
|
||||||
background-color: transparent;
|
|
||||||
border-color: var(--primary-color);
|
|
||||||
color: var(--primary-color);
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
padding: 12px 24px;
|
|
||||||
font-weight: bold;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-secondary:hover {
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
|
||||||
padding: 100px 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero h1 {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero p {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
color: #555;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
padding: 80px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-title {
|
|
||||||
text-align: center;
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
font-size: 2.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step-card, .feature-card, .loan-type-card {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid #eee;
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
padding: 30px;
|
|
||||||
text-align: center;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step-card:hover, .feature-card:hover, .loan-type-card:hover {
|
|
||||||
transform: translateY(-5px);
|
|
||||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.step-card .icon, .feature-card .icon, .loan-type-card .icon {
|
|
||||||
color: var(--accent-color);
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step-number {
|
|
||||||
display: inline-block;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
line-height: 40px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: var(--accent-color);
|
|
||||||
color: #fff;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: var(--body-font);
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
color: var(--background-color);
|
|
||||||
padding: 40px 0;
|
|
||||||
margin-top: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a {
|
|
||||||
color: var(--secondary-color);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a:hover {
|
|
||||||
color: #fff;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer .social-links a {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
margin: 0 10px;
|
|
||||||
}
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
// KashRev Main JS File
|
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
|
||||||
// Future JavaScript will go here
|
|
||||||
console.log('KashRev JS Loaded');
|
|
||||||
});
|
|
||||||
328
index.php
328
index.php
@ -1,188 +1,150 @@
|
|||||||
<!DOCTYPE html>
|
<?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>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>KashRev | AI-Powered Loan Concierge</title>
|
<title>New Style</title>
|
||||||
<meta name="description" content="KashRev is an AI-powered loan concierge in Singapore, helping you compare and find the best loans for your needs.">
|
<?php
|
||||||
<meta name="keywords" content="loan comparison, personal loan, car loan, renovation loan, business loan, mortgage, home loan, loan broker, singapore, ai finance, flatlogic">
|
// Read project preview data from environment
|
||||||
<meta property="og:title" content="KashRev | AI-Powered Loan Concierge">
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
||||||
<meta property="og:description" content="Simple, safe, and intelligent loan matching to help you achieve your financial goals.">
|
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
||||||
<meta property="og:image" content="">
|
?>
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<?php if ($projectDescription): ?>
|
||||||
<meta name="twitter:image" content="">
|
<!-- Meta description -->
|
||||||
|
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
||||||
<!-- Bootstrap 5 CDN -->
|
<!-- Open Graph meta tags -->
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||||
|
<!-- Twitter meta tags -->
|
||||||
<!-- Custom CSS -->
|
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
||||||
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
<?php endif; ?>
|
||||||
|
<?php if ($projectImageUrl): ?>
|
||||||
<!-- Feather Icons -->
|
<!-- Open Graph image -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
<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>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<main>
|
||||||
<header class="container">
|
<div class="card">
|
||||||
<nav class="navbar navbar-expand-lg navbar-light">
|
<h1>Analyzing your requirements and generating your website…</h1>
|
||||||
<div class="container-fluid">
|
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||||
<a class="navbar-brand" href="#" style="font-family: var(--heading-font); font-size: 1.75rem; color: var(--primary-color); font-weight: bold;">KashRev</a>
|
<span class="sr-only">Loading…</span>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
</div>
|
||||||
<span class="navbar-toggler-icon"></span>
|
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
||||||
</button>
|
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||||
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
|
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||||
<ul class="navbar-nav">
|
</div>
|
||||||
<li class="nav-item"><a class="nav-link" href="#how-it-works">How It Works</a></li>
|
</main>
|
||||||
<li class="nav-item"><a class="nav-link" href="#loan-types">Loan Types</a></li>
|
<footer>
|
||||||
<li class="nav-item"><a class="nav-link" href="#why-us">Why KashRev</a></li>
|
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||||
<li class="nav-item"><a class="nav-link" href="#faq">FAQ</a></li>
|
</footer>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
<!-- Hero Section -->
|
|
||||||
<section class="hero">
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="display-3">AI-Powered Loan Concierge for Singapore</h1>
|
|
||||||
<p class="lead">Simple, safe, and intelligent loan matching to find the best rates for you.</p>
|
|
||||||
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
|
|
||||||
<a href="#application-form" class="btn btn-primary btn-lg px-4 gap-3">Check My Eligibility</a>
|
|
||||||
<a href="mailto:advisor@kashrev.com" class="btn btn-secondary btn-lg px-4">Talk to an Advisor</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- How It Works Section -->
|
|
||||||
<section id="how-it-works" class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">How KashRev Works</h2>
|
|
||||||
<div class="row g-4">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<div class="step-card">
|
|
||||||
<div class="step-number">1</div>
|
|
||||||
<i data-feather="edit-3" class="icon" width="48" height="48"></i>
|
|
||||||
<h3>Tell Us Your Needs</h3>
|
|
||||||
<p>Complete our simple, conversational form in minutes. Your data is kept 100% private and secure.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<div class="step-card">
|
|
||||||
<div class="step-number">2</div>
|
|
||||||
<i data-feather="cpu" class="icon" width="48" height="48"></i>
|
|
||||||
<h3>AI-Powered Analysis</h3>
|
|
||||||
<p>Our smart engine analyzes your profile against hundreds of loan products from trusted lenders.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4">
|
|
||||||
<div class="step-card">
|
|
||||||
<div class="step-number">3</div>
|
|
||||||
<i data-feather="award" class="icon" width="48" height="48"></i>
|
|
||||||
<h3>Get Your Best Matches</h3>
|
|
||||||
<p>Receive a transparent, no-obligation list of the top 3 loan offers that best fit your situation.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Loan Types Section -->
|
|
||||||
<section id="loan-types" class="section bg-light">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">Find the Right Loan for Any Need</h2>
|
|
||||||
<div class="row g-4">
|
|
||||||
<div class="col-md-4 col-lg">
|
|
||||||
<div class="loan-type-card">
|
|
||||||
<i data-feather="user" class="icon" width="48" height="48"></i>
|
|
||||||
<h5>Personal Loan</h5>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4 col-lg">
|
|
||||||
<div class="loan-type-card">
|
|
||||||
<i data-feather="truck" class="icon" width="48" height="48"></i>
|
|
||||||
<h5>Car Loan</h5>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-4 col-lg">
|
|
||||||
<div class="loan-type-card">
|
|
||||||
<i data-feather="home" class="icon" width="48" height="48"></i>
|
|
||||||
<h5>Renovation Loan</h5>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6 col-lg">
|
|
||||||
<div class="loan-type-card">
|
|
||||||
<i data-feather="briefcase" class="icon" width="48" height="48"></i>
|
|
||||||
<h5>Business Loan</h5>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6 col-lg">
|
|
||||||
<div class="loan-type-card">
|
|
||||||
<i data-feather="key" class="icon" width="48" height="48"></i>
|
|
||||||
<h5>Mortgage/Home Loan</h5>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Why KashRev Section -->
|
|
||||||
<section id="why-us" class="section">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">Why KashRev is Different</h2>
|
|
||||||
<div class="row g-5 align-items-center">
|
|
||||||
<div class="col-md-6">
|
|
||||||
<h3>Your Trusted Financial Guide</h3>
|
|
||||||
<p>We're not just a comparison site. We're your partner in making smart financial decisions. Our guidance is always impartial, transparent, and tailored to you.</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Human-Centric:</strong> Warm, respectful service is our promise.</li>
|
|
||||||
<li><strong>Data-Driven:</strong> AI precision to find hidden opportunities.</li>
|
|
||||||
<li><strong>Always Private:</strong> We never share your data without consent. No spam, ever.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<div class="feature-card" style="background-color: var(--secondary-color); color: var(--primary-color);">
|
|
||||||
<i data-feather="shield" class="icon" width="48" height="48"></i>
|
|
||||||
<h3>Bank-Level Security</h3>
|
|
||||||
<p>Your data is protected with AES-256 encryption. We believe trust is built on a foundation of security and privacy.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Placeholder for Application Form -->
|
|
||||||
<section id="application-form" class="section bg-light" style="display: none;">
|
|
||||||
<div class="container">
|
|
||||||
<h2 class="section-title">Let's Find Your Loan</h2>
|
|
||||||
<p class="text-center">The interactive application form will be available here soon!</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="container text-center">
|
|
||||||
<p>© <?php echo date("Y"); ?> KashRev. All Rights Reserved.</p>
|
|
||||||
<ul class="list-inline">
|
|
||||||
<li class="list-inline-item"><a href="#">About</a></li>
|
|
||||||
<li class="list-inline-item">·</li>
|
|
||||||
<li class="list-inline-item"><a href="#">Contact</a></li>
|
|
||||||
<li class="list-inline-item">·</li>
|
|
||||||
<li class="list-inline-item"><a href="#">Privacy Policy</a></li>
|
|
||||||
<li class="list-inline-item">·</li>
|
|
||||||
<li class="list-inline-item"><a href="#">Terms of Service</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<!-- Bootstrap 5 JS Bundle -->
|
|
||||||
<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>
|
|
||||||
<script>
|
|
||||||
feather.replace();
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user