Spaces:
Running
สร้างเว็บที่นำเสนอโครงการที่สอดคล้องแนวคิดนี้
Browse filesการเปลี่ยน “ตัวแทนขาย MLM แบบดั้งเดิม” ให้กลายเป็น Wellness Consultant ไม่ใช่แค่เปลี่ยนชื่อ แต่คือการ ยกระดับคุณค่า ของระบบขายตรง สู่แพลตฟอร์มที่ทันสมัย โปร่งใส และมีความน่าเชื่อถือ
🔄 ทำไมต้องเปลี่ยนจาก “ตัวแทน” → “Wellness Consultant”?
MLM แบบเดิม Wellness Consultant
ขายสินค้าเป็นกล่อง ให้คำแนะนำเชิงสุขภาพพร้อมสินค้า
เน้นปิดการขาย เน้นช่วยลูกค้าเห็นผลลัพธ์สุขภาพ
ทำยอดเพื่อรักษายอด/โบนัส มีอาชีพที่มีความรู้ + ระบบสนับสนุนจริง
ภาพลักษณ์ติดลบในสังคม ภาพลักษณ์ดี เป็นโค้ชสุขภาพยุคใหม่
ไม่ต่างจากขายของออนไลน์ทั่วไป ต่างด้วย ความรู้ + เครื่องมือ + AI Dashboard
🧠 แนวคิด “Wellness Consultant” ของ WP WELLNET
✅ “โค้ชสุขภาพที่มีเครื่องมือ วัดผลสุขภาพจากข้อมูลจริง
✅ แนะนำผลิตภัณฑ์ตามเป้าหมายของลูกค้า
✅ ดูแลลูกค้าระยะยาว และรับรายได้ต่อเนื่องจากระบบสมาชิก”
🧩 องค์ประกอบที่บริษัทต้องเตรียมเพื่อรองรับระบบนี้
1. ✅ Training System (ระบบฝึกอบรมตัวแทน)
หลักสูตรอบรม 3 ระดับ: Starter / Pro / Master
เนื้อหา:
ความรู้สุขภาพพื้นฐาน (Detox, Blood Flow, pH Balance)
วิธีใช้เครื่องมือ (MyScale, Smart Band)
วิธีวิเคราะห์ข้อมูล Dashboard
Soft Skill: การให้คำปรึกษา, Empathy, Coaching
รูปแบบ:
ระบบเรียนออนไลน์ผ่าน WP Academy
Live Session จากทีมแพทย์/นักโภชนาการ
Quiz / Certification เพื่อเลื่อนระดับ
2. ✅ AI Health Dashboard สำหรับ Consultant
ให้ที่ปรึกษา เห็นข้อมูลสุขภาพของลูกค้า (ที่ยินยอมให้แชร์)
ฟีเจอร์:
ประวัติน้ำหนัก, visceral fat, HRV, pH Trend
Suggestion Engine – แนะนำผลิตภัณฑ์ที่เหมาะ
Goal Tracker – เป้าหมายสุขภาพลูกค้า
ระบบแจ้งเตือน follow-up (7 วัน / 14 วัน / 30 วัน)
ใช้งานผ่านมือถือ (Web App หรือแอป)
3. ✅ Content Toolkits & โปรแกรมสำเร็จรูป
โปรแกรม 30 วัน / 90 วัน พร้อมแผนการกิน การดูแล
Infographic & Slide สำหรับอธิบายกับลูกค้า
เครื่องมือคำนวณ TDEE / Health Risk / อายุชีวภาพ
ระบบ chatbot สำหรับตอบคำถามพื้นฐานให้ลูกค้า
4. ✅ โมเดลรายได้ที่ยืดหยุ่น แต่มั่นคง
รายได้จาก:
ยอดซื้อสินค้าของลูกค้าในระบบ
Subscription รายเดือน (สุขภาพ + device)
การแนะนำ Consultant ใหม่
ไม่บีบยอดรายเดือนแบบ MLM เก่า แต่มีแรงจูงใจแบบ “ความยั่งยืน” เช่น:
ดูแลลูกค้า 3 เดือนติด → รับโบนัสบริการ
มีลูกค้าประจำครบ 10 คน → ขึ้นระดับ Pro
5. ✅ เครื่องมือการตลาดสำหรับ Consultant
Canva Templates, LINE OA Message, Landing Page ส่วนตัว
Dashboard ติดตามยอดขาย / ลูกค้า / รายได้แบบ real-time
ระบบแชร์รีวิว + สร้างลิงก์ affiliate ส่วนตัว
🎯 Positioning ใหม่ในสังคม
“ตัวแทน” → “นักให้คำปรึกษาสุขภาพ”
มีทักษะ มีความรู้ มีเครื่องมือ ไม่ใช่แค่ขายของ
มีแบรนด์ WP WELLNET ค้ำหลัง → ภาพลักษณ์ดี
ทำงานจากที่ไหนก็ได้ สร้างรายได้ + สร้าง impact ต่อชีวิตคน
📌 สรุปภาพรวม
หัวข้อ รายละเอียด
เป้าหมาย สร้างระบบที่ยั่งยืน ไม่เน้นขายของเร็ว แต่เน้นสร้างความสัมพันธ์
ทรัพยากรที่บริษัทต้องทำ Dashboard + ระบบเรียน + โปรแกรมฟื้นฟู + เครื่องมือสื่อสาร
คุณค่าที่ตัวแทนได้รับ มีอาชีพที่ดูดี มีรายได้จริง ยั่งยืน
ผลที่เกิดกับลูกค้า มีคนดูแลสุขภาพเชิงลึกอย่างต่อเนื่อง
- README.md +8 -5
- index.html +406 -19
- script.js +255 -0
- style.css +172 -19
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: WP WellNet Elevate 🚀
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
|
@@ -1,19 +1,406 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="th">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>WP WELLNET - ยกระดับตัวแทนขายสู่ Wellness Consultant</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
</head>
|
| 12 |
+
<body class="bg-gray-50">
|
| 13 |
+
<!-- Navigation -->
|
| 14 |
+
<nav class="bg-white shadow-lg fixed w-full z-50">
|
| 15 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 16 |
+
<div class="flex justify-between h-16">
|
| 17 |
+
<div class="flex items-center">
|
| 18 |
+
<div class="flex-shrink-0 flex items-center">
|
| 19 |
+
<h1 class="text-2xl font-bold text-teal-600">WP WELLNET</h1>
|
| 20 |
+
</div>
|
| 21 |
+
<div class="hidden md:flex items-center space-x-8 ml-10">
|
| 22 |
+
<a href="#home" class="text-gray-700 hover:text-teal-600 transition-colors">หน้าแรก</a>
|
| 23 |
+
<a href="#concept" class="text-gray-700 hover:text-teal-600 transition-colors">แนวคิด</a>
|
| 24 |
+
<a href="#features" class="text-gray-700 hover:text-teal-600 transition-colors">บริการของเรา</a>
|
| 25 |
+
<a href="#training" class="text-gray-700 hover:text-teal-600 transition-colors">ระบบการฝึกอบรม</a>
|
| 26 |
+
<a href="#contact" class="text-gray-700 hover:text-teal-600 transition-colors">ติดต่อ</a>
|
| 27 |
+
</div>
|
| 28 |
+
</div>
|
| 29 |
+
<div class="flex items-center">
|
| 30 |
+
<button class="bg-teal-600 text-white px-6 py-2 rounded-full hover:bg-teal-700 transition-colors">
|
| 31 |
+
เริ่มต้นสมัคร
|
| 32 |
+
</button>
|
| 33 |
+
</div>
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
</nav>
|
| 37 |
+
|
| 38 |
+
<!-- Hero Section -->
|
| 39 |
+
<section id="home" class="pt-20 min-h-screen flex items-center bg-gradient-to-br from-teal-50 to-blue-50">
|
| 40 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
| 41 |
+
<div class="text-center">
|
| 42 |
+
<h1 class="text-5xl md:text-6xl font-bold text-gray-900 mb-6">
|
| 43 |
+
ยกระดับตัวแทนขาย<br>
|
| 44 |
+
<span class="text-transparent bg-clip-text bg-gradient-to-r from-teal-600 to-blue-600">
|
| 45 |
+
สู่ Wellness Consultant
|
| 46 |
+
</span>
|
| 47 |
+
</h1>
|
| 48 |
+
<p class="text-xl text-gray-600 mb-8 max-w-3xl mx-auto">
|
| 49 |
+
ไม่ใช่แค่เปลี่ยนชื่อ แต่คือการยกระดับคุณค่าของระบบขายตรง
|
| 50 |
+
สู่แพลตฟอร์มที่ทันสมัย โปร่งใส และมีความน่าเชื่อถือ
|
| 51 |
+
</p>
|
| 52 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 53 |
+
<button class="bg-teal-600 text-white px-8 py-4 rounded-full text-lg hover:bg-teal-700 transition-all transform hover:scale-105">
|
| 54 |
+
เรียนรู้เพิ่มเติม
|
| 55 |
+
</button>
|
| 56 |
+
<button class="bg-white text-teal-600 border-2 border-teal-600 px-8 py-4 rounded-full text-lg hover:bg-teal-50 transition-all">
|
| 57 |
+
ดูวิดีโอแนะนำ
|
| 58 |
+
</button>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
</section>
|
| 63 |
+
|
| 64 |
+
<!-- Comparison Section -->
|
| 65 |
+
<section id="concept" class="py-20 bg-white">
|
| 66 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 67 |
+
<h2 class="text-4xl font-bold text-center text-gray-900 mb-16">
|
| 68 |
+
ทำไมต้องเปลี่ยนจาก "ตัวแทน" → "Wellness Consultant"?
|
| 69 |
+
</h2>
|
| 70 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 71 |
+
<div class="bg-red-50 p-8 rounded-2xl">
|
| 72 |
+
<h3 class="text-2xl font-bold text-red-600 mb-6 flex items-center">
|
| 73 |
+
<i data-feather="x-circle" class="mr-3"></i>
|
| 74 |
+
MLM แบบเดิ���
|
| 75 |
+
</h3>
|
| 76 |
+
<ul class="space-y-4">
|
| 77 |
+
<li class="flex items-start">
|
| 78 |
+
<i data-feather="minus" class="mt-1 mr-3 text-red-500"></i>
|
| 79 |
+
<span>ขายสินค้าเป็นกล่อง</span>
|
| 80 |
+
</li>
|
| 81 |
+
<li class="flex items-start">
|
| 82 |
+
<i data-feather="minus" class="mt-1 mr-3 text-red-500"></i>
|
| 83 |
+
<span>เน้นปิดการขาย</span>
|
| 84 |
+
</li>
|
| 85 |
+
<li class="flex items-start">
|
| 86 |
+
<i data-feather="minus" class="mt-1 mr-3 text-red-500"></i>
|
| 87 |
+
<span>ทำยอดเพื่อรักษายอด/โบนัส</span>
|
| 88 |
+
</li>
|
| 89 |
+
<li class="flex items-start">
|
| 90 |
+
<i data-feather="minus" class="mt-1 mr-3 text-red-500"></i>
|
| 91 |
+
<span>ภาพลักษณ์ติดลบในสังคม</span>
|
| 92 |
+
</li>
|
| 93 |
+
<li class="flex items-start">
|
| 94 |
+
<i data-feather="minus" class="mt-1 mr-3 text-red-500"></i>
|
| 95 |
+
<span>ไม่ต่างจากขายของออนไลน์ทั่วไป</span>
|
| 96 |
+
</li>
|
| 97 |
+
</ul>
|
| 98 |
+
</div>
|
| 99 |
+
<div class="bg-green-50 p-8 rounded-2xl">
|
| 100 |
+
<h3 class="text-2xl font-bold text-green-600 mb-6 flex items-center">
|
| 101 |
+
<i data-feather="check-circle" class="mr-3"></i>
|
| 102 |
+
Wellness Consultant
|
| 103 |
+
</h3>
|
| 104 |
+
<ul class="space-y-4">
|
| 105 |
+
<li class="flex items-start">
|
| 106 |
+
<i data-feather="plus" class="mt-1 mr-3 text-green-500"></i>
|
| 107 |
+
<span>ให้คำแนะนำเชิงสุขภาพพร้อมสินค้า</span>
|
| 108 |
+
</li>
|
| 109 |
+
<li class="flex items-start">
|
| 110 |
+
<i data-feather="plus" class="mt-1 mr-3 text-green-500"></i>
|
| 111 |
+
<span>เน้นช่วยลูกค้าเห็นผลลัพธ์สุขภาพ</span>
|
| 112 |
+
</li>
|
| 113 |
+
<li class="flex items-start">
|
| 114 |
+
<i data-feather="plus" class="mt-1 mr-3 text-green-500"></i>
|
| 115 |
+
<span>มีอาชีพที่มีความรู้ + ระบบสนับสนุนจริง</span>
|
| 116 |
+
</li>
|
| 117 |
+
<li class="flex items-start">
|
| 118 |
+
<i data-feather="plus" class="mt-1 mr-3 text-green-500"></i>
|
| 119 |
+
<span>ภาพลักษณ์ดี เป็นโค้ชสุขภาพยุคใหม่</span>
|
| 120 |
+
</li>
|
| 121 |
+
<li class="flex items-start">
|
| 122 |
+
<i data-feather="plus" class="mt-1 mr-3 text-green-500"></i>
|
| 123 |
+
<span>ต่างด้วย ความรู้ + เครื่องมือ + AI Dashboard</span>
|
| 124 |
+
</li>
|
| 125 |
+
</ul>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</section>
|
| 130 |
+
|
| 131 |
+
<!-- Core Concept Section -->
|
| 132 |
+
<section class="py-20 bg-gradient-to-br from-teal-50 to-blue-50">
|
| 133 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 134 |
+
<h2 class="text-4xl font-bold text-center text-gray-900 mb-4">
|
| 135 |
+
แนวคิด "Wellness Consultant"
|
| 136 |
+
</h2>
|
| 137 |
+
<p class="text-xl text-center text-gray-600 mb-12">ของ WP WELLNET</p>
|
| 138 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 139 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg hover:shadow-xl transition-shadow">
|
| 140 |
+
<div class="bg-teal-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 141 |
+
<i data-feather="activity" class="text-teal-600 text-2xl"></i>
|
| 142 |
+
</div>
|
| 143 |
+
<h3 class="text-xl font-bold mb-4">โค้ชสุขภาพที่มีเครื่องมือ</h3>
|
| 144 |
+
<p class="text-gray-600">วัดผลสุขภาพจากข้อมูลจริง ด้วยเทคโนโลยี AI ที่ทันสมัย</p>
|
| 145 |
+
</div>
|
| 146 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg hover:shadow-xl transition-shadow">
|
| 147 |
+
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 148 |
+
<i data-feather="target" class="text-blue-600 text-2xl"></i>
|
| 149 |
+
</div>
|
| 150 |
+
<h3 class="text-xl font-bold mb-4">แนะนำตามเป้าหม��ย</h3>
|
| 151 |
+
<p class="text-gray-600">ผลิตภัณฑ์ที่เหมาะกับลูกค้าแต่ละราย ตามข้อมูลสุขภาพส่วนบุคคล</p>
|
| 152 |
+
</div>
|
| 153 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg hover:shadow-xl transition-shadow">
|
| 154 |
+
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 155 |
+
<i data-feather="users" class="text-purple-600 text-2xl"></i>
|
| 156 |
+
</div>
|
| 157 |
+
<h3 class="text-xl font-bold mb-4">ดูแลระยะยาว</h3>
|
| 158 |
+
<p class="text-gray-600">รับรายได้ต่อเนื่องจากระบบสมาชิก สร้างความยั่งยืน</p>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
+
</section>
|
| 163 |
+
|
| 164 |
+
<!-- Features Section -->
|
| 165 |
+
<section id="features" class="py-20 bg-white">
|
| 166 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 167 |
+
<h2 class="text-4xl font-bold text-center text-gray-900 mb-16">
|
| 168 |
+
องค์ประกอบที่บริษัทต้องเตรียม
|
| 169 |
+
</h2>
|
| 170 |
+
<div class="space-y-12">
|
| 171 |
+
<!-- Training System -->
|
| 172 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 173 |
+
<div class="md:w-1/2">
|
| 174 |
+
<div class="bg-teal-100 w-20 h-20 rounded-full flex items-center justify-center mb-6">
|
| 175 |
+
<i data-feather="book-open" class="text-teal-600 text-3xl"></i>
|
| 176 |
+
</div>
|
| 177 |
+
<h3 class="text-2xl font-bold mb-4">Training System</h3>
|
| 178 |
+
<p class="text-gray-600 mb-4">ระบบฝึกอบรมตัวแทน 3 ระดับ</p>
|
| 179 |
+
<ul class="space-y-2">
|
| 180 |
+
<li class="flex items-center">
|
| 181 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 182 |
+
<span>Starter / Pro / Master Certification</span>
|
| 183 |
+
</li>
|
| 184 |
+
<li class="flex items-center">
|
| 185 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 186 |
+
<span>ความรู้สุขภาพพื้นฐาน (Detox, Blood Flow, pH Balance)</span>
|
| 187 |
+
</li>
|
| 188 |
+
<li class="flex items-center">
|
| 189 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 190 |
+
<span>WP Academy แบบออนไลน์</span>
|
| 191 |
+
</li>
|
| 192 |
+
</ul>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="md:w-1/2">
|
| 195 |
+
<img src="http://static.photos/education/640x360/42" alt="Training" class="rounded-2xl shadow-lg">
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
|
| 199 |
+
<!-- AI Dashboard -->
|
| 200 |
+
<div class="flex flex-col md:flex-row-reverse items-center gap-8">
|
| 201 |
+
<div class="md:w-1/2">
|
| 202 |
+
<div class="bg-blue-100 w-20 h-20 rounded-full flex items-center justify-center mb-6">
|
| 203 |
+
<i data-feather="monitor" class="text-blue-600 text-3xl"></i>
|
| 204 |
+
</div>
|
| 205 |
+
<h3 class="text-2xl font-bold mb-4">AI Health Dashboard</h3>
|
| 206 |
+
<p class="text-gray-600 mb-4">ระบบวิเคราะห์สำหรับ Consultant</p>
|
| 207 |
+
<ul class="space-y-2">
|
| 208 |
+
<li class="flex items-center">
|
| 209 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 210 |
+
<span>ข้อมูลสุขภาพแบบ Real-time</span>
|
| 211 |
+
</li>
|
| 212 |
+
<li class="flex items-center">
|
| 213 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 214 |
+
<span>Suggestion Engine แนะนำผลิตภัณฑ์</span>
|
| 215 |
+
</li>
|
| 216 |
+
<li class="flex items-center">
|
| 217 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 218 |
+
<span>ระบบแจ้งเตือน Follow-up</span>
|
| 219 |
+
</li>
|
| 220 |
+
</ul>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="md:w-1/2">
|
| 223 |
+
<img src="http://static.photos/technology/640x360/133" alt="Dashboard" class="rounded-2xl shadow-lg">
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<!-- Content Toolkits -->
|
| 228 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 229 |
+
<div class="md:w-1/2">
|
| 230 |
+
<div class="bg-purple-100 w-20 h-20 rounded-full flex items-center justify-center mb-6">
|
| 231 |
+
<i data-feather="package" class="text-purple-600 text-3xl"></i>
|
| 232 |
+
</div>
|
| 233 |
+
<h3 class="text-2xl font-bold mb-4">Content Toolkits</h3>
|
| 234 |
+
<p class="text-gray-600 mb-4">เครื่องมือสำหรับ Consultant</p>
|
| 235 |
+
<ul class="space-y-2">
|
| 236 |
+
<li class="flex items-center">
|
| 237 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 238 |
+
<span>โปรแกรม 30/90 วัน พร้อมแผนการกิน</span>
|
| 239 |
+
</li>
|
| 240 |
+
<li class="flex items-center">
|
| 241 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 242 |
+
<span>Infographic & Slide สำหรับนำเสนอ</span>
|
| 243 |
+
</li>
|
| 244 |
+
<li class="flex items-center">
|
| 245 |
+
<i data-feather="check" class="text-green-500 mr-2"></i>
|
| 246 |
+
<span>Chatbot ตอบคำถามลูกค้า</span>
|
| 247 |
+
</li>
|
| 248 |
+
</ul>
|
| 249 |
+
</div>
|
| 250 |
+
<div class="md:w-1/2">
|
| 251 |
+
<img src="http://static.photos/office/640x360/88" alt="Content" class="rounded-2xl shadow-lg">
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
</section>
|
| 257 |
+
|
| 258 |
+
<!-- Income Model Section -->
|
| 259 |
+
<section id="training" class="py-20 bg-gradient-to-br from-purple-50 to-pink-50">
|
| 260 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 261 |
+
<h2 class="text-4xl font-bold text-center text-gray-900 mb-16">
|
| 262 |
+
โมเดลรายได้ที่ยืดหยุ่น แต่มั่นคง
|
| 263 |
+
</h2>
|
| 264 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 265 |
+
<div class="bg-white p-6 rounded-xl shadow-lg">
|
| 266 |
+
<div class="bg-green-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 267 |
+
<i data-feather="shopping-cart" class="text-green-600"></i>
|
| 268 |
+
</div>
|
| 269 |
+
<h3 class="font-bold mb-2">ยอดขายสินค้า</h3>
|
| 270 |
+
<p class="text-gray-600 text-sm">จากลูกค้าในระบบ</p>
|
| 271 |
+
</div>
|
| 272 |
+
<div class="bg-white p-6 rounded-xl shadow-lg">
|
| 273 |
+
<div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 274 |
+
<i data-feather="repeat" class="text-blue-600"></i>
|
| 275 |
+
</div>
|
| 276 |
+
<h3 class="font-bold mb-2">Subscription รายเดือน</h3>
|
| 277 |
+
<p class="text-gray-600 text-sm">สุขภาพ + device</p>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="bg-white p-6 rounded-xl shadow-lg">
|
| 280 |
+
<div class="bg-purple-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 281 |
+
<i data-feather="user-plus" class="text-purple-600"></i>
|
| 282 |
+
</div>
|
| 283 |
+
<h3 class="font-bold mb-2">แนะนำ Consultant</h3>
|
| 284 |
+
<p class="text-gray-600 text-sm">รับค่าแนะนำ</p>
|
| 285 |
+
</div>
|
| 286 |
+
<div class="bg-white p-6 rounded-xl shadow-lg">
|
| 287 |
+
<div class="bg-orange-100 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 288 |
+
<i data-feather="award" class="text-orange-600"></i>
|
| 289 |
+
</div>
|
| 290 |
+
<h3 class="font-bold mb-2">โบนัสบริการ</h3>
|
| 291 |
+
<p class="text-gray-600 text-sm">ดูแลลูกค้าระยะยาว</p>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</section>
|
| 296 |
+
|
| 297 |
+
<!-- Positioning Section -->
|
| 298 |
+
<section class="py-20 bg-white">
|
| 299 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 300 |
+
<h2 class="text-4xl font-bold text-center text-gray-900 mb-16">
|
| 301 |
+
Positioning ใหม่ในสังคม
|
| 302 |
+
</h2>
|
| 303 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 304 |
+
<div class="text-center">
|
| 305 |
+
<div class="bg-teal-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 306 |
+
<i data-feather="trending-up" class="text-teal-600 text-4xl"></i>
|
| 307 |
+
</div>
|
| 308 |
+
<h3 class="text-xl font-bold mb-3">มีทักษะ มีความรู้</h3>
|
| 309 |
+
<p class="text-gray-600">มีเครื่องมือสนับสนุน ไม่ใช่แค่ขายของ</p>
|
| 310 |
+
</div>
|
| 311 |
+
<div class="text-center">
|
| 312 |
+
<div class="bg-blue-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 313 |
+
<i data-feather="shield" class="text-blue-600 text-4xl"></i>
|
| 314 |
+
</div>
|
| 315 |
+
<h3 class="text-xl font-bold mb-3">แบรนด์ค้ำหลัง</h3>
|
| 316 |
+
<p class="text-gray-600">WP WELLNET สร้างภาพลักษณ์ที่ดี</p>
|
| 317 |
+
</div>
|
| 318 |
+
<div class="text-center">
|
| 319 |
+
<div class="bg-purple-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 320 |
+
<i data-feather="heart" class="text-purple-600 text-4xl"></i>
|
| 321 |
+
</div>
|
| 322 |
+
<h3 class="text-xl font-bold mb-3">ทำงานจากที่ไหนก็ได้</h3>
|
| 323 |
+
<p class="text-gray-600">สร้างรายได้ + สร้าง impact ต่อชีวิตคน</p>
|
| 324 |
+
</div>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</section>
|
| 328 |
+
|
| 329 |
+
<!-- CTA Section -->
|
| 330 |
+
<section class="py-20 bg-gradient-to-r from-teal-600 to-blue-600">
|
| 331 |
+
<div class="max-w-4xl mx-auto px-4 text-center">
|
| 332 |
+
<h2 class="text-4xl font-bold text-white mb-6">
|
| 333 |
+
พร้อมจะเป็นส่วนหนึ่งของการเปลี่ยนแปลงหรือยัง?
|
| 334 |
+
</h2>
|
| 335 |
+
<p class="text-xl text-white/90 mb-8">
|
| 336 |
+
เข้าร่วมเป็น Wellness Consultant กับ WP WELLNET วันนี้
|
| 337 |
+
</p>
|
| 338 |
+
<button class="bg-white text-teal-600 px-10 py-4 rounded-full text-lg font-bold hover:bg-gray-100 transition-all transform hover:scale-105">
|
| 339 |
+
สมัครตอนนี้
|
| 340 |
+
</button>
|
| 341 |
+
</div>
|
| 342 |
+
</section>
|
| 343 |
+
|
| 344 |
+
<!-- Footer -->
|
| 345 |
+
<footer id="contact" class="bg-gray-900 text-white py-12">
|
| 346 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 347 |
+
<div class="grid md:grid-cols-4 gap-8">
|
| 348 |
+
<div>
|
| 349 |
+
<h3 class="text-2xl font-bold mb-4">WP WELLNET</h3>
|
| 350 |
+
<p class="text-gray-400">ยกระดับตัวแทนขายสู่ Wellness Consultant</p>
|
| 351 |
+
</div>
|
| 352 |
+
<div>
|
| 353 |
+
<h4 class="font-bold mb-4">เมนูลัด</h4>
|
| 354 |
+
<ul class="space-y-2 text-gray-400">
|
| 355 |
+
<li><a href="#home" class="hover:text-white">หน้าแรก</a></li>
|
| 356 |
+
<li><a href="#concept" class="hover:text-white">แนวคิด</a></li>
|
| 357 |
+
<li><a href="#features" class="hover:text-white">บริการ</a></li>
|
| 358 |
+
<li><a href="#training" class="hover:text-white">การฝึกอบรม</a></li>
|
| 359 |
+
</ul>
|
| 360 |
+
</div>
|
| 361 |
+
<div>
|
| 362 |
+
<h4 class="font-bold mb-4">ติดต่อเรา</h4>
|
| 363 |
+
<ul class="space-y-2 text-gray-400">
|
| 364 |
+
<li class="flex items-center">
|
| 365 |
+
<i data-feather="phone" class="mr-2 w-4 h-4"></i>
|
| 366 |
+
02-XXX-XXXX
|
| 367 |
+
</li>
|
| 368 |
+
<li class="flex items-center">
|
| 369 |
+
<i data-feather="mail" class="mr-2 w-4 h-4"></i>
|
| 370 |
+
info@wpwellnet.com
|
| 371 |
+
</li>
|
| 372 |
+
<li class="flex items-center">
|
| 373 |
+
<i data-feather="map-pin" class="mr-2 w-4 h-4"></i>
|
| 374 |
+
กรุงเทพฯ, ประเทศไทย
|
| 375 |
+
</li>
|
| 376 |
+
</ul>
|
| 377 |
+
</div>
|
| 378 |
+
<div>
|
| 379 |
+
<h4 class="font-bold mb-4">ติดตามเรา</h4>
|
| 380 |
+
<div class="flex space-x-4">
|
| 381 |
+
<a href="#" class="bg-gray-800 p-3 rounded-full hover:bg-gray-700 transition-colors">
|
| 382 |
+
<i data-feather="facebook" class="w-5 h-5"></i>
|
| 383 |
+
</a>
|
| 384 |
+
<a href="#" class="bg-gray-800 p-3 rounded-full hover:bg-gray-700 transition-colors">
|
| 385 |
+
<i data-feather="instagram" class="w-5 h-5"></i>
|
| 386 |
+
</a>
|
| 387 |
+
<a href="#" class="bg-gray-800 p-3 rounded-full hover:bg-gray-700 transition-colors">
|
| 388 |
+
<i data-feather="youtube" class="w-5 h-5"></i>
|
| 389 |
+
</a>
|
| 390 |
+
<a href="#" class="bg-gray-800 p-3 rounded-full hover:bg-gray-700 transition-colors">
|
| 391 |
+
<i data-feather="message-circle" class="w-5 h-5"></i>
|
| 392 |
+
</a>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
</div>
|
| 396 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
|
| 397 |
+
<p>© 2024 WP WELLNET. All rights reserved.</p>
|
| 398 |
+
</div>
|
| 399 |
+
</div>
|
| 400 |
+
</footer>
|
| 401 |
+
|
| 402 |
+
<script src="script.js"></script>
|
| 403 |
+
<script>feather.replace();</script>
|
| 404 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 405 |
+
</body>
|
| 406 |
+
</html>
|
|
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Smooth scroll for navigation links
|
| 2 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 3 |
+
anchor.addEventListener('click', function (e) {
|
| 4 |
+
e.preventDefault();
|
| 5 |
+
const target = document.querySelector(this.getAttribute('href'));
|
| 6 |
+
if (target) {
|
| 7 |
+
target.scrollIntoView({
|
| 8 |
+
behavior: 'smooth',
|
| 9 |
+
block: 'start'
|
| 10 |
+
});
|
| 11 |
+
}
|
| 12 |
+
});
|
| 13 |
+
});
|
| 14 |
+
|
| 15 |
+
// Active navigation highlighting
|
| 16 |
+
window.addEventListener('scroll', () => {
|
| 17 |
+
const sections = document.querySelectorAll('section[id]');
|
| 18 |
+
const navLinks = document.querySelectorAll('nav a[href^="#"]');
|
| 19 |
+
|
| 20 |
+
let current = '';
|
| 21 |
+
sections.forEach(section => {
|
| 22 |
+
const sectionTop = section.offsetTop;
|
| 23 |
+
const sectionHeight = section.clientHeight;
|
| 24 |
+
if (scrollY >= (sectionTop - 200)) {
|
| 25 |
+
current = section.getAttribute('id');
|
| 26 |
+
}
|
| 27 |
+
});
|
| 28 |
+
|
| 29 |
+
navLinks.forEach(link => {
|
| 30 |
+
link.classList.remove('nav-active');
|
| 31 |
+
if (link.getAttribute('href').slice(1) === current) {
|
| 32 |
+
link.classList.add('nav-active');
|
| 33 |
+
}
|
| 34 |
+
});
|
| 35 |
+
});
|
| 36 |
+
|
| 37 |
+
// Mobile menu toggle
|
| 38 |
+
const mobileMenuButton = document.createElement('button');
|
| 39 |
+
mobileMenuButton.className = 'md:hidden text-gray-700 hover:text-teal-600 transition-colors';
|
| 40 |
+
mobileMenuButton.innerHTML = '<i data-feather="menu"></i>';
|
| 41 |
+
mobileMenuButton.onclick = toggleMobileMenu;
|
| 42 |
+
|
| 43 |
+
function toggleMobileMenu() {
|
| 44 |
+
const mobileMenu = document.querySelector('.mobile-menu');
|
| 45 |
+
if (mobileMenu) {
|
| 46 |
+
mobileMenu.classList.toggle('hidden');
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
// Add mobile menu to navigation
|
| 51 |
+
const nav = document.querySelector('nav');
|
| 52 |
+
if (nav && window.innerWidth < 768) {
|
| 53 |
+
const navContainer = nav.querySelector('.max-w-7xl');
|
| 54 |
+
const rightItems = navContainer.querySelector('.flex.items-center:last-child');
|
| 55 |
+
if (rightItems) {
|
| 56 |
+
rightItems.insertBefore(mobileMenuButton, rightItems.firstChild);
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
// Intersection Observer for animations
|
| 61 |
+
const observerOptions = {
|
| 62 |
+
threshold: 0.1,
|
| 63 |
+
rootMargin: '0px 0px -50px 0px'
|
| 64 |
+
};
|
| 65 |
+
|
| 66 |
+
const observer = new IntersectionObserver((entries) => {
|
| 67 |
+
entries.forEach(entry => {
|
| 68 |
+
if (entry.isIntersecting) {
|
| 69 |
+
entry.target.classList.add('fade-in-up');
|
| 70 |
+
observer.unobserve(entry.target);
|
| 71 |
+
}
|
| 72 |
+
});
|
| 73 |
+
}, observerOptions);
|
| 74 |
+
|
| 75 |
+
// Observe elements for animation
|
| 76 |
+
document.querySelectorAll('section > div, .card-hover').forEach(el => {
|
| 77 |
+
observer.observe(el);
|
| 78 |
+
});
|
| 79 |
+
|
| 80 |
+
// Counter animation for statistics
|
| 81 |
+
function animateCounter(element, target, duration = 2000) {
|
| 82 |
+
let start = 0;
|
| 83 |
+
const increment = target / (duration / 16);
|
| 84 |
+
|
| 85 |
+
const updateCounter = () => {
|
| 86 |
+
start += increment;
|
| 87 |
+
if (start < target) {
|
| 88 |
+
element.textContent = Math.floor(start);
|
| 89 |
+
requestAnimationFrame(updateCounter);
|
| 90 |
+
} else {
|
| 91 |
+
element.textContent = target;
|
| 92 |
+
}
|
| 93 |
+
};
|
| 94 |
+
|
| 95 |
+
updateCounter();
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
// Initialize counters when visible
|
| 99 |
+
const counters = document.querySelectorAll('[data-counter]');
|
| 100 |
+
counters.forEach(counter => {
|
| 101 |
+
const target = parseInt(counter.dataset.counter);
|
| 102 |
+
const counterObserver = new IntersectionObserver((entries) => {
|
| 103 |
+
entries.forEach(entry => {
|
| 104 |
+
if (entry.isIntersecting) {
|
| 105 |
+
animateCounter(entry.target, target);
|
| 106 |
+
counterObserver.unobserve(entry.target);
|
| 107 |
+
}
|
| 108 |
+
});
|
| 109 |
+
}, { threshold: 0.5 });
|
| 110 |
+
|
| 111 |
+
counterObserver.observe(counter);
|
| 112 |
+
});
|
| 113 |
+
|
| 114 |
+
// Form handling
|
| 115 |
+
const forms = document.querySelectorAll('form');
|
| 116 |
+
forms.forEach(form => {
|
| 117 |
+
form.addEventListener('submit', (e) => {
|
| 118 |
+
e.preventDefault();
|
| 119 |
+
// Add form submission logic here
|
| 120 |
+
showNotification('ข้อความของคุณถูกส่งเรียบร้อยแล้ว', 'success');
|
| 121 |
+
form.reset();
|
| 122 |
+
});
|
| 123 |
+
});
|
| 124 |
+
|
| 125 |
+
// Notification system
|
| 126 |
+
function showNotification(message, type = 'info') {
|
| 127 |
+
const notification = document.createElement('div');
|
| 128 |
+
notification.className = `fixed top-20 right-4 px-6 py-4 rounded-lg shadow-lg z-50 transform transition-all duration-300 translate-x-full`;
|
| 129 |
+
|
| 130 |
+
const colors = {
|
| 131 |
+
success: 'bg-green-500 text-white',
|
| 132 |
+
error: 'bg-red-500 text-white',
|
| 133 |
+
info: 'bg-blue-500 text-white',
|
| 134 |
+
warning: 'bg-yellow-500 text-white'
|
| 135 |
+
};
|
| 136 |
+
|
| 137 |
+
notification.classList.add(...colors[type].split(' '));
|
| 138 |
+
notification.textContent = message;
|
| 139 |
+
|
| 140 |
+
document.body.appendChild(notification);
|
| 141 |
+
|
| 142 |
+
setTimeout(() => {
|
| 143 |
+
notification.classList.remove('translate-x-full');
|
| 144 |
+
}, 100);
|
| 145 |
+
|
| 146 |
+
setTimeout(() => {
|
| 147 |
+
notification.classList.add('translate-x-full');
|
| 148 |
+
setTimeout(() => {
|
| 149 |
+
document.body.removeChild(notification);
|
| 150 |
+
}, 300);
|
| 151 |
+
}, 3000);
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
// Lazy loading for images
|
| 155 |
+
if ('IntersectionObserver' in window) {
|
| 156 |
+
const imageObserver = new IntersectionObserver((entries) => {
|
| 157 |
+
entries.forEach(entry => {
|
| 158 |
+
if (entry.isIntersecting) {
|
| 159 |
+
const img = entry.target;
|
| 160 |
+
img.src = img.dataset.src;
|
| 161 |
+
img.classList.remove('opacity-0');
|
| 162 |
+
imageObserver.unobserve(img);
|
| 163 |
+
}
|
| 164 |
+
});
|
| 165 |
+
});
|
| 166 |
+
|
| 167 |
+
document.querySelectorAll('img[data-src]').forEach(img => {
|
| 168 |
+
imageObserver.observe(img);
|
| 169 |
+
});
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
// Add parallax effect to hero section
|
| 173 |
+
window.addEventListener('scroll', () => {
|
| 174 |
+
const scrolled = window.pageYOffset;
|
| 175 |
+
const parallax = document.querySelector('#home');
|
| 176 |
+
if (parallax) {
|
| 177 |
+
parallax.style.transform = `translateY(${scrolled * 0.5}px)`;
|
| 178 |
+
}
|
| 179 |
+
});
|
| 180 |
+
|
| 181 |
+
// Add hover effect to cards
|
| 182 |
+
document.querySelectorAll('.card-hover').forEach(card => {
|
| 183 |
+
card.addEventListener('mouseenter', function() {
|
| 184 |
+
this.style.transform = 'translateY(-10px) scale(1.02)';
|
| 185 |
+
});
|
| 186 |
+
|
| 187 |
+
card.addEventListener('mouseleave', function() {
|
| 188 |
+
this.style.transform = 'translateY(0) scale(1)';
|
| 189 |
+
});
|
| 190 |
+
});
|
| 191 |
+
|
| 192 |
+
// Copy link functionality
|
| 193 |
+
function copyToClipboard(text) {
|
| 194 |
+
navigator.clipboard.writeText(text).then(() => {
|
| 195 |
+
showNotification('คัดลอกลิงก์เรียบร้อยแล้ว', 'success');
|
| 196 |
+
}).catch(() => {
|
| 197 |
+
showNotification('ไม่สามารถคัดลอกลิงก์ได้', 'error');
|
| 198 |
+
});
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
// Initialize Feather Icons
|
| 202 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 203 |
+
feather.replace();
|
| 204 |
+
});
|
| 205 |
+
|
| 206 |
+
// Add loading states for buttons
|
| 207 |
+
document.querySelectorAll('button').forEach(button => {
|
| 208 |
+
button.addEventListener('click', function() {
|
| 209 |
+
if (this.type !== 'submit') {
|
| 210 |
+
const originalContent = this.innerHTML;
|
| 211 |
+
this.innerHTML = '<i data-feather="loader" class="animate-spin"></i> กำลังดำเนินการ...';
|
| 212 |
+
this.disabled = true;
|
| 213 |
+
|
| 214 |
+
setTimeout(() => {
|
| 215 |
+
this.innerHTML = originalContent;
|
| 216 |
+
this.disabled = false;
|
| 217 |
+
feather.replace();
|
| 218 |
+
}, 2000);
|
| 219 |
+
}
|
| 220 |
+
});
|
| 221 |
+
});
|
| 222 |
+
|
| 223 |
+
// Dynamic year in footer
|
| 224 |
+
const yearElements = document.querySelectorAll('[data-year]');
|
| 225 |
+
yearElements.forEach(element => {
|
| 226 |
+
element.textContent = new Date().getFullYear();
|
| 227 |
+
});
|
| 228 |
+
|
| 229 |
+
// Add keyboard navigation support
|
| 230 |
+
document.addEventListener('keydown', (e) => {
|
| 231 |
+
if (e.key === 'Escape') {
|
| 232 |
+
// Close modals or menus
|
| 233 |
+
const openModal = document.querySelector('.modal:not(.hidden)');
|
| 234 |
+
if (openModal) {
|
| 235 |
+
openModal.classList.add('hidden');
|
| 236 |
+
}
|
| 237 |
+
}
|
| 238 |
+
});
|
| 239 |
+
|
| 240 |
+
// Performance monitoring
|
| 241 |
+
const pageLoadTime = performance.now();
|
| 242 |
+
console.log(`Page loaded in ${pageLoadTime}ms`);
|
| 243 |
+
|
| 244 |
+
// Service Worker for PWA
|
| 245 |
+
if ('serviceWorker' in navigator) {
|
| 246 |
+
window.addEventListener('load', () => {
|
| 247 |
+
navigator.serviceWorker.register('/sw.js')
|
| 248 |
+
.then(registration => {
|
| 249 |
+
console.log('SW registered: ', registration);
|
| 250 |
+
})
|
| 251 |
+
.catch(registrationError => {
|
| 252 |
+
console.log('SW registration failed: ', registrationError);
|
| 253 |
+
});
|
| 254 |
+
});
|
| 255 |
+
}
|
|
@@ -1,28 +1,181 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ar-thumb:hover {
|
| 16 |
+
background: #0d9488;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
+
/* Smooth Scroll */
|
| 20 |
+
html {
|
| 21 |
+
scroll-behavior: smooth;
|
| 22 |
}
|
| 23 |
+
|
| 24 |
+
/* Animation Classes */
|
| 25 |
+
@keyframes fadeInUp {
|
| 26 |
+
from {
|
| 27 |
+
opacity: 0;
|
| 28 |
+
transform: translateY(30px);
|
| 29 |
+
}
|
| 30 |
+
to {
|
| 31 |
+
opacity: 1;
|
| 32 |
+
transform: translateY(0);
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.fade-in-up {
|
| 37 |
+
animation: fadeInUp 0.6s ease-out;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Hover Effects */
|
| 41 |
+
.hover-lift {
|
| 42 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.hover-lift:hover {
|
| 46 |
+
transform: translateY(-5px);
|
| 47 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* Mobile Menu */
|
| 51 |
+
.mobile-menu {
|
| 52 |
+
display: none;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
@media (max-width: 768px) {
|
| 56 |
+
.mobile-menu {
|
| 57 |
+
display: block;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.desktop-menu {
|
| 61 |
+
display: none;
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
/* Gradient Text */
|
| 66 |
+
.gradient-text {
|
| 67 |
+
background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
|
| 68 |
+
-webkit-background-clip: text;
|
| 69 |
+
-webkit-text-fill-color: transparent;
|
| 70 |
+
background-clip: text;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
/* Card Hover Effects */
|
| 74 |
+
.card-hover {
|
| 75 |
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.card-hover:hover {
|
| 79 |
+
transform: translateY(-10px) scale(1.02);
|
| 80 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Button Animations */
|
| 84 |
+
.btn-pulse {
|
| 85 |
+
animation: pulse 2s infinite;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
@keyframes pulse {
|
| 89 |
+
0% {
|
| 90 |
+
box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
|
| 91 |
+
}
|
| 92 |
+
70% {
|
| 93 |
+
box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
|
| 94 |
+
}
|
| 95 |
+
100% {
|
| 96 |
+
box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
/* Loading Animation */
|
| 101 |
+
@keyframes spin {
|
| 102 |
+
to {
|
| 103 |
+
transform: rotate(360deg);
|
| 104 |
+
}
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.loading {
|
| 108 |
+
animation: spin 1s linear infinite;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
/* Section Spacing */
|
| 112 |
+
section {
|
| 113 |
+
position: relative;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
/* Background Patterns */
|
| 117 |
+
.pattern-bg {
|
| 118 |
+
background-image:
|
| 119 |
+
radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
|
| 120 |
+
background-size: 40px 40px;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
/* Feature Icons Animation */
|
| 124 |
+
.feature-icon {
|
| 125 |
+
transition: transform 0.3s ease;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.feature-icon:hover {
|
| 129 |
+
transform: rotate(10deg) scale(1.1);
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
/* Navigation Active State */
|
| 133 |
+
.nav-active {
|
| 134 |
+
color: #14b8a6 !important;
|
| 135 |
+
font-weight: 600;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
/* Sticky Navigation Enhancements */
|
| 139 |
+
.nav-shadow {
|
| 140 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
/* Text Selection */
|
| 144 |
+
::selection {
|
| 145 |
+
background: #14b8a6;
|
| 146 |
+
color: white;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
/* Focus States */
|
| 150 |
+
.focus-ring:focus {
|
| 151 |
+
outline: 2px solid #14b8a6;
|
| 152 |
+
outline-offset: 2px;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* Responsive Typography */
|
| 156 |
+
@media (max-width: 640px) {
|
| 157 |
+
h1 {
|
| 158 |
+
font-size: 2.5rem;
|
| 159 |
+
line-height: 1.2;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
h2 {
|
| 163 |
+
font-size: 2rem;
|
| 164 |
+
line-height: 1.3;
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
/* Dark Mode Support */
|
| 169 |
+
@media (prefers-color-scheme: dark) {
|
| 170 |
+
.dark-mode-support {
|
| 171 |
+
background-color: #1a1a1a;
|
| 172 |
+
color: #ffffff;
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
/* Print Styles */
|
| 177 |
+
@media print {
|
| 178 |
+
.no-print {
|
| 179 |
+
display: none !important;
|
| 180 |
+
}
|
| 181 |
+
}
|