34921-vm/index.php
Flatlogic Bot 7689e6d605 1.1
2025-10-14 11:54:32 +00:00

297 lines
9.9 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TAP2SKILL - Learn. Hustle. Thrive.</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=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--primary-color: #2A9D8F;
--secondary-color: #E9C46A;
--background-color: #F4F4F4;
--surface-color: #FFFFFF;
--text-color: #264653;
--gradient-start: #2A9D8F;
--gradient-end: #3aafa9;
}
body {
font-family: 'Lato', sans-serif;
margin: 0;
background-color: var(--background-color);
color: var(--text-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
header {
background-color: var(--surface-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 16px 0;
position: sticky;
top: 0;
z-index: 100;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-family: 'Poppins', sans-serif;
font-size: 24px;
font-weight: 700;
color: var(--primary-color);
text-decoration: none;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul li {
margin-left: 32px;
}
nav ul li a {
text-decoration: none;
color: var(--text-color);
font-weight: 600;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: var(--primary-color);
}
.hero {
background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
color: white;
padding: 120px 0;
text-align: center;
}
.hero h1 {
font-family: 'Poppins', sans-serif;
font-size: 56px;
margin: 0 0 16px;
}
.hero p {
font-size: 20px;
margin: 0 0 32px;
}
.cta-button {
font-family: 'Poppins', sans-serif;
background-color: var(--secondary-color);
color: var(--text-color);
padding: 16px 32px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: transform 0.3s ease;
display: inline-block;
}
.cta-button:hover {
transform: translateY(-2px);
}
section {
padding: 80px 0;
}
.section-title {
font-family: 'Poppins', sans-serif;
font-size: 40px;
text-align: center;
margin-bottom: 48px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 32px;
}
.card {
background-color: var(--surface-color);
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 32px;
text-align: center;
}
.testimonial-card {
background-color: var(--surface-color);
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 32px;
text-align: center;
}
.testimonial-card p {
font-style: italic;
}
.testimonial-card .author {
margin-top: 16px;
font-weight: 700;
}
#contact {
background-color: var(--surface-color);
}
form {
max-width: 600px;
margin: 0 auto;
display: flex;
flex-direction: column;
}
form input, form textarea {
font-family: 'Lato', sans-serif;
padding: 16px;
margin-bottom: 16px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
}
form button {
font-family: 'Poppins', sans-serif;
background-color: var(--primary-color);
color: white;
padding: 16px 32px;
border-radius: 8px;
border: none;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #228b80;
}
footer {
background-color: var(--text-color);
color: white;
text-align: center;
padding: 24px 0;
}
</style>
</head>
<body>
<header>
<nav class="container">
<a href="#" class="logo">TAP2SKILL</a>
<ul>
<li><a href="#about">About</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#testimonials">Testimonials</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section class="hero">
<div class="container">
<h1>Learn. Hustle. Thrive.</h1>
<p>Your journey to mastery starts here.</p>
<a href="#features" class="cta-button">Explore Features</a>
</div>
</section>
<section id="about">
<div class="container">
<h2 class="section-title">About TAP2SKILL</h2>
<p style="text-align: center; max-width: 800px; margin: 0 auto 48px;">TAP2SKILL is a modern learning platform designed to help you acquire new skills efficiently and effectively. We believe in a hands-on, project-based approach to learning that prepares you for real-world challenges.</p>
</div>
</section>
<section id="features">
<div class="container">
<h2 class="section-title">Core Features</h2>
<div class="grid">
<div class="card">
<h3>Skill Explorer</h3>
<p>Discover new skills and learning paths tailored to your interests and career goals.</p>
</div>
<div class="card">
<h3>Video-Based Learning</h3>
<p>Engage with high-quality video content from industry experts.</p>
</div>
<div class="card">
<h3>Project-Based Tasks</h3>
<p>Apply what you learn with hands-on projects and real-world scenarios.</p>
</div>
</div>
</div>
</section>
<section id="testimonials">
<div class="container">
<h2 class="section-title">What Our Users Say</h2>
<div class="grid">
<div class="testimonial-card">
<p>"TAP2SKILL helped me land my dream job. The project-based learning was a game-changer."</p>
<p class="author">- Alex Doe</p>
</div>
<div class="testimonial-card">
<p>"I love the flexibility of the platform. I can learn at my own pace, anytime, anywhere."</p>
<p class="author">- Jane Smith</p>
</div>
<div class="testimonial-card">
<p>"The instructors are top-notch. I've learned so much in such a short time."</p>
<p class="author">- Sam Wilson</p>
</div>
</div>
</div>
</section>
<section id="contact">
<div class="container">
<h2 class="section-title">Contact Us</h2>
<form id="contact-form" action="contact.php" method="POST">
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" rows="5" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
</section>
</main>
<footer>
<div class="container">
<p>&copy; 2025 TAP2SKILL. All Rights Reserved.</p>
</div>
</footer>
<script>
document.getElementById('contact-form').addEventListener('submit', function(e) {
e.preventDefault();
const form = e.target;
const button = form.querySelector('button');
const buttonText = button.textContent;
button.textContent = 'Sending...';
button.disabled = true;
const formData = new FormData(form);
fetch('contact.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
form.reset();
alert('Thank you for your message! We will get back to you shortly.');
} else {
alert('An error occurred: ' + data.message);
}
})
.catch(error => {
console.error('Error:', error);
alert('An unexpected error occurred. Please try again later.');
})
.finally(() => {
button.textContent = buttonText;
button.disabled = false;
});
});
</script>
</body>
</html>