wesal/landing_page/index.html
2025-08-07 12:19:09 +03:00

613 lines
19 KiB
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wesal - وصال</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@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@font-face {
font-family: 'Blaka';
src: url('assets/fonts/Blaka-Regular.ttf') format('truetype');
font-weight: 200;
font-display: swap;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
.hero-section {
min-height: 100vh;
background: linear-gradient(180deg, #32B0A5 0%, #4600B9 100%);
display: flex;
align-items: center;
padding: 2rem;
position: relative;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
pointer-events: none;
}
.hero-container {
max-width: 1400px;
width: 100%;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
z-index: 2;
position: relative;
}
.hero-content {
text-align: left;
}
.app-title {
font-family: 'Blaka', 'Inter', sans-serif;
font-weight: 200;
font-size: clamp(3rem, 6vw, 5rem);
color: white;
margin-bottom: 1rem;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
letter-spacing: 2px;
}
.app-subtitle {
font-size: clamp(1.4rem, 2.5vw, 2rem);
color: rgba(255, 255, 255, 0.95);
margin-bottom: 3rem;
font-weight: 300;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
line-height: 1.4;
}
.mockup-container {
display: flex;
justify-content: center;
align-items: center;
}
.mockup-image {
width: 100%;
height: auto;
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease;
/* Responsive sizing with larger desktop maximum */
max-width: 400px;
}
.mockup-image:hover {
transform: translateY(-10px);
}
/* Desktop-specific sizing for larger screens */
@media (min-width: 1200px) {
.mockup-image {
max-width: 600px;
/* Larger on desktop */
}
}
@media (min-width: 1440px) {
.mockup-image {
max-width: 700px;
/* Even larger on very wide screens */
}
}
.download-btn {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, 0.2);
color: white;
padding: 1.2rem 3rem;
font-size: 1.2rem;
font-weight: 600;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.download-btn:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.download-icon {
width: 20px;
height: 20px;
}
.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
color: rgba(255, 255, 255, 0.7);
animation: bounce 2s infinite;
}
@keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(-10px);
}
60% {
transform: translateX(-50%) translateY(-5px);
}
}
.about-section {
padding: 6rem 2rem;
background: white;
max-width: 1200px;
margin: 0 auto;
}
.section-title {
font-size: 3rem;
color: #6A4C93;
text-align: center;
margin-bottom: 2rem;
font-weight: 700;
}
.about-description {
text-align: center;
margin-bottom: 4rem;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.about-description p {
font-size: 1.3rem;
color: #666;
margin-bottom: 1.5rem;
line-height: 1.7;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2.5rem;
margin-bottom: 3rem;
}
.feature-card {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 2.5rem;
border-radius: 20px;
text-align: center;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
border: 1px solid #e9ecef;
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
width: 70px;
height: 70px;
margin: 0 auto 1.5rem;
background: linear-gradient(135deg, #32B0A5, #6A4C93);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 28px;
}
.feature-title {
font-size: 1.4rem;
font-weight: 600;
color: #333;
margin-bottom: 1rem;
}
.feature-description {
color: #666;
font-size: 1rem;
line-height: 1.6;
}
.installation-steps {
background: #f8f9fa;
border-radius: 20px;
padding: 4rem 2rem;
margin-top: 3rem;
}
.steps-title {
font-size: 2.5rem;
color: #6A4C93;
text-align: center;
margin-bottom: 3rem;
font-weight: 600;
}
.steps-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2.5rem;
margin-bottom: 3rem;
}
.step-card {
background: white;
border-radius: 16px;
padding: 2.5rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}
.step-card:hover {
transform: translateY(-5px);
}
.step-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #32B0A5, #6A4C93);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2rem;
margin-bottom: 1.5rem;
}
.step-title {
font-size: 1.3rem;
font-weight: 600;
color: #333;
margin-bottom: 1rem;
}
.step-description {
color: #666;
line-height: 1.6;
margin-bottom: 1rem;
}
.platform-instructions {
margin-top: 1rem;
}
.platform-title {
font-weight: 600;
color: #32B0A5;
margin-bottom: 0.5rem;
font-size: 1rem;
}
.platform-desc {
color: #777;
font-size: 0.9rem;
margin-bottom: 1rem;
line-height: 1.5;
}
.go-to-app-btn {
background: linear-gradient(135deg, #32B0A5, #6A4C93);
color: white;
padding: 1rem 2rem;
border-radius: 50px;
text-decoration: none;
display: inline-block;
font-weight: 600;
text-align: center;
margin: 2rem auto 0;
transition: all 0.3s ease;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.go-to-app-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.btn-container {
text-align: center;
}
.footer {
background: linear-gradient(135deg, #6A4C93, #32B0A5);
color: white;
text-align: center;
padding: 2rem;
}
/* Tablet and mobile responsiveness */
@media (max-width: 1024px) {
.hero-container {
grid-template-columns: 1fr;
gap: 3rem;
text-align: center;
}
.hero-content {
text-align: center;
}
.mockup-container {
order: -1;
}
.mockup-image {
max-width: 450px;
/* Slightly larger on tablets */
}
}
@media (max-width: 768px) {
.hero-section {
padding: 1rem;
min-height: auto;
padding-top: 2rem;
padding-bottom: 3rem;
}
.mockup-image {
max-width: 350px;
/* Appropriate size for mobile */
}
.about-section {
padding: 4rem 1rem;
}
.installation-steps {
padding: 3rem 1rem;
margin: 2rem 1rem 0;
border-radius: 16px;
}
.steps-grid {
grid-template-columns: 1fr;
}
.section-title {
font-size: 2.2rem;
}
.steps-title {
font-size: 2rem;
}
}
@media (max-width: 480px) {
.mockup-image {
max-width: 280px;
/* Smaller for very small screens */
}
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero-section">
<div class="hero-container">
<div class="hero-content">
<h1 class="app-title">وصال</h1>
<p class="app-subtitle">Where your colleagues become your closest friends</p>
<a href="#about" class="download-btn">
<svg class="download-icon" fill="currentColor" viewBox="0 0 20 20">
<path
d="M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" />
</svg>
Get Wesal App
</a>
</div>
<div class="mockup-container">
<img src="mockup.png" alt="Wesal App Mockup" class="mockup-image">
</div>
</div>
<div class="scroll-indicator">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M7.41 8.84L12 13.42l4.59-4.58L18 10.25l-6 6-6-6z" />
</svg>
</div>
</section>
<!-- About Section -->
<section id="about" class="about-section">
<h2 class="section-title">What is it?</h2>
<div class="about-description">
<p>A social networking mobile application designed for connecting workplace colleagues. Wesal (Arabic for
"connection") enhances communication and collaboration among division members.</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">📱</div>
<h3 class="feature-title">Social Feed</h3>
<p class="feature-description">Create, view, like, and comment on posts to stay connected with your team
</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎉</div>
<h3 class="feature-title">Invitations</h3>
<p class="feature-description">Create and manage event invitations with RSVP functionality for team
gatherings</p>
</div>
<div class="feature-card">
<div class="feature-icon">🧩</div>
<h3 class="feature-title">Daily Puzzles</h3>
<p class="feature-description">Timed daily challenges with leaderboards (9AM-11AM) to engage and compete
with colleagues</p>
</div>
</div>
<div class="installation-steps">
<h3 class="steps-title">How to Install Wesal</h3>
<div class="steps-grid">
<div class="step-card">
<div class="step-number">1</div>
<h4 class="step-title">Visit the App Website</h4>
<p class="step-description">Open your mobile browser and go to <a href="https://web.wesal.online"
style="color: #32B0A5; text-decoration: none; font-weight: 600;">web.wesal.online</a></p>
<div class="platform-instructions">
<div class="platform-title">📱 Both iOS & Android:</div>
<div class="platform-desc">Use Safari, Chrome, or Firefox on your mobile device</div>
</div>
</div>
<div class="step-card">
<div class="step-number">2</div>
<h4 class="step-title">Find the Install Option</h4>
<p class="step-description">Look for the installation prompt in your browser</p>
<div class="platform-instructions">
<div class="platform-title">🍎 iOS (Safari):</div>
<div class="platform-desc">Tap the Share button at the bottom of the screen</div>
<div class="platform-title">🤖 Android (Chrome):</div>
<div class="platform-desc">Tap the three dots menu (⋮) at the top right corner</div>
</div>
</div>
<div class="step-card">
<div class="step-number">3</div>
<h4 class="step-title">Add to Home Screen</h4>
<p class="step-description">Select the installation option from the menu</p>
<div class="platform-instructions">
<div class="platform-title">🍎 iOS:</div>
<div class="platform-desc">Scroll down and tap "Add to Home Screen"</div>
<div class="platform-title">🤖 Android:</div>
<div class="platform-desc">Tap "Add to Home Screen" or "Install App"</div>
</div>
</div>
<div class="step-card">
<div class="step-number">4</div>
<h4 class="step-title">Launch & Enjoy</h4>
<p class="step-description">Confirm the installation and start connecting with colleagues!</p>
<div class="platform-instructions">
<div class="platform-title">📱 Both Platforms:</div>
<div class="platform-desc">Tap "Add" or "Install" to complete the process. Find the Wesal icon
on your home screen and start building workplace friendships!</div>
</div>
</div>
</div>
<div class="btn-container">
<a href="https://web.wesal.online" class="go-to-app-btn">Go to App Now</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<p>&copy; 2025 Wesal App. Connecting colleagues, transforming workplaces.</p>
</footer>
<script>
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Show install prompt when available
let deferredPrompt;
window.addEventListener('beforeinstallprompt', (e) => {
e.preventDefault();
deferredPrompt = e;
// Show custom install button or update existing one
const installBtn = document.querySelector('.download-btn');
installBtn.style.display = 'inline-flex';
installBtn.addEventListener('click', async (e) => {
e.preventDefault();
if (deferredPrompt) {
deferredPrompt.prompt();
const { outcome } = await deferredPrompt.userChoice;
console.log(`User ${outcome} the install prompt`);
deferredPrompt = null;
} else {
// If no install prompt available, scroll to instructions
document.querySelector('#about').scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Handle successful installation
window.addEventListener('appinstalled', (evt) => {
console.log('Wesal PWA was installed');
// Hide install button or show success message
const installBtn = document.querySelector('.download-btn');
installBtn.textContent = 'App Installed! ✓';
installBtn.style.background = 'rgba(76, 175, 80, 0.8)';
});
</script>
</body>
</html>