This commit is contained in:
Flatlogic Bot 2026-01-12 00:49:03 +00:00
parent e274c302bd
commit 589ebfc714
4 changed files with 346 additions and 145 deletions

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

@ -0,0 +1,134 @@
:root {
--primary-color: #4F46E5;
--secondary-color: #10B981;
--background-color: #F9FAFB;
--surface-color: #FFFFFF;
--text-headings: #111827;
--text-body: #374151;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--background-color);
color: var(--text-body);
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
color: var(--text-headings);
font-weight: 600;
}
.navbar {
transition: background-color 0.3s ease-in-out;
}
.navbar-brand {
font-weight: 700;
font-family: 'Poppins', sans-serif;
}
.hero {
color: white;
padding: 10rem 0;
background: linear-gradient(45deg, rgba(79, 70, 229, 0.9), rgba(16, 185, 129, 0.9));
}
.hero h1 {
font-size: 3.5rem;
font-weight: 700;
color: white;
}
.hero .lead {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.9);
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
transition: background-color 0.2s;
}
.btn-primary:hover {
background-color: #4338CA;
border-color: #4338CA;
}
.btn-secondary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
color: white;
transition: background-color 0.2s;
}
.btn-secondary:hover {
background-color: #059669;
border-color: #059669;
color: white;
}
.section {
padding: 6rem 0;
}
.feature-card {
background-color: var(--surface-color);
border: none;
border-radius: 0.75rem;
padding: 2rem;
text-align: center;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
transition: transform 0.2s;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
width: 64px;
height: 64px;
margin-bottom: 1.5rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background-color: var(--primary-color);
color: white;
}
.pricing-card {
border: 1px solid #e5e7eb;
border-radius: 0.75rem;
transition: box-shadow 0.3s;
}
.pricing-card:hover {
box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}
.pricing-card .card-header {
border-bottom: 1px solid #e5e7eb;
}
.footer {
background-color: #111827;
color: #9CA3AF;
}
.footer a {
color: #9CA3AF;
text-decoration: none;
}
.footer a:hover {
color: var(--secondary-color);
}

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

@ -0,0 +1,10 @@
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});

327
index.php
View File

@ -1,150 +1,187 @@
<?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>Veritune - Copyright Your Music</title>
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'Instantly copyright your music with Veritune. Get 20 free certificates daily.';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>">
<?php if ($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; ?>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Google Fonts -->
<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=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<!-- PWA Manifest -->
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#4F46E5">
</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 navbar-light bg-light fixed-top">
<div class="container">
<a class="navbar-brand" href="#">Veritune</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 class="btn btn-primary ms-lg-2" href="#">Sign Up</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<header class="hero text-center">
<div class="container">
<h1 class="display-3">Copyright Your Music, Instantly.</h1>
<p class="lead mb-4">Veritune provides 20 free song copyright certificates a day on our free plan. <br>Secure your work and get peace of mind.</p>
<a href="#upload" class="btn btn-secondary btn-lg">Get Started for Free</a>
</div>
</header>
<!-- Features Section -->
<section id="features" class="section">
<div class="container">
<div class="row text-center">
<div class="col-lg-8 mx-auto">
<h2 class="mb-4">Everything You Need to Protect Your Art</h2>
<p class="lead mb-5">From instant certificates to commercial usage rights, we've got you covered.</p>
</div>
</div>
<div class="row g-4">
<div class="col-md-4">
<div class="feature-card">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"></path><path d="m9 12 2 2 4-4"></path></svg>
</div>
<h3>Instant Certificates</h3>
<p>Upload your song and receive a copyright certificate ID in seconds. It's that simple.</p>
</div>
</div>
<div class="col-md-4">
<div class="feature-card">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2H2v10l9.29 9.29a1 1 0 0 0 1.41 0l10-10a1 1 0 0 0 0-1.41L12 2z"></path><circle cx="8.5" cy="8.5" r="1.5"></circle></svg>
</div>
<h3>Commercial Use Included</h3>
<p>All our plans, including the free tier, allow you to use your copyrighted songs for commercial purposes.</p>
</div>
</div>
<div class="col-md-4">
<div class="feature-card">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>
</div>
<h3>Secure Upload & Download</h3>
<p>Easily upload your audio files and download official PDF certificates directly to your device.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section id="pricing" class="section bg-white">
<div class="container">
<div class="row text-center">
<div class="col-lg-8 mx-auto">
<h2 class="mb-4">Simple, Transparent Pricing</h2>
<p class="lead mb-5">Choose a plan that works for you. Cancel anytime.</p>
</div>
</div>
<div class="row justify-content-center">
<!-- Free Plan -->
<div class="col-lg-4 mb-4">
<div class="card pricing-card h-100">
<div class="card-header text-center p-4">
<h3 class="h4">Free</h3>
<p class="h1 fw-bold mb-0">$0<span class="fs-6 fw-normal">/mo</span></p>
</div>
<div class="card-body p-4">
<ul class="list-unstyled">
<li class="mb-3"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="var(--secondary-color)" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg> 20 Certificates / Day</li>
<li class="mb-3"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="var(--secondary-color)" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg> Commercial Use License</li>
<li class="mb-3 text-muted"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#6c757d" class="bi bi-x-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/></svg> Unlimited Certificates</li>
</ul>
</div>
<div class="card-footer p-4 border-top-0 bg-transparent">
<a href="#" class="btn btn-outline-primary w-100">Get Started</a>
</div>
</div>
</div>
<!-- Paid Plan -->
<div class="col-lg-4 mb-4">
<div class="card pricing-card h-100 border-primary">
<div class="card-header text-center p-4 bg-primary text-white">
<h3 class="h4">Pro</h3>
<p class="h1 fw-bold mb-0">$19<span class="fs-6 fw-normal">/mo</span></p>
</div>
<div class="card-body p-4">
<ul class="list-unstyled">
<li class="mb-3"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="var(--secondary-color)" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg> <strong>Unlimited</strong> Certificates</li>
<li class="mb-3"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="var(--secondary-color)" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg> Commercial Use License</li>
<li class="mb-3"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="var(--secondary-color)" class="bi bi-check-circle-fill" viewBox="0 0 16 16"><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/></svg> Priority Support</li>
</ul>
</div>
<div class="card-footer p-4 border-top-0 bg-transparent">
<a href="#" class="btn btn-primary w-100">Choose Pro</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer pt-5 pb-4">
<div class="container text-center">
<p>&copy; <?php echo date("Y"); ?> Veritune. All Rights Reserved.</p>
<p>
<a href="#">Privacy Policy</a> &middot; <a href="#">Terms of Service</a>
</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>

20
manifest.json Normal file
View File

@ -0,0 +1,20 @@
{
"short_name": "Veritune",
"name": "Veritune: Copyright Your Music",
"icons": [
{
"src": "assets/icons/icon-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "assets/icons/icon-512x512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "/index.php",
"display": "standalone",
"theme_color": "#4F46E5",
"background_color": "#F9FAFB"
}