prabhuzz00 commited on
Commit
5e16790
·
verified ·
1 Parent(s): 02da618

I want a fullscreen wallpaper background and the login form to be in right side of the page

Browse files
Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +90 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Wallflick Login Splash
3
- emoji: 🌍
4
- colorFrom: yellow
5
- colorTo: gray
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: WallFlick Login Splash
3
+ colorFrom: pink
4
+ colorTo: pink
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,91 @@
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>WallFlick - Login</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ }
15
+ .bg-blur {
16
+ backdrop-filter: blur(8px);
17
+ background-color: rgba(255, 255, 255, 0.1);
18
+ }
19
+ </style>
20
+ </head>
21
+ <body class="h-screen overflow-hidden">
22
+ <div class="absolute inset-0 bg-gray-900">
23
+ <div class="absolute inset-0 bg-gradient-to-r from-black to-transparent opacity-90"></div>
24
+ <img src="http://static.photos/technology/1200x630/42" alt="Background" class="w-full h-full object-cover">
25
+ </div>
26
+
27
+ <div class="relative h-full flex items-center justify-end px-12">
28
+ <div class="w-full max-w-md bg-white bg-blur rounded-xl shadow-xl p-10 backdrop-blur-lg">
29
+ <div class="flex justify-center mb-8">
30
+ <div class="bg-indigo-600 p-3 rounded-full">
31
+ <i data-feather="lock" class="text-white w-8 h-8"></i>
32
+ </div>
33
+ </div>
34
+
35
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-2">Welcome Back</h2>
36
+ <p class="text-gray-500 text-center mb-8">Login to access your account</p>
37
+
38
+ <form>
39
+ <div class="mb-5">
40
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-2">Email Address</label>
41
+ <div class="relative">
42
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
43
+ <i data-feather="mail" class="text-gray-400"></i>
44
+ </div>
45
+ <input type="email" id="email" class="pl-10 w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none transition duration-200" placeholder="you@example.com">
46
+ </div>
47
+ </div>
48
+
49
+ <div class="mb-5">
50
+ <label for="password" class="block text-sm font-medium text-gray-700 mb-2">Password</label>
51
+ <div class="relative">
52
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
53
+ <i data-feather="lock" class="text-gray-400"></i>
54
+ </div>
55
+ <input type="password" id="password" class="pl-10 w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none transition duration-200" placeholder="••••••••">
56
+ </div>
57
+ </div>
58
+
59
+ <div class="flex items-center justify-between mb-6">
60
+ <div class="flex items-center">
61
+ <input type="checkbox" id="remember" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
62
+ <label for="remember" class="ml-2 block text-sm text-gray-700">Remember me</label>
63
+ </div>
64
+ <a href="#" class="text-sm text-indigo-600 hover:text-indigo-500">Forgot password?</a>
65
+ </div>
66
+
67
+ <button type="submit" class="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-semibold py-3 px-4 rounded-lg shadow-md transition duration-200 flex items-center justify-center">
68
+ <span>Sign In</span>
69
+ <i data-feather="arrow-right" class="ml-2 w-5 h-5"></i>
70
+ </button>
71
+
72
+ <div class="mt-6 text-center">
73
+ <p class="text-sm text-gray-500">Don't have an account? <a href="#" class="text-indigo-600 font-medium hover:text-indigo-500">Sign up</a></p>
74
+ </div>
75
+ </form>
76
+ </div>
77
+ </div>
78
+
79
+ <script>
80
+ feather.replace();
81
+
82
+ // Randomize background image every 30 seconds
83
+ setInterval(() => {
84
+ const categories = ['technology', 'minimal', 'abstract', 'gradient', 'monochrome'];
85
+ const randomCategory = categories[Math.floor(Math.random() * categories.length)];
86
+ const randomSeed = Math.floor(Math.random() * 1000);
87
+ document.querySelector('img').src = `http://static.photos/${randomCategory}/1200x630/${randomSeed}`;
88
+ }, 30000);
89
+ </script>
90
+ </body>
91
  </html>