Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
@ -1,95 +0,0 @@
|
||||
|
||||
body {
|
||||
background-color: #F5F5F5;
|
||||
color: #212121;
|
||||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
.hero {
|
||||
background: linear-gradient(45deg, #512DA8, #673AB7);
|
||||
color: white;
|
||||
padding: 6rem 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-weight: 700;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #512DA8;
|
||||
border-color: #512DA8;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 0.25rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #4527A0;
|
||||
border-color: #4527A0;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: #FFC107;
|
||||
border-color: #FFC107;
|
||||
color: #212121;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: 0.25rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #FFB300;
|
||||
border-color: #FFB300;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 4rem 1rem;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background-color: #FFFFFF;
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,.08);
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.feature-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
stroke-width: 1.5;
|
||||
margin-bottom: 1rem;
|
||||
color: #512DA8;
|
||||
}
|
||||
|
||||
.developer-section {
|
||||
background-color: #FFFFFF;
|
||||
border-radius: 0.5rem;
|
||||
padding: 3rem;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,.08);
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
position: fixed;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
z-index: 1055;
|
||||
}
|
||||
@ -1,68 +0,0 @@
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const connectWalletBtn = document.getElementById('connectWalletBtn');
|
||||
const depositForm = document.getElementById('depositForm');
|
||||
const walletInfo = document.getElementById('walletInfo');
|
||||
const balanceInfo = document.getElementById('balanceInfo');
|
||||
const depositBtn = document.getElementById('depositBtn');
|
||||
|
||||
let walletConnected = false;
|
||||
let balance = 0;
|
||||
|
||||
if (connectWalletBtn) {
|
||||
connectWalletBtn.addEventListener('click', () => {
|
||||
if (!walletConnected) {
|
||||
walletConnected = true;
|
||||
connectWalletBtn.textContent = 'Wallet Connected';
|
||||
connectWalletBtn.disabled = true;
|
||||
walletInfo.textContent = 'Connected Wallet: 4a...tX9z';
|
||||
balanceInfo.textContent = `Your Balance: ${balance.toFixed(2)} SOL`;
|
||||
depositForm.classList.remove('d-none');
|
||||
showToast('Wallet Connected!', 'Your Solana wallet is now connected.', 'success');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (depositBtn) {
|
||||
depositBtn.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
const amountInput = document.getElementById('solAmount');
|
||||
const amount = parseFloat(amountInput.value);
|
||||
|
||||
if (isNaN(amount) || amount <= 0) {
|
||||
showToast('Invalid Amount', 'Please enter a valid amount of SOL.', 'danger');
|
||||
return;
|
||||
}
|
||||
|
||||
balance += amount;
|
||||
balanceInfo.textContent = `Your Balance: ${balance.toFixed(2)} SOL`;
|
||||
amountInput.value = '';
|
||||
showToast('Deposit Successful!', `${amount} SOL has been added to your balance.`, 'success');
|
||||
});
|
||||
}
|
||||
|
||||
function showToast(title, message, type) {
|
||||
const toastContainer = document.getElementById('toast-container');
|
||||
if (!toastContainer) return;
|
||||
|
||||
const toastId = 'toast-' + Math.random().toString(36).substr(2, 9);
|
||||
const toastHTML = `
|
||||
<div id="${toastId}" class="toast align-items-center text-white bg-${type} border-0" role="alert" aria-live="assertive" aria-atomic="true">
|
||||
<div class="d-flex">
|
||||
<div class="toast-body">
|
||||
<strong>${title}</strong><br>${message}
|
||||
</div>
|
||||
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
toastContainer.insertAdjacentHTML('beforeend', toastHTML);
|
||||
|
||||
const toastElement = document.getElementById(toastId);
|
||||
const toast = new bootstrap.Toast(toastElement, { delay: 5000 });
|
||||
toast.show();
|
||||
toastElement.addEventListener('hidden.bs.toast', () => {
|
||||
toastElement.remove();
|
||||
});
|
||||
}
|
||||
});
|
||||
264
index.php
264
index.php
@ -1,126 +1,150 @@
|
||||
<?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">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Sol Launch</title>
|
||||
<meta name="description" content="Securely launch your Solana meme coin. We provide a secure escrow and transparent platform for developers and investors.">
|
||||
<meta name="keywords" content="solana, meme coin, crypto, launchpad, token launch, crypto launch, secure escrow, sol, blockchain, Built with Flatlogic Generator">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Sol Launch">
|
||||
<meta property="og:description" content="Securely launch your Solana meme coin. We provide a secure escrow and transparent platform for developers and investors.">
|
||||
<meta property="og:image" content="">
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:title" content="Sol Launch">
|
||||
<meta property="twitter:description" content="Securely launch your Solana meme coin. We provide a secure escrow and transparent platform for developers and investors.">
|
||||
<meta name="twitter:image" content="">
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="assets/css/custom.css?v=<?php echo time(); ?>" rel="stylesheet">
|
||||
<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>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light sticky-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#" style="font-weight: 700; color: #512DA8;">Sol Launch</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="#developer">For Developers</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#">Browse Coins</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<header class="hero">
|
||||
<div class="container">
|
||||
<h1 class="display-3">Launch Your Solana Meme Coin, Securely.</h1>
|
||||
<p class="lead">A transparent, developer-first platform for launching the next generation of meme coins on Solana.</p>
|
||||
<a href="#developer" class="btn btn-secondary btn-lg mt-3">Launch Your Coin</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section id="features" class="section">
|
||||
<div class="container text-center">
|
||||
<h2 class="mb-5">Why Launch With Us?</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4">
|
||||
<div class="feature-card">
|
||||
<i data-feather="shield" class="feature-icon"></i>
|
||||
<h5>Secure Escrow</h5>
|
||||
<p>Developer funds are held in a secure contract, withdrawable only by the platform owner, ensuring safety for early investors.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="feature-card">
|
||||
<i data-feather="eye" class="feature-icon"></i>
|
||||
<h5>Transparent Audits</h5>
|
||||
<p>All deposits and platform withdrawals are logged and publicly visible, building trust and accountability.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="feature-card">
|
||||
<i data-feather="zap" class="feature-icon"></i>
|
||||
<h5>Instant Listing</h5>
|
||||
<p>Once your project is approved, get listed on our platform immediately and gain visibility with investors.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="developer" class="section bg-light">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-8">
|
||||
<div class="developer-section text-center">
|
||||
<h2>Become a Meme Coin Developer</h2>
|
||||
<p class="lead">Ready to launch? Connect your wallet and deposit SOL to get started.</p>
|
||||
|
||||
<div class="mt-4">
|
||||
<button id="connectWalletBtn" class="btn btn-primary btn-lg">Connect Wallet</button>
|
||||
</div>
|
||||
|
||||
<div id="depositForm" class="mt-4 d-none">
|
||||
<p id="walletInfo" class="text-muted"></p>
|
||||
<p id="balanceInfo" class="fw-bold fs-5"></p>
|
||||
<form class="row g-3 justify-content-center align-items-center">
|
||||
<div class="col-auto">
|
||||
<label for="solAmount" class="visually-hidden">SOL Amount</label>
|
||||
<input type="number" class="form-control" id="solAmount" placeholder="SOL Amount">
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<button id="depositBtn" type="submit" class="btn btn-primary">Deposit SOL</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="py-4 text-center text-muted">
|
||||
<div class="container">
|
||||
<p>© <?php echo date("Y"); ?> Sol Launch. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="toast-container" class="toast-container"></div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
<script>
|
||||
feather.replace();
|
||||
</script>
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user