File size: 4,440 Bytes
a608aba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75be608
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cloud Job Runner</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
        }
        .code-block {
            font-family: 'Courier New', monospace;
            background: rgba(0,0,0,0.7);
            border-radius: 8px;
            padding: 1rem;
            color: #f8f8f2;
        }
    </style>
</head>
<body class="min-h-screen gradient-bg text-white">
    <div class="container mx-auto px-4 py-16">
        <div class="max-w-3xl mx-auto text-center" data-aos="fade-down">
            <div class="inline-block p-3 bg-white bg-opacity-10 rounded-full mb-6">
                <i data-feather="cloud" class="w-10 h-10"></i>
            </div>
            <h1 class="text-4xl md:text-5xl font-bold mb-6">Cloud Job Runner</h1>
            <p class="text-xl opacity-90 mb-8">Execute Python scripts in the cloud with ease</p>
            
            <div class="bg-white bg-opacity-10 backdrop-blur-md rounded-xl p-6 mb-8" data-aos="fade-up">
                <div class="code-block text-left mb-6">
                    <span class="text-green-400">$</span> hf jobs run python:3.12 python -c 'print("Hello from the cloud!")'
                </div>
                <div class="code-block text-left">
                    <span class="text-blue-400">>></span> Hello from the cloud!
                </div>
            </div>

            <div class="flex flex-col sm:flex-row gap-4 justify-center">
                <button class="px-6 py-3 bg-white text-purple-700 rounded-lg font-medium hover:bg-opacity-90 transition-all flex items-center gap-2">
                    <i data-feather="play"></i> Run Example
                </button>
                <button class="px-6 py-3 bg-transparent border border-white border-opacity-30 rounded-lg font-medium hover:bg-white hover:bg-opacity-10 transition-all flex items-center gap-2">
                    <i data-feather="code"></i> View Docs
                </button>
            </div>
        </div>

        <div class="mt-20 grid md:grid-cols-3 gap-8 max-w-6xl mx-auto">
            <div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="100">
                <div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
                    <i data-feather="zap" class="text-purple-300"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Fast Execution</h3>
                <p class="opacity-80">Run your Python scripts instantly in our cloud environment with minimal setup.</p>
            </div>
            
            <div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="200">
                <div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
                    <i data-feather="cpu" class="text-blue-300"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Latest Python</h3>
                <p class="opacity-80">Supports Python 3.12 and other versions with all standard libraries available.</p>
            </div>
            
            <div class="bg-white bg-opacity-5 p-6 rounded-xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="300">
                <div class="w-12 h-12 bg-white bg-opacity-10 rounded-lg flex items-center justify-center mb-4">
                    <i data-feather="lock" class="text-green-300"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Secure</h3>
                <p class="opacity-80">Each job runs in an isolated container with no persistent storage between runs.</p>
            </div>
        </div>
    </div>

    <script>
        AOS.init({
            duration: 800,
            easing: 'ease-out-quad',
            once: true
        });
        feather.replace();
    </script>
</body>
</html>