38314-vm/index.php
Flatlogic Bot f9810fa98d 1
2026-02-09 12:06:07 +00:00

219 lines
11 KiB
PHP

<?php
declare(strict_types=1);
require_once 'db/config.php';
$projectName = $_SERVER['PROJECT_NAME'] ?? 'Professional Portfolio';
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'Showcasing expertise and delivering value.';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?= htmlspecialchars($projectName) ?></title>
<?php if ($projectDescription): ?>
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>" />
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<!-- Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Google Fonts: Inter -->
<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;600;700&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?= time() ?>">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light sticky-top">
<div class="container">
<a class="navbar-brand fw-bold" href="#"><?= htmlspecialchars($projectName) ?></a>
<button class="navbar-toggler border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<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="#portfolio">Portfolio</a></li>
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<header class="hero">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-8">
<h1 class="display-3 fw-bold">Design. Build. <br><span class="text-primary">Deliver Value.</span></h1>
<p class="lead text-muted mb-5">I help businesses grow by creating high-performance digital solutions tailored to their needs.</p>
<div class="d-flex gap-3">
<a href="#portfolio" class="btn btn-primary px-4 py-3">View My Work</a>
<a href="#contact" class="btn btn-outline-dark px-4 py-3">Get in Touch</a>
</div>
</div>
</div>
</div>
</header>
<!-- Portfolio Section -->
<section id="portfolio" class="section-padding bg-light">
<div class="container">
<div class="row mb-5">
<div class="col-lg-6">
<h2 class="h1 mb-3">Selected Projects</h2>
<p class="text-muted">A showcase of recent work across design and development.</p>
</div>
</div>
<div class="row g-4">
<!-- Project 1 -->
<div class="col-md-6 col-lg-4">
<div class="card h-100">
<div class="portfolio-img" style="background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);"></div>
<div class="card-body p-4">
<h3 class="h5 mb-2">Modern E-commerce</h3>
<p class="text-muted small mb-0">High-converting online store built with performance in mind.</p>
</div>
</div>
</div>
<!-- Project 2 -->
<div class="col-md-6 col-lg-4">
<div class="card h-100">
<div class="portfolio-img" style="background-image: linear-gradient(135deg, #2af598 0%, #009efd 100%);"></div>
<div class="card-body p-4">
<h3 class="h5 mb-2">SaaS Dashboard</h3>
<p class="text-muted small mb-0">Complex data visualization and management system.</p>
</div>
</div>
</div>
<!-- Project 3 -->
<div class="col-md-6 col-lg-4">
<div class="card h-100">
<div class="portfolio-img" style="background-image: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);"></div>
<div class="card-body p-4">
<h3 class="h5 mb-2">Brand Identity</h3>
<p class="text-muted small mb-0">Complete visual design for a tech startup.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="section-padding">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 mb-5 mb-lg-0">
<div class="pe-lg-5">
<h2 class="h1 mb-4">A bit about me</h2>
<p>With over 5 years of experience in the digital space, I've had the privilege of working with a diverse range of clients, from startups to established brands. My approach is centered on understanding business goals and translating them into elegant, functional designs.</p>
<p class="mb-4">I specialize in full-stack development, user experience design, and digital strategy. When I'm not coding, I'm usually exploring new technologies or contributing to open-source projects.</p>
<div class="d-flex gap-4">
<div>
<h4 class="mb-0 fw-bold">15+</h4>
<small class="text-muted">Projects</small>
</div>
<div>
<h4 class="mb-0 fw-bold">10+</h4>
<small class="text-muted">Clients</small>
</div>
<div>
<h4 class="mb-0 fw-bold">5+</h4>
<small class="text-muted">Years</small>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="bg-light p-5 rounded-4 border">
<h3 class="h4 mb-4">Core Skills</h3>
<div class="mb-3">
<small class="fw-bold d-block mb-2">Web Development</small>
<div class="progress" style="height: 6px;">
<div class="progress-bar bg-primary" role="progressbar" style="width: 95%"></div>
</div>
</div>
<div class="mb-3">
<small class="fw-bold d-block mb-2">UI/UX Design</small>
<div class="progress" style="height: 6px;">
<div class="progress-bar bg-primary" role="progressbar" style="width: 85%"></div>
</div>
</div>
<div class="mb-0">
<small class="fw-bold d-block mb-2">Strategy</small>
<div class="progress" style="height: 6px;">
<div class="progress-bar bg-primary" role="progressbar" style="width: 80%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="section-padding bg-light">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center mb-5">
<h2 class="h1 mb-3">Get in Touch</h2>
<p class="text-muted">Have a project in mind? Let's discuss how I can help.</p>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="card p-4 p-md-5">
<form id="contactForm">
<div class="row g-3">
<div class="col-md-6">
<label class="form-label small fw-bold">Name</label>
<input type="text" name="name" class="form-control" placeholder="Your Name" required>
</div>
<div class="col-md-6">
<label class="form-label small fw-bold">Email</label>
<input type="email" name="email" class="form-control" placeholder="your@email.com" required>
</div>
<div class="col-12">
<label class="form-label small fw-bold">Message</label>
<textarea name="message" class="form-control" rows="5" placeholder="Tell me about your project..." required></textarea>
</div>
<div class="col-12 mt-4 text-center">
<button type="submit" class="btn btn-primary px-5 py-3">Send Message</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-white">
<div class="container text-center">
<p class="mb-0">&copy; <?= date('Y') ?> <?= htmlspecialchars($projectName) ?>. All rights reserved.</p>
</div>
</footer>
<!-- Toast Container -->
<div class="toast-container"></div>
<!-- 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=<?= time() ?>"></script>
</body>
</html>