36224-vm/index.php
Flatlogic Bot d444db0aa0 v1
2025-11-24 19:24:14 +00:00

157 lines
9.4 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Personal Portfolio'); ?></title>
<meta name="description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A personal portfolio website.'); ?>">
<meta property="og:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Personal Portfolio'); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A personal portfolio website.'); ?>">
<meta property="og:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Personal Portfolio'); ?>">
<meta name="twitter:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A personal portfolio website.'); ?>">
<meta name="twitter:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
<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="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@300;400;600;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body data-bs-spy="scroll" data-bs-target="#navbar">
<nav id="navbar" class="navbar navbar-expand-lg navbar-light bg-white fixed-top shadow-sm">
<div class="container">
<a class="navbar-brand fw-bold" href="#"><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'My Portfolio'); ?></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="#intro">Home</a></li>
<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>
<main>
<section id="intro" class="py-5 text-center d-flex align-items-center" style="min-height: 100vh; background: linear-gradient(45deg, rgba(13, 110, 253, 0.1), rgba(255, 255, 255, 0.1));">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<h1 class="display-4 fw-bold mb-3">Welcome to My Digital Space</h1>
<p class="lead text-muted mb-4">I build beautiful and functional web experiences. Explore my work and let's create something amazing together.</p>
<a href="#contact" class="btn btn-primary btn-lg">Get In Touch</a>
<a href="#portfolio" class="btn btn-outline-secondary btn-lg">View My Work</a>
</div>
</div>
</div>
</section>
<section id="portfolio" class="py-5 bg-light">
<div class="container">
<div class="text-center mb-5">
<h2 class="fw-bold">Portfolio</h2>
<p class="text-muted">A selection of my recent projects.</p>
</div>
<div class="row">
<!-- Portfolio Item 1 -->
<div class="col-md-6 col-lg-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<img src="https://picsum.photos/seed/project1/600/400" class="card-img-top" alt="Project 1">
<div class="card-body">
<h5 class="card-title">Project Title 1</h5>
<p class="card-text">A brief description of the project, the technologies used, and the outcome.</p>
<a href="#" class="btn btn-sm btn-outline-primary">View Details</a>
</div>
</div>
</div>
<!-- Portfolio Item 2 -->
<div class="col-md-6 col-lg-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<img src="https://picsum.photos/seed/project2/600/400" class="card-img-top" alt="Project 2">
<div class="card-body">
<h5 class="card-title">Project Title 2</h5>
<p class="card-text">A brief description of the project, the technologies used, and the outcome.</p>
<a href="#" class="btn btn-sm btn-outline-primary">View Details</a>
</div>
</div>
</div>
<!-- Portfolio Item 3 -->
<div class="col-md-6 col-lg-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<img src="https://picsum.photos/seed/project3/600/400" class="card-img-top" alt="Project 3">
<div class="card-body">
<h5 class="card-title">Project Title 3</h5>
<p class="card-text">A brief description of the project, the technologies used, and the outcome.</p>
<a href="#" class="btn btn-sm btn-outline-primary">View Details</a>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="about" class="py-5">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<img src="https://picsum.photos/seed/about/800/800" class="img-fluid rounded-circle shadow-lg" alt="About Me">
</div>
<div class="col-lg-6 mt-4 mt-lg-0">
<div class="text-center text-lg-start">
<h2 class="fw-bold">About Me</h2>
<p class="lead text-muted">I am a passionate developer with a knack for creating elegant solutions in the least amount of time.</p>
<p>My background is in computer science, and I have several years of experience building web applications for a variety of clients. I specialize in front-end development but am also proficient in back-end technologies.</p>
<p>When I'm not coding, I enjoy hiking, photography, and exploring new coffee shops.</p>
</div>
</div>
</div>
</div>
</section>
<section id="contact" class="py-5 bg-light">
<div class="container">
<div class="text-center mb-5">
<h2 class="fw-bold">Contact Me</h2>
<p class="text-muted">Have a project in mind? I'd love to hear from you.</p>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<div id="contact-alert"></div>
<form id="contact-form">
<div class="mb-3">
<label for="name" class="form-label">Name</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="mb-3">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit" class="btn btn-primary w-100">Send Message</button>
</form>
</div>
</div>
</div>
</section>
</main>
<footer class="py-4 bg-white text-center">
<div class="container">
<p class="mb-0 text-muted">&copy; <?php echo date("Y"); ?> <?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'My Portfolio'); ?>. All Rights Reserved.</p>
</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>