bigpappic commited on
Commit
13d0f88
·
verified ·
1 Parent(s): c16c4cc

I want you to build me a free website to go along with this app and then I want us to deploy it so that it's downloadable right now and able to use fully functional

Browse files
Files changed (4) hide show
  1. components/footer.js +22 -69
  2. index.html +36 -32
  3. login.html +49 -0
  4. style.css +121 -10
components/footer.js CHANGED
@@ -4,95 +4,48 @@ class CustomFooter extends HTMLElement {
4
  this.shadowRoot.innerHTML = `
5
  <style>
6
  footer {
7
- background: white;
8
- color: #4b5563;
9
- padding: 2rem 1rem;
10
  text-align: center;
11
- border-top: 1px solid #e5e7eb;
12
  }
13
  .footer-content {
14
  max-width: 1200px;
15
  margin: 0 auto;
16
- display: grid;
17
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
18
- gap: 2rem;
19
- text-align: left;
20
- }
21
- .footer-section h3 {
22
- font-weight: 600;
23
- margin-bottom: 1rem;
24
- color: #1f2937;
25
- }
26
- .footer-section ul {
27
- list-style: none;
28
- padding: 0;
29
- margin: 0;
30
- }
31
- .footer-section li {
32
- margin-bottom: 0.5rem;
33
- }
34
- .footer-section a {
35
- color: #4b5563;
36
- text-decoration: none;
37
- transition: color 0.2s;
38
  }
39
- .footer-section a:hover {
40
- color: #000;
41
- }
42
- .social-links {
43
  display: flex;
44
- gap: 1rem;
45
  justify-content: center;
46
- margin-top: 2rem;
 
 
47
  }
48
- .social-links a {
49
- color: #6b7280;
50
- transition: color 0.2s;
51
  }
52
- .social-links a:hover {
53
- color: #000;
54
  }
55
  .copyright {
56
- margin-top: 2rem;
57
- padding-top: 1rem;
58
- border-top: 1px solid #e5e7eb;
59
  font-size: 0.875rem;
60
- }
61
- @media (max-width: 768px) {
62
- .footer-content {
63
- grid-template-columns: 1fr;
64
- text-align: center;
65
- }
66
- .social-links {
67
- justify-content: center;
68
- }
69
  }
70
  </style>
71
  <footer>
72
  <div class="footer-content">
73
- <div class="footer-section">
74
- <h3>Simple Canvas</h3>
75
- <p>Easy-to-use interface for your creative work.</p>
 
 
76
  </div>
77
- <div class="footer-section">
78
- <h3>Quick Links</h3>
79
- <ul>
80
- <li><a href="/create.html">New Project</a></li>
81
- <li><a href="/projects.html">Recent Projects</a></li>
82
- <li><a href="/help.html">Help Center</a></li>
83
- </ul>
84
  </div>
85
  </div>
86
- <div class="social-links">
87
- <a href="#"><i data-feather="twitter"></i></a>
88
- <a href="#"><i data-feather="instagram"></i></a>
89
- <a href="#"><i data-feather="facebook"></i></a>
90
- <a href="#"><i data-feather="github"></i></a>
91
- <a href="#"><i data-feather="linkedin"></i></a>
92
- </div>
93
- <div class="copyright">
94
- &copy; ${new Date().getFullYear()} The Ultimate Blank Canvas App. All rights reserved.
95
- </div>
96
  </footer>
97
  `;
98
  }
 
4
  this.shadowRoot.innerHTML = `
5
  <style>
6
  footer {
7
+ background: var(--secondary);
8
+ color: white;
9
+ padding: 2rem;
10
  text-align: center;
11
+ margin-top: 3rem;
12
  }
13
  .footer-content {
14
  max-width: 1200px;
15
  margin: 0 auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
+ .footer-links {
 
 
 
18
  display: flex;
 
19
  justify-content: center;
20
+ gap: 2rem;
21
+ margin-bottom: 1rem;
22
+ flex-wrap: wrap;
23
  }
24
+ .footer-links a {
25
+ color: white;
26
+ text-decoration: none;
27
  }
28
+ .footer-links a:hover {
29
+ text-decoration: underline;
30
  }
31
  .copyright {
32
+ margin-top: 1rem;
 
 
33
  font-size: 0.875rem;
34
+ opacity: 0.8;
 
 
 
 
 
 
 
 
35
  }
36
  </style>
37
  <footer>
38
  <div class="footer-content">
39
+ <div class="footer-links">
40
+ <a href="/about">About</a>
41
+ <a href="/privacy">Privacy</a>
42
+ <a href="/terms">Terms</a>
43
+ <a href="/contact">Contact</a>
44
  </div>
45
+ <div class="copyright">
46
+ &copy; ${new Date().getFullYear()} Staff Portal. All rights reserved.
 
 
 
 
 
47
  </div>
48
  </div>
 
 
 
 
 
 
 
 
 
 
49
  </footer>
50
  `;
