Spaces:
Paused

File size: 3,743 Bytes
06f8e49
 
 
 
 
27ba2c8
06f8e49
 
 
cc0e74b
27ba2c8
f03c694
 
 
 
 
 
06f8e49
 
f03c694
06f8e49
27ba2c8
f03c694
27ba2c8
06f8e49
f03c694
 
06f8e49
 
27ba2c8
 
25ee4a8
27ba2c8
06f8e49
 
f03c694
 
 
 
06f8e49
 
 
27ba2c8
06f8e49
 
cc0e74b
f03c694
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25ee4a8
cc0e74b
06f8e49
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="my">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Support Me - Forever Study</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Pyidaungsu:wght@400;700&display=swap');
        body { font-family: 'Pyidaungsu', sans-serif; background: #0f172a; }
        .glass-card { 
            background: rgba(255, 255, 255, 0.05); 
            backdrop-filter: blur(20px); 
            border-radius: 2.5rem; 
            border: 1px solid rgba(255, 255, 255, 0.1); 
        }
    </style>
</head>
<body class="min-h-screen flex items-center justify-center p-6 text-white">

    <div class="glass-card max-w-sm w-full p-8 text-center shadow-2xl">
        <h1 class="text-2xl font-bold mb-1">၂၀၂၆ ခုနှစ်အတွက်</h1>
        <p class="text-blue-400 text-[10px] mb-8 font-semibold tracking-widest uppercase">Support Me Program</p>

        <div class="bg-white p-4 rounded-3xl mb-8 shadow-inner">
            <img src="kbzqr.jpg" alt="KBZPay QR" class="w-full h-auto rounded-xl">
        </div>

        <div class="bg-blue-500/10 border-l-4 border-blue-500 p-4 rounded-r-xl text-left mb-8">
            <p class="text-gray-200 text-xs italic leading-relaxed">
                "ရလာတဲ့ အလှူငွေတစ်ဝက်ကို လဲနေသူထူပေးရန်နှင့် အားနည်းသူများ ကူညီရာမှာ အသုံးပြုသွားမှာပါ"
            </p>
        </div>

        <div class="space-y-4">
            <button onclick="openFB()" class="w-full py-4 bg-white/10 hover:bg-white/20 text-white font-medium rounded-2xl transition-all border border-white/10 flex items-center justify-center gap-3">
                <i class="fab fa-facebook text-blue-500 text-xl"></i>
                <span>လောကပါလ Page သို့</span>
            </button>
        </div>

        <p class="mt-10 text-[9px] text-gray-600 tracking-widest uppercase font-sans">Developed by Forever Study</p>
    </div>

    <script>
        function openFB() {
            // Facebook App ရဲ့ Page ID သို့မဟုတ် Share URL ကို Android Intent နဲ့ လှမ်းခေါ်တဲ့နည်းပါ
            // com.facebook.katana (Facebook App) ကို တိုက်ရိုက် target လုပ်တာဖြစ်ပါတယ်
            
            const fbUrl = "https://www.facebook.com/share/17M74iWzvp/";
            const intentUrl = "intent://www.facebook.com/share/17M74iWzvp/#Intent;package=com.facebook.katana;scheme=https;end";

            // APK ထဲက WebView ဖြစ်တဲ့အတွက် Intent ကို အရင်စမ်းမယ်
            // အကယ်၍ Intent အလုပ်မလုပ်ရင် (App မရှိရင်) Browser နဲ့ ဖွင့်ပေးမယ့် fallback ပါ
            
            try {
                window.location.href = intentUrl;
                
                // Intent က အလုပ်မလုပ်ဘဲ error တက်သွားရင် ၂ စက္ကန့်အကြာမှာ Browser နဲ့ ဖွင့်ခိုင်းတာပါ
                setTimeout(function() {
                    window.location.href = fbUrl;
                }, 2000);
            } catch (err) {
                window.location.href = fbUrl;
            }
        }
    </script>
</body>
</html>