KINGHAJI commited on
Commit
290dcc6
·
verified ·
1 Parent(s): e7e1711

- Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +135 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Test 3
3
- emoji: 🌖
4
- colorFrom: purple
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: test-3
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,135 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Login - OpenAI</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #5433FF 0%, #20BDFF 50%, #A5FECB 100%);
12
+ }
13
+ .input-focus:focus {
14
+ box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
15
+ }
16
+ .social-btn:hover {
17
+ transform: translateY(-2px);
18
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
19
+ }
20
+ .fade-in {
21
+ animation: fadeIn 0.5s ease-in-out;
22
+ }
23
+ @keyframes fadeIn {
24
+ from { opacity: 0; transform: translateY(10px); }
25
+ to { opacity: 1; transform: translateY(0); }
26
+ }
27
+ </style>
28
+ </head>
29
+ <body class="bg-gray-50 min-h-screen flex items-center justify-center p-4">
30
+ <div class="max-w-md w-full space-y-8 fade-in">
31
+ <!-- Logo Section -->
32
+ <div class="text-center">
33
+ <div class="gradient-bg w-16 h-16 rounded-xl flex items-center justify-center mx-auto mb-4">
34
+ <i class="fas fa-robot text-white text-2xl"></i>
35
+ </div>
36
+ <h2 class="text-3xl font-extrabold text-gray-900">Welcome back</h2>
37
+ <p class="mt-2 text-sm text-gray-600">Sign in to access your account</p>
38
+ </div>
39
+
40
+ <!-- Login Form -->
41
+ <div class="bg-white py-8 px-6 shadow rounded-lg sm:px-10">
42
+ <form class="mb-0 space-y-6" id="loginForm">
43
+ <div>
44
+ <label for="email" class="block text-sm font-medium text-gray-700">Email address</label>
45
+ <div class="mt-1 relative rounded-md shadow-sm">
46
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
47
+ <i class="fas fa-envelope text-gray-400"></i>
48
+ </div>
49
+ <input id="email" name="email" type="email" autocomplete="email" required
50
+ class="input-focus py-2 px-10 block w-full border border-gray-300 rounded-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500"
51
+ placeholder="[email protected]">
52
+ </div>
53
+ </div>
54
+
55
+ <div>
56
+ <button type="submit"
57
+ class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors duration-200">
58
+ Continue
59
+ </button>
60
+ </div>
61
+ </form>
62
+
63
+ <div class="relative mt-6">
64
+ <div class="absolute inset-0 flex items-center">
65
+ <div class="w-full border-t border-gray-300"></div>
66
+ </div>
67
+ <div class="relative flex justify-center text-sm">
68
+ <span class="px-2 bg-white text-gray-500">Or continue with</span>
69
+ </div>
70
+ </div>
71
+
72
+ <div class="mt-6 grid grid-cols-2 gap-3">
73
+ <a href="#" class="social-btn w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-all duration-200">
74
+ <img src="https://upload.wikimedia.org/wikipedia/commons/5/53/Google_%22G%22_Logo.svg" alt="Google logo" class="h-5 w-5 mr-2">
75
+ Google
76
+ </a>
77
+ <a href="#" class="social-btn w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-all duration-200">
78
+ <i class="fab fa-microsoft text-blue-600 h-5 w-5 mr-2"></i>
79
+ Microsoft
80
+ </a>
81
+ <a href="#" class="social-btn w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-all duration-200">
82
+ <i class="fab fa-apple text-gray-900 h-5 w-5 mr-2"></i>
83
+ Apple
84
+ </a>
85
+ <a href="#" class="social-btn w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 transition-all duration-200">
86
+ <i class="fas fa-mobile-alt text-purple-600 h-5 w-5 mr-2"></i>
87
+ Phone
88
+ </a>
89
+ </div>
90
+
91
+ <div class="mt-6 text-center">
92
+ <p class="text-sm text-gray-600">
93
+ Don't have an account?
94
+ <a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Sign up</a>
95
+ </p>
96
+ </div>
97
+ </div>
98
+
99
+ <!-- Footer Links -->
100
+ <div class="flex justify-center space-x-4 text-xs text-gray-500">
101
+ <a href="#" class="hover:text-gray-700">Terms of Use</a>
102
+ <span>•</span>
103
+ <a href="#" class="hover:text-gray-700">Privacy Policy</a>
104
+ </div>
105
+ </div>
106
+
107
+ <script>
108
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
109
+ e.preventDefault();
110
+ const email = document.getElementById('email').value;
111
+
112
+ // Simple validation
113
+ if (!email.includes('@')) {
114
+ alert('Please enter a valid email address');
115
+ return;
116
+ }
117
+
118
+ // Here you would typically send the data to your backend
119
+ console.log('Login attempt with email:', email);
120
+
121
+ // Show loading state
122
+ const submitBtn = this.querySelector('button[type="submit"]');
123
+ submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Processing...';
124
+ submitBtn.disabled = true;
125
+
126
+ // Simulate API call
127
+ setTimeout(() => {
128
+ submitBtn.innerHTML = 'Continue';
129
+ submitBtn.disabled = false;
130
+ alert('Login functionality would be implemented here');
131
+ }, 1500);
132
+ });
133
+ </script>
134
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=KINGHAJI/test-3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
135
+ </html>