51
  }
index.html CHANGED
@@ -3,52 +3,56 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>The Ultimate Blank Canvas</title>
7
  <link rel="stylesheet" href="style.css">
8
- <script src="https://cdn.tailwindcss.com"></script>
9
- <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
  <script src="https://unpkg.com/feather-icons"></script>
11
- <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
12
  </head>
13
- <body class="min-h-screen flex flex-col">
14
  <custom-navbar></custom-navbar>
15
 
16
- <main class="flex-grow flex items-center justify-center" id="vanta-bg">
17
- <div class="text-center p-6 bg-white rounded-lg shadow-md max-w-md mx-4">
18
- <h1 class="text-3xl font-bold mb-4 text-gray-800">Simple Canvas</h1>
19
- <div class="flex flex-col gap-3">
20
- <a href="/create.html" class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition">
21
- New Project
22
- </a>
23
- <a href="/projects.html" class="px-4 py-2 bg-gray-100 text-gray-800 rounded hover:bg-gray-200 transition">
24
- My Projects
25
- </a>
26
- <a href="/help.html" class="px-4 py-2 text-blue-600 hover:underline">
27
- Quick Help
28
- </a>
29
  </div>
30
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  </main>
32
 
33
  <custom-footer></custom-footer>
34
 
35
  <script src="components/navbar.js"></script>
36
  <script src="components/footer.js"></script>
37
- <script src="script.js"></script>
38
  <script>
39
  feather.replace();
40
- VANTA.WAVES({
41
- el: "#vanta-bg",
42
- mouseControls: true,
43
- touchControls: true,
44
- gyroControls: false,
45
- minHeight: 200.00,
46
- minWidth: 200.00,
47
- scale: 1.00,
48
- scaleMobile: 1.00,
49
- color: 0x0
50
- })
51
  </script>
52
- <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
53
  </body>
54
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Staff Portal</title>
7
  <link rel="stylesheet" href="style.css">
 
 
8
  <script src="https://unpkg.com/feather-icons"></script>
 
9
  </head>
10
+ <body>
11
  <custom-navbar></custom-navbar>
12
 
13
+ <main class="container">
14
+ <section class="hero">
15
+ <div class="hero-content">
16
+ <h1>Staff Management Portal</h1>
17
+ <p>Streamline your team's workflow with our powerful staff management tools.</p>
18
+ <div class="cta-buttons">
19
+ <a href="#features" class="btn primary">Explore Features</a>
20
+ <a href="/login" class="btn secondary">Login</a>
21
+ </div>
 
 
 
 
22
  </div>
23
+ <div class="hero-image">
24
+ <img src="http://static.photos/workspace/1024x576/1" alt="Workspace Dashboard">
25
+ </div>
26
+ </section>
27
+
28
+ <section id="features" class="features">
29
+ <h2>Key Features</h2>
30
+ <div class="features-grid">
31
+ <div class="feature-card">
32
+ <i data-feather="check-square"></i>
33
+ <h3>Task Management</h3>
34
+ <p>Assign, track and complete tasks with ease.</p>
35
+ </div>
36
+ <div class="feature-card">
37
+ <i data-feather="users"></i>
38
+ <h3>Team Collaboration</h3>
39
+ <p>Connect with your team members seamlessly.</p>
40
+ </div>
41
+ <div class="feature-card">
42
+ <i data-feather="calendar"></i>
43
+ <h3>Calendar Sync</h3>
44
+ <p>Keep track of important events and deadlines.</p>
45
+ </div>
46
+ </div>
47
+ </section>
48
  </main>
49
 
50
  <custom-footer></custom-footer>
51
 
52
  <script src="components/navbar.js"></script>
53
  <script src="components/footer.js"></script>
 
54
  <script>
55
  feather.replace();
 
 
 
 
 
 
 
 
 
 
 
56
  </script>
 
57
  </body>
58
  </html>
