36433-vm/index.php
Flatlogic Bot 553ac6073d working v1
2025-11-28 16:18:36 +00:00

103 lines
4.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
require_once 'db/config.php';
$profile = [
'name' => 'Philip Daineka',
'image' => 'assets/pasted-20251128-160342-2ee122b5.jpg',
'bio' => 'Building scalable apps at <a href="https://appwizzy.com" target="_blank">@appwizzyai</a>, a professional vibe‑coding platform. Software development services <a href="https://flatlogic.com" target="_blank">@flatlogic</a>.<br><br>MSc in CS/Finance πŸ§‘πŸ»β€πŸ’»πŸƒπŸŠπŸš΄β€β™‚οΈβ›°οΈπŸŽ“πŸ€²πŸ•ŠοΈ',
'links' => [
[
'icon' => 'πŸ’Ό',
'title' => 'LinkedIn',
'description' => 'Professional network & insights',
'url' => 'https://www.linkedin.com/in/philip-daineka-25a69047/?utm_source=philip_social'
],
[
'icon' => '🐦',
'title' => 'Twitter / X',
'description' => 'Latest thoughts & tech updates',
'url' => 'https://x.com/philipdaineka?utm_source=philip_social'
],
[
'icon' => 'πŸš€',
'title' => 'AppWizzy',
'description' => 'The professional vibe-coding platform',
'url' => 'https://appwizzy.com?utm_source=philip_social'
],
[
'icon' => '🌐',
'title' => 'Flatlogic',
'description' => 'AI-Powered Software Development',
'url' => 'https://flatlogic.com?utm_source=philip_social'
],
[
'icon' => 'πŸ“·',
'title' => 'Instagram',
'description' => 'Behind the scenes',
'url' => 'https://www.instagram.com/philipdaineka/?utm_source=philip_social'
]
]];
?>
<!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($profile['name']); ?> | Official Links</title>
<meta name="description" content="<?php echo htmlspecialchars(strip_tags($profile['bio'])); ?>">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<!-- Platform-managed meta tags -->
<?php if (getenv('PROJECT_IMAGE_URL')): ?>
<meta property="og:image" content="<?php echo getenv('PROJECT_IMAGE_URL'); ?>">
<meta name="twitter:image" content="<?php echo getenv('PROJECT_IMAGE_URL'); ?>">
<?php endif; ?>
<meta property="og:title" content="<?php echo htmlspecialchars($profile['name']); ?>">
<meta name="twitter:title" content="<?php echo htmlspecialchars($profile['name']); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars(strip_tags($profile['bio'])); ?>">
<meta name="twitter:description" content="<?php echo htmlspecialchars(strip_tags($profile['bio'])); ?>">
<meta name="twitter:card" content="summary_large_image">
</head>
<body class="d-flex flex-column min-vh-100">
<main class="flex-shrink-0">
<div class="container profile-container">
<div class="text-center mb-4">
<img src="<?php echo htmlspecialchars($profile['image']); ?>" alt="Profile Picture" class="profile-picture mb-3">
<h1 class="h2 fw-bold"><?php echo htmlspecialchars($profile['name']); ?></h1>
<p class="lead bio-text px-3"><?php echo $profile['bio']; ?></p>
</div>
<div class="d-grid gap-3">
<?php foreach ($profile['links'] as $link): ?>
<a href="<?php echo htmlspecialchars($link['url']); ?>" class="link-btn" target="_blank" rel="noopener noreferrer">
<div class="link-icon"><?php echo $link['icon']; ?></div>
<div class="link-text-container">
<div class="link-title"><?php echo htmlspecialchars($link['title']); ?></div>
<div class="link-description"><?php echo htmlspecialchars($link['description']); ?></div>
</div>
<div class="arrow-icon">↗️</div>
</a>
<?php endforeach; ?>
</div>
</div>
</main>
<footer class="footer mt-auto py-3 bg-light">
<div class="container text-center">
<span class="text-muted">built with <a href="https://appwizzy.com" class="text-decoration-none">AppWizzy</a></span>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>