dev-Rachitgarg commited on
Commit
20d3c9a
·
verified ·
1 Parent(s): 21acf71

add the nav bar and the pricing plans and header and footer add these

Browse files
Files changed (6) hide show
  1. about.html +12 -4
  2. components/footer.js +119 -0
  3. components/navbar.js +84 -0
  4. contact.html +11 -2
  5. index.html +20 -5
  6. pricing.html +12 -4
about.html CHANGED
@@ -11,8 +11,17 @@
11
  </head>
12
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
13
  <custom-navbar></custom-navbar>
14
-
15
- <main class="flex-grow container mx-auto px-4 py-12">
 
 
 
 
 
 
 
 
 
16
  <div class="max-w-4xl mx-auto">
17
  <h1 class="text-4xl font-bold mb-8 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
18
  About HandSpeak AI
@@ -58,8 +67,7 @@
58
  </div>
59
  </div>
60
  </main>
61
-
62
  <custom-footer></custom-footer>
63
- <script src="script.js"></script>
64
  </body>
65
  </html>
 
11
  </head>
12
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
13
  <custom-navbar></custom-navbar>
14
+ <header class="bg-gradient-to-r from-gray-900 to-gray-800 py-16">
15
+ <div class="container mx-auto px-4 text-center">
16
+ <h1 class="text-4xl md:text-5xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
17
+ About HandSpeak AI
18
+ </h1>
19
+ <p class="text-xl text-gray-300 max-w-2xl mx-auto">
20
+ Our mission to bridge communication gaps through technology
21
+ </p>
22
+ </div>
23
+ </header>
24
+ <main class="flex-grow container mx-auto px-4 py-12">
25
  <div class="max-w-4xl mx-auto">
26
  <h1 class="text-4xl font-bold mb-8 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
27
  About HandSpeak AI
 
67
  </div>
68
  </div>
69
  </main>
 
70
  <custom-footer></custom-footer>
71
+ <script src="script.js"></script>
72
  </body>
73
  </html>