login.html ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 - Staff Portal</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ </head>
10
+ <body>
11
+ <custom-navbar></custom-navbar>
12
+
13
+ <main class="container">
14
+ <div class="auth-container">
15
+ <div class="auth-card">
16
+ <h2>Login to Your Account</h2>
17
+ <form id="loginForm">
18
+ <div class="form-group">
19
+ <label for="email">Email</label>
20
+ <input type="email" id="email" required placeholder="Enter your email">
21
+ </div>
22
+ <div class="form-group">
23
+ <label for="password">Password</label>
24
+ <input type="password" id="password" required placeholder="Enter your password">
25
+ </div>
26
+ <button type="submit" class="btn primary full-width">Login</button>
27
+ </form>
28
+ <div class="auth-footer">
29
+ <p>Don't have an account? <a href="/register">Register</a></p>
30
+ <p><a href="/forgot-password">Forgot password?</a></p>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </main>
35
+
36
+ <custom-footer></custom-footer>
37
+
38
+ <script src="components/navbar.js"></script>
39
+ <script src="components/footer.js"></script>
40
+ <script>
41
+ feather.replace();
42
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
43
+ e.preventDefault();
44
+ // Handle login logic here
45
+ window.location.href = '/dashboard.html';
46
+ });
47
+ </script>
48
+ </body>
49
+ </html>
style.css CHANGED
@@ -1,17 +1,128 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
 
 
 
 
 
 
 
2
 
3
  body {
4
- font-family: 'Inter', sans-serif;
5
- background-color: #f8fafc;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
7
 
8
- /* Animation for the hero section */
9
- @keyframes float {
10
- 0% { transform: translateY(0px); }
11
- 50% { transform: translateY(-15px); }
12
- 100% { transform: translateY(0px); }
13
  }
14
 
15
- .floating {
16
- animation: float 6s ease-in-out infinite;
 
 
 
17
  }
 
1
+ :root {
2
+ --primary: #2b6cb0;
3
+ --primary-light: #ebf8ff;
4
+ --secondary: #1a365d;
5
+ --white: #ffffff;
6
+ --gray-light: #f7fafc;
7
+ --gray: #e2e8f0;
8
+ }
9
 
10
  body {
11
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12
+ margin: 0;
13
+ padding: 0;
14
+ line-height: 1.6;
15
+ color: #2d3748;
16
+ background-color: var(--gray-light);
17
+ }
18
+
19
+ .container {
20
+ max-width: 1200px;
21
+ margin: 0 auto;
22
+ padding: 2rem;
23
+ }
24
+
25
+ .hero {
26
+ display: flex;
27
+ flex-direction: column-reverse;
28
+ gap: 2rem;
29
+ margin: 2rem 0;
30
+ padding: 2rem 0;
31
+ }
32
+
33
+ .hero-content {
34
+ flex: 1;
35
+ }
36
+
37
+ .hero-image {
38
+ flex: 1;
39
+ border-radius: 0.5rem;
40
+ overflow: hidden;
41
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
42
+ }
43
+
44
+ .hero-image img {
45
+ width: 100%;
46
+ height: auto;
47
+ object-fit: cover;
48
+ }
49
+
50
+ h1 {
51
+ font-size: 2.5rem;
52
+ color: var(--secondary);
53
+ margin-bottom: 1rem;
54
+ }
55
+
56
+ h2 {
57
+ font-size: 2rem;
58
+ color: var(--secondary);
59
+ margin-bottom: 1.5rem;
60
+ text-align: center;
61
+ }
62
+
63
+ .btn {
64
+ display: inline-block;
65
+ padding: 0.75rem 1.5rem;
66
+ border-radius: 0.5rem;
67
+ font-weight: 600;
68
+ text-decoration: none;
69
+ transition: all 0.2s;
70
+ margin-right: 1rem;
71
+ }
72
+
73
+ .btn.primary {
74
+ background-color: var(--primary);
75
+ color: white;
76
+ }
77
+
78
+ .btn.primary:hover {
79
+ background-color: #2c5282;
80
+ }
81
+
82
+ .btn.secondary {
83
+ background-color: white;
84
+ color: var(--primary);
85
+ border: 1px solid var(--primary);
86
+ }
87
+
88
+ .btn.secondary:hover {
89
+ background-color: var(--primary-light);
90
+ }
91
+
92
+ .features {
93
+ margin: 4rem 0;
94
+ }
95
+
96
+ .features-grid {
97
+ display: grid;
98
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
99
+ gap: 2rem;
100
+ margin-top: 2rem;
101
+ }
102
+
103
+ .feature-card {
104
+ background: white;
105
+ padding: 2rem;
106
+ border-radius: 0.5rem;
107
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
108
+ transition: transform 0.2s;
109
+ text-align: center;
110
+ }
111
+
112
+ .feature-card:hover {
113
+ transform: translateY(-5px);
114
  }
115
 
116
+ .feature-card i {
117
+ width: 48px;
118
+ height: 48px;
119
+ color: var(--primary);
120
+ margin-bottom: 1rem;
121
  }
122
 
123
+ @media (min-width: 768px) {
124
+ .hero {
125
+ flex-direction: row;
126
+ align-items: center;
127
+ }
128
  }