File size: 5,477 Bytes
e30f492
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RPA Cosmos Helpline 🚀</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="components/navbar.js"></script>
    <script src="components/sidebar.js"></script>
    <script src="components/footer.js"></script>
</head>
<body class="bg-gray-900 text-white min-h-screen">
    <custom-navbar></custom-navbar>
    
    <div class="container mx-auto px-4 py-8 flex flex-col lg:flex-row gap-8">
        <!-- Main Content -->
        <main class="flex-1">
            <div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
                <h1 class="text-3xl font-bold mb-6 text-blue-400 flex items-center gap-2">
                    <i data-feather="help-circle"></i> RPA Query Portal
                </h1>
                
                <div class="mb-8">
                    <div class="flex overflow-x-auto pb-2 space-x-1">
                        <button class="rpa-tool-btn active" data-tool="uipath">
                            <i data-feather="box"></i> UiPath
                        </button>
                        <button class="rpa-tool-btn" data-tool="automation-anywhere">
                            <i data-feather="cpu"></i> Automation Anywhere
                        </button>
                        <button class="rpa-tool-btn" data-tool="blue-prism">
                            <i data-feather="database"></i> Blue Prism
                        </button>
                        <button class="rpa-tool-btn" data-tool="power-automate">
                            <i data-feather="zap"></i> Power Automate
                        </button>
                        <button class="rpa-tool-btn" data-tool="other">
                            <i data-feather="code"></i> Other Tools
                        </button>
                    </div>
                </div>
                
                <div class="space-y-4">
                    <div>
                        <label class="block text-gray-300 mb-2">Your Question</label>
                        <textarea 
                            class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" 
                            rows="5" 
                            placeholder="Describe your RPA query in detail..."></textarea>
                    </div>
                    
                    <div>
                        <label class="block text-gray-300 mb-2">Your Email</label>
                        <input 
                            type="email" 
                            class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" 
                            placeholder="email@example.com">
                    </div>
                    
                    <button class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-200 flex items-center gap-2">
                        <i data-feather="send"></i> Submit Query
                    </button>
                </div>
            </div>
            
            <div class="mt-8 bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
                <h2 class="text-2xl font-bold mb-4 text-blue-400">Recent Solutions</h2>
                <div class="space-y-4">
                    <div class="bg-gray-700 p-4 rounded-lg">
                        <h3 class="font-bold text-lg">How to handle exceptions in UiPath?</h3>
                        <p class="text-gray-300 mt-1">Use Try-Catch activities in UiPath Studio to handle exceptions gracefully...</p>
                        <div class="flex items-center mt-3 text-sm text-gray-400">
                            <span class="bg-blue-900 px-2 py-1 rounded mr-2">UiPath</span>
                            <span>Posted 2 days ago</span>
                        </div>
                    </div>
                    <div class="bg-gray-700 p-4 rounded-lg">
                        <h3 class="font-bold text-lg">Automation Anywhere credential vault setup</h3>
                        <p class="text-gray-300 mt-1">Navigate to Control Room > Credentials to set up secure credential storage...</p>
                        <div class="flex items-center mt-3 text-sm text-gray-400">
                            <span class="bg-purple-900 px-2 py-1 rounded mr-2">Automation Anywhere</span>
                            <span>Posted 1 week ago</span>
                        </div>
                    </div>
                </div>
            </div>
        </main>
        
        <!-- Sidebar -->
        <custom-sidebar></custom-sidebar>
    </div>
    
    <custom-footer></custom-footer>
    
    <script>
        feather.replace();
        
        // Tab switching functionality
        document.querySelectorAll('.rpa-tool-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                document.querySelectorAll('.rpa-tool-btn').forEach(b => b.classList.remove('active'));
                this.classList.add('active');
            });
        });
    </script>
</body>
</html>