components/footer.js ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: #0f172a;
8
+ color: #94a3b8;
9
+ padding: 3rem 0;
10
+ margin-top: auto;
11
+ }
12
+ .footer-container {
13
+ max-width: 1200px;
14
+ margin: 0 auto;
15
+ padding: 0 2rem;
16
+ display: grid;
17
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
18
+ gap: 2rem;
19
+ }
20
+ .footer-logo {
21
+ font-size: 1.5rem;
22
+ font-weight: 700;
23
+ margin-bottom: 1rem;
24
+ background: linear-gradient(to right, #2dd4bf, #3b82f6);
25
+ -webkit-background-clip: text;
26
+ background-clip: text;
27
+ color: transparent;
28
+ }
29
+ .footer-links h3 {
30
+ color: #e2e8f0;
31
+ font-size: 1.1rem;
32
+ margin-bottom: 1rem;
33
+ }
34
+ .footer-links ul {
35
+ list-style: none;
36
+ padding: 0;
37
+ }
38
+ .footer-links li {
39
+ margin-bottom: 0.5rem;
40
+ }
41
+ .footer-links a {
42
+ color: #94a3b8;
43
+ text-decoration: none;
44
+ transition: color 0.2s;
45
+ }
46
+ .footer-links a:hover {
47
+ color: #2dd4bf;
48
+ }
49
+ .social-links {
50
+ display: flex;
51
+ gap: 1rem;
52
+ margin-top: 1rem;
53
+ }
54
+ .social-links a {
55
+ color: #94a3b8;
56
+ transition: color 0.2s;
57
+ }
58
+ .social-links a:hover {
59
+ color: #2dd4bf;
60
+ }
61
+ .copyright {
62
+ text-align: center;
63
+ margin-top: 3rem;
64
+ padding-top: 1.5rem;
65
+ border-top: 1px solid #1e293b;
66
+ }
67
+ @media (max-width: 768px) {
68
+ .footer-container {
69
+ grid-template-columns: 1fr;
70
+ }
71
+ }
72
+ </style>
73
+ <footer>
74
+ <div class="footer-container">
75
+ <div class="footer-about">
76
+ <div class="footer-logo">HandSpeak AI</div>
77
+ <p>Breaking communication barriers with AI-powered sign language recognition.</p>
78
+ <div class="social-links">
79
+ <a href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg></a>
80
+ <a href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg></a>
81
+ <a href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"></path></svg></a>
82
+ </div>
83
+ </div>
84
+ <div class="footer-links">
85
+ <h3>Product</h3>
86
+ <ul>
87
+ <li><a href="/">Features</a></li>
88
+ <li><a href="/pricing.html">Pricing</a></li>
89
+ <li><a href="#">API</a></li>
90
+ <li><a href="#">Documentation</a></li>
91
+ </ul>
92
+ </div>
93
+ <div class="footer-links">
94
+ <h3>Company</h3>
95
+ <ul>
96
+ <li><a href="/about.html">About</a></li>
97
+ <li><a href="#">Blog</a></li>
98
+ <li><a href="#">Careers</a></li>
99
+ <li><a href="#">Press</a></li>
100
+ </ul>
101
+ </div>
102
+ <div class="footer-links">
103
+ <h3>Support</h3>
104
+ <ul>
105
+ <li><a href="/contact.html">Contact</a></li>
106
+ <li><a href="#">Help Center</a></li>
107
+ <li><a href="#">Privacy Policy</a></li>
108
+ <li><a href="#">Terms of Service</a></li>
109
+ </ul>
110
+ </div>
111
+ </div>
112
+ <div class="copyright">
113
+ &copy; ${new Date().getFullYear()} HandSpeak AI. All rights reserved.
114
+ </div>
115
+ </footer>
116
+ `;
117
+ }
118
+ }
119
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: rgba(15, 23, 42, 0.8);
8
+ backdrop-filter: blur(10px);
9
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
10
+ }
11
+ .nav-container {
12
+ max-width: 1200px;
13
+ margin: 0 auto;
14
+ padding: 1rem 2rem;
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+ }
19
+ .logo {
20
+ font-size: 1.5rem;
21
+ font-weight: 700;
22
+ background: linear-gradient(to right, #2dd4bf, #3b82f6);
23
+ -webkit-background-clip: text;
24
+ background-clip: text;
25
+ color: transparent;
26
+ }
27
+ .nav-links {
28
+ display: flex;
29
+ gap: 1.5rem;
30
+ }
31
+ .nav-links a {
32
+ color: #e2e8f0;
33
+ text-decoration: none;
34
+ font-weight: 500;
35
+ transition: color 0.2s;
36
+ padding: 0.5rem 0;
37
+ position: relative;
38
+ }
39
+ .nav-links a:hover {
40
+ color: #2dd4bf;
41
+ }
42
+ .nav-links a.active::after {
43
+ content: '';
44
+ position: absolute;
45
+ bottom: 0;
46
+ left: 0;
47
+ width: 100%;
48
+ height: 2px;
49
+ background: linear-gradient(to right, #2dd4bf, #3b82f6);
50
+ }
51
+ .mobile-menu-btn {
52
+ display: none;
53
+ background: none;
54
+ border: none;
55
+ color: white;
56
+ cursor: pointer;
57
+ }
58
+ @media (max-width: 768px) {
59
+ .nav-links {
60
+ display: none;
61
+ }
62
+ .mobile-menu-btn {
63
+ display: block;
64
+ }
65
+ }
66
+ </style>
67
+ <nav>
68
+ <div class="nav-container">
69
+ <a href="/" class="logo">HandSpeak AI</a>
70
+ <div class="nav-links">
71
+ <a href="/" class="active">Home</a>
72
+ <a href="/about.html">About</a>
73
+ <a href="/pricing.html">Pricing</a>
74
+ <a href="/contact.html">Contact</a>
75
+ </div>
76
+ <button class="mobile-menu-btn">
77
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
78
+ </button>
79
+ </div>
80
+ </nav>
81
+ `;
82
+ }
83
+ }
84
+ customElements.define('custom-navbar', CustomNavbar);
contact.html CHANGED
@@ -12,8 +12,17 @@
12
  </head>
13
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
14
  <custom-navbar></custom-navbar>
15
-
16
- <main class="flex-grow container mx-auto px-4 py-12">
 
 
 
 
 
 
 
 
 
17
  <div class="max-w-4xl mx-auto">
18
  <h1 class="text-4xl font-bold mb-8 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
19
  Contact Us
 
12
  </head>
13
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
14
  <custom-navbar></custom-navbar>
