File size: 4,834 Bytes
29fc5c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ResumeRanger AI - Smart Resume Classifier</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .file-upload {
            border: 2px dashed #cbd5e0;
            transition: all 0.3s ease;
        }
        .file-upload:hover {
            border-color: #667eea;
        }
    </style>
</head>
<body class="font-sans antialiased">
    <div class="min-h-screen gradient-bg text-white">
        <div class="container mx-auto px-4 py-16">
            <div class="max-w-4xl mx-auto text-center">
                <div class="flex justify-center mb-6">
                    <div class="bg-white bg-opacity-20 p-3 rounded-full">
                        <i class="fas fa-file-alt text-3xl"></i>
                    </div>
                </div>
                <h1 class="text-4xl md:text-5xl font-bold mb-4">ResumeRanger AI</h1>
                <p class="text-xl opacity-90 mb-8">Upload your resume and discover your perfect career match</p>
                
                <div class="bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg rounded-xl p-8 mb-8">
                    <div class="file-upload rounded-lg p-12 text-center cursor-pointer">
                        <i class="fas fa-cloud-upload-alt text-4xl mb-4 text-blue-200"></i>
                        <p class="mb-2 font-medium">Drag & drop your resume here</p>
                        <p class="text-sm opacity-80 mb-4">or</p>
                        <label for="resume-upload" class="bg-white text-indigo-700 px-6 py-2 rounded-full font-medium cursor-pointer hover:bg-gray-100 transition">
                            Browse Files
                        </label>
                        <input id="resume-upload" type="file" class="hidden" accept=".pdf,.txt,.doc,.docx">
                    </div>
                </div>

                <div class="grid md:grid-cols-2 gap-6 mb-8">
                    <div class="bg-white bg-opacity-10 p-6 rounded-xl">
                        <h3 class="text-xl font-semibold mb-3">How It Works</h3>
                        <ul class="space-y-2 text-left">
                            <li class="flex items-start">
                                <i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
                                <span>Upload your resume in any format</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
                                <span>AI extracts your key skills automatically</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check-circle mt-1 mr-2 text-green-300"></i>
                                <span>Get matched with ideal career paths</span>
                            </li>
                        </ul>
                    </div>

                    <div class="bg-white bg-opacity-10 p-6 rounded-xl">
                        <h3 class="text-xl font-semibold mb-3">Supported Careers</h3>
                        <div class="grid grid-cols-2 gap-2">
                            <span class="bg-indigo-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Web Developer</span>
                            <span class="bg-purple-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Data Analyst</span>
                            <span class="bg-pink-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">AI/ML Engineer</span>
                            <span class="bg-blue-700 bg-opacity-50 px-3 py-1 rounded-full text-sm">Core Engineer</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        document.getElementById('resume-upload').addEventListener('change', function(e) {
            if (e.target.files.length > 0) {
                const fileName = e.target.files[0].name;
                alert(`File "${fileName}" uploaded successfully! Processing your resume...`);
                // Here you would typically send the file to your backend for processing
                // For now we'll simulate a response after 2 seconds
                setTimeout(() => {
                    window.location.href = "results.html";
                }, 2000);
            }
        });
    </script>
</body>
</html>