Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffec706ac0 | ||
|
|
98976c1dc8 | ||
|
|
b216d33ee5 | ||
|
|
291f454a6d | ||
|
|
8f90df91e4 |
79
assets/css/custom.css
Normal file
79
assets/css/custom.css
Normal file
@ -0,0 +1,79 @@
|
||||
|
||||
:root {
|
||||
--bs-primary-rgb: 13, 110, 253; /* #0D6EFD */
|
||||
--bs-secondary-rgb: 108, 117, 125; /* #6C757D */
|
||||
--background-color: #F8F9FA;
|
||||
--surface-color: #FFFFFF;
|
||||
--text-color: #212529;
|
||||
--heading-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
--body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--background-color);
|
||||
color: var(--text-color);
|
||||
font-family: var(--body-font);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: var(--heading-font);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hero {
|
||||
background: linear-gradient(45deg, #0D6EFD, #4DA8FF);
|
||||
color: var(--surface-color);
|
||||
padding: 8rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero .display-4 {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hero .lead {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: none;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.navbar-sticky {
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
||||
border-color: #86b7fe;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
--bs-btn-bg: #0D6EFD;
|
||||
--bs-btn-border-color: #0D6EFD;
|
||||
--bs-btn-hover-bg: #0a58ca;
|
||||
--bs-btn-hover-border-color: #0a53be;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: #343a40;
|
||||
color: white;
|
||||
}
|
||||
52
assets/js/main.js
Normal file
52
assets/js/main.js
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Navbar shrink on scroll
|
||||
const navbar = document.querySelector('.navbar');
|
||||
if (navbar) {
|
||||
window.addEventListener('scroll', () => {
|
||||
if (window.scrollY > 50) {
|
||||
navbar.classList.add('navbar-sticky');
|
||||
} else {
|
||||
navbar.classList.remove('navbar-sticky');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Smooth scroll for anchor links
|
||||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||
anchor.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
||||
behavior: 'smooth'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Contact form validation
|
||||
const form = document.querySelector('#contactForm');
|
||||
if (form) {
|
||||
form.addEventListener('submit', function (e) {
|
||||
let isValid = true;
|
||||
const name = document.querySelector('#name');
|
||||
const email = document.querySelector('#email');
|
||||
const message = document.querySelector('#message');
|
||||
|
||||
if (name.value.trim() === '') {
|
||||
isValid = false;
|
||||
alert('Name is required.');
|
||||
}
|
||||
if (email.value.trim() === '' || !email.value.includes('@')) {
|
||||
isValid = false;
|
||||
alert('A valid email is required.');
|
||||
}
|
||||
if (message.value.trim() === '') {
|
||||
isValid = false;
|
||||
alert('Message is required.');
|
||||
}
|
||||
|
||||
if (!isValid) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
354
index.php
354
index.php
@ -1,131 +1,235 @@
|
||||
<?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>
|
||||
<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>EventFlow - Effortless Event Management</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.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">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>
|
||||
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">EventFlow</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="#testimonials">Testimonials</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
|
||||
<li class="nav-item"><a class="btn btn-light ms-lg-3" href="#">Get Started</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<header class="hero">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 mx-auto">
|
||||
<h1 class="display-4">UPDATED</h1>
|
||||
<p class="lead my-4">All-in-one solution for venues, vendors, guests, and budgets. From small gatherings to large corporate affairs.</p>
|
||||
<a href="#" class="btn btn-light btn-lg">Get Started for Free</a>
|
||||
<a href="#features" class="btn btn-outline-light btn-lg">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
<img src="https://picsum.photos/seed/event-hero/1200/600" class="img-fluid rounded-4 shadow-lg mt-5" alt="Vibrant and modern event setting, illustrating success managed by EventFlow.">
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section id="features" class="section">
|
||||
<div class="container text-center">
|
||||
<h2 class="mb-5">Everything you need. Nothing you don't.</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4">
|
||||
<div class="card p-4 h-100 rounded-4">
|
||||
<i class="bi bi-geo-alt-fill fs-1 text-primary"></i>
|
||||
<h3 class="h4 my-3">Manage Venues</h3>
|
||||
<p>Keep an eye on all available event spaces, including their size, special features, and availability.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="card p-4 h-100 rounded-4">
|
||||
<i class="bi bi-people-fill fs-1 text-primary"></i>
|
||||
<h3 class="h4 my-3">Organize Vendors</h3>
|
||||
<p>Stay organized with a list of all your go-to caterers, decorators, and entertainers.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="card p-4 h-100 rounded-4">
|
||||
<i class="bi bi-wallet-fill fs-1 text-primary"></i>
|
||||
<h3 class="h4 my-3">Control Budgets</h3>
|
||||
<p>Manage all your event-related finances, from initial deposits to final payments, all in one place.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Value Section 1 -->
|
||||
<section class="section bg-light">
|
||||
<div class="container">
|
||||
<div class="row align-items-center g-5">
|
||||
<div class="col-lg-6">
|
||||
<img src="https://picsum.photos/seed/dashboard/600/400" class="img-fluid rounded-4 shadow" alt="A clean dashboard view of the EventFlow application.">
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<h2>All-in-One Dashboard</h2>
|
||||
<p class="lead">Handle every aspect of your event from one easy-to-use dashboard. No more switching between spreadsheets and apps. See the big picture and drill down into the details instantly.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Value Section 2 -->
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="row align-items-center g-5">
|
||||
<div class="col-lg-6 order-lg-2">
|
||||
<img src="https://picsum.photos/seed/guests/600/400" class="img-fluid rounded-4 shadow" alt="Illustration of a seamless guest check-in process.">
|
||||
</div>
|
||||
<div class="col-lg-6 order-lg-1">
|
||||
<h2>Seamless Guest Experience</h2>
|
||||
<p class="lead">Keep track of who's coming, who's not, and who needs the vegetarian option. Our guest management tools make it simple to provide a world-class experience for your attendees.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Testimonials Section -->
|
||||
<section id="testimonials" class="section bg-light">
|
||||
<div class="container text-center">
|
||||
<h2 class="mb-5">Loved by event organizers everywhere</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-lg-4">
|
||||
<div class="card p-4 rounded-4">
|
||||
<p class="fst-italic">"EventFlow saved us countless hours. The dashboard is a game-changer."</p>
|
||||
<div class="d-flex align-items-center justify-content-center mt-3">
|
||||
<img src="https://picsum.photos/seed/avatar1/96/96" class="rounded-circle" alt="Customer avatar">
|
||||
<div class="ms-3 text-start">
|
||||
<h6 class="m-0">Jane Doe</h6>
|
||||
<small class="text-muted">Corporate Planner</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="card p-4 rounded-4">
|
||||
<p class="fst-italic">"Finally, a tool that understands the chaos of event planning. Highly recommended!"</p>
|
||||
<div class="d-flex align-items-center justify-content-center mt-3">
|
||||
<img src="https://picsum.photos/seed/avatar2/96/96" class="rounded-circle" alt="Customer avatar">
|
||||
<div class="ms-3 text-start">
|
||||
<h6 class="m-0">John Smith</h6>
|
||||
<small class="text-muted">Wedding Coordinator</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="card p-4 rounded-4">
|
||||
<p class="fst-italic">"The vendor and budget tracking features are indispensable for our festivals."</p>
|
||||
<div class="d-flex align-items-center justify-content-center mt-3">
|
||||
<img src="https://picsum.photos/seed/avatar3/96/96" class="rounded-circle" alt="Customer avatar">
|
||||
<div class="ms-3 text-start">
|
||||
<h6 class="m-0">Sam Wilson</h6>
|
||||
<small class="text-muted">Festival Organizer</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- FAQ Section -->
|
||||
<section id="faq" class="section">
|
||||
<div class="container">
|
||||
<h2 class="text-center mb-5">Frequently Asked Questions</h2>
|
||||
<div class="accordion" id="faqAccordion">
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne">
|
||||
Is there a free trial?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body">
|
||||
Yes! You can get started for free with our basic plan, which includes all the core features for one event. No credit card required.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo">
|
||||
Can I manage multiple events?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body">
|
||||
Absolutely. Our premium plans are designed for professionals managing multiple events simultaneously, with advanced features and support.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree">
|
||||
Is my data secure?
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#faqAccordion">
|
||||
<div class="accordion-body">
|
||||
We take data security very seriously. All your information is encrypted and stored securely. We are fully GDPR compliant.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section id="contact" class="section bg-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 mx-auto text-center">
|
||||
<h2>Get in Touch</h2>
|
||||
<p class="lead mb-5">Have questions? We'd love to hear from you.</p>
|
||||
<form id="contactForm">
|
||||
<div class="mb-3">
|
||||
<input type="text" class="form-control form-control-lg" id="name" placeholder="Your Name">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input type="email" class="form-control form-control-lg" id="email" placeholder="Your Email">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<textarea class="form-control form-control-lg" id="message" rows="4" placeholder="Your Message"></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-lg">Send Message</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer py-5">
|
||||
<div class="container text-center">
|
||||
<p class="mb-1">© <?php echo date("Y"); ?> EventFlow. All rights reserved.</p>
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item"><a href="#" class="text-light">Privacy</a></li>
|
||||
<li class="list-inline-item"><a href="#" class="text-light">Terms</a></li>
|
||||
<li class="list-inline-item"><a href="#" class="text-light">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user