15
+ <header class="bg-gradient-to-r from-gray-900 to-gray-800 py-16">
16
+ <div class="container mx-auto px-4 text-center">
17
+ <h1 class="text-4xl md:text-5xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
18
+ Contact Us
19
+ </h1>
20
+ <p class="text-xl text-gray-300 max-w-2xl mx-auto">
21
+ We'd love to hear from you
22
+ </p>
23
+ </div>
24
+ </header>
25
+ <main class="flex-grow container mx-auto px-4 py-12">
26
  <div class="max-w-4xl mx-auto">
27
  <h1 class="text-4xl font-bold mb-8 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
28
  Contact Us
index.html CHANGED
@@ -13,8 +13,25 @@
13
  </head>
14
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
15
  <custom-navbar></custom-navbar>
16
-
17
- <main class="flex-grow container mx-auto px-4 py-8">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  <div class="max-w-6xl mx-auto">
19
  <div class="text-center mb-12">
20
  <h1 class="text-4xl md:text-5xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
@@ -104,10 +121,8 @@
104
  </div>
105
  </div>
106
  </main>
107
-
108
  <custom-footer></custom-footer>
109
-
110
- <!-- Scripts -->
111
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands.js"></script>
112
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js"></script>
113
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js"></script>
 
13
  </head>
14
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
15
  <custom-navbar></custom-navbar>
16
+ <header class="bg-gradient-to-r from-gray-900 to-gray-800 py-20">
17
+ <div class="container mx-auto px-4 text-center">
18
+ <h1 class="text-5xl md:text-6xl font-bold mb-6 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
19
+ HandSpeak AI Translator
20
+ </h1>
21
+ <p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto mb-8">
22
+ Real-time sign language recognition powered by AI and computer vision
23
+ </p>
24
+ <div class="flex flex-wrap justify-center gap-4">
25
+ <a href="/pricing.html" class="bg-teal-600 hover:bg-teal-500 text-white px-8 py-3 rounded-lg font-medium transition text-lg">
26
+ View Pricing
27
+ </a>
28
+ <a href="/about.html" class="bg-gray-700 hover:bg-gray-600 text-white px-8 py-3 rounded-lg font-medium transition text-lg">
29
+ Learn More
30
+ </a>
31
+ </div>
32
+ </div>
33
+ </header>
34
+ <main class="flex-grow container mx-auto px-4 py-8">
35
  <div class="max-w-6xl mx-auto">
36
  <div class="text-center mb-12">
37
  <h1 class="text-4xl md:text-5xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
 
121
  </div>
122
  </div>
123
  </main>
 
124
  <custom-footer></custom-footer>
125
+ <!-- Scripts -->
 
126
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands.js"></script>
127
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js"></script>
128
  <script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js"></script>
pricing.html CHANGED
@@ -11,8 +11,17 @@
11
  </head>
12
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
13
  <custom-navbar></custom-navbar>
14
-
15
- <main class="flex-grow container mx-auto px-4 py-12">
 
 
 
 
 
 
 
 
 
16
  <div class="max-w-6xl mx-auto">
17
  <h1 class="text-4xl font-bold mb-4 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
18
  Simple, Transparent Pricing
@@ -130,8 +139,7 @@
130
  </div>
131
  </div>
132
  </main>
133
-
134
  <custom-footer></custom-footer>
135
- <script src="script.js"></script>
136
  </body>
137
  </html>
 
11
  </head>
12
  <body class="bg-gray-900 text-gray-100 min-h-screen flex flex-col">
13
  <custom-navbar></custom-navbar>
14
+ <header class="bg-gradient-to-r from-gray-900 to-gray-800 py-16">
15
+ <div class="container mx-auto px-4 text-center">
16
+ <h1 class="text-4xl md:text-5xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
17
+ Pricing Plans
18
+ </h1>
19
+ <p class="text-xl text-gray-300 max-w-2xl mx-auto">
20
+ Choose the plan that fits your needs
21
+ </p>
22
+ </div>
23
+ </header>
24
+ <main class="flex-grow container mx-auto px-4 py-12">
25
  <div class="max-w-6xl mx-auto">
26
  <h1 class="text-4xl font-bold mb-4 text-center text-transparent bg-clip-text bg-gradient-to-r from-teal-400 to-blue-500">
27
  Simple, Transparent Pricing
 
139
  </div>
140
  </div>
141
  </main>
 
142
  <custom-footer></custom-footer>
143
+ <script src="script.js"></script>
144
  </body>
145
  </html>