Charternet commited on
Commit
b96bcda
·
verified ·
1 Parent(s): 6b16c6a

Pages not working make it more professional and link number everywhere for call 888 806 2779 aalso add pictures too

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +68 -0
  3. components/navbar.js +85 -0
  4. index.html +112 -19
  5. script.js +22 -0
  6. style.css +24 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Callconnect Pro
3
- emoji: 🐢
4
- colorFrom: green
5
- colorTo: red
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: CallConnect Pro 📞
3
+ colorFrom: blue
4
+ colorTo: yellow
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://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ .footer-link {
7
+ transition: color 0.2s ease;
8
+ }
9
+ .footer-link:hover {
10
+ @apply text-blue-400;
11
+ }
12
+ </style>
13
+ <footer class="bg-gray-800 text-white py-12">
14
+ <div class="container mx-auto px-4">
15
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
16
+ <div>
17
+ <h3 class="text-xl font-bold mb-4">CallConnect Pro</h3>
18
+ <p class="text-gray-400">Professional communication solutions for businesses and individuals.</p>
19
+ </div>
20
+ <div>
21
+ <h4 class="font-semibold mb-4">Quick Links</h4>
22
+ <ul class="space-y-2">
23
+ <li><a href="/" class="footer-link text-gray-400">Home</a></li>
24
+ <li><a href="#services" class="footer-link text-gray-400">Services</a></li>
25
+ <li><a href="#testimonials" class="footer-link text-gray-400">Testimonials</a></li>
26
+ </ul>
27
+ </div>
28
+ <div>
29
+ <h4 class="font-semibold mb-4">Contact</h4>
30
+ <ul class="space-y-2">
31
+ <li class="flex items-center gap-2 text-gray-400">
32
+ <i data-feather="phone"></i>
33
+ <a href="tel:8888062779" class="footer-link">888-806-2779</a>
34
+ </li>
35
+ <li class="flex items-center gap-2 text-gray-400">
36
+ <i data-feather="mail"></i>
37
+ <a href="mailto:info@callconnectpro.com" class="footer-link">info@callconnectpro.com</a>
38
+ </li>
39
+ </ul>
40
+ </div>
41
+ <div>
42
+ <h4 class="font-semibold mb-4">Connect</h4>
43
+ <div class="flex space-x-4">
44
+ <a href="#" class="text-gray-400 hover:text-blue-400">
45
+ <i data-feather="facebook"></i>
46
+ </a>
47
+ <a href="#" class="text-gray-400 hover:text-blue-400">
48
+ <i data-feather="twitter"></i>
49
+ </a>
50
+ <a href="#" class="text-gray-400 hover:text-blue-400">
51
+ <i data-feather="linkedin"></i>
52
+ </a>
53
+ <a href="#" class="text-gray-400 hover:text-blue-400">
54
+ <i data-feather="instagram"></i>
55
+ </a>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
60
+ <p>&copy; ${new Date().getFullYear()} CallConnect Pro. All rights reserved.</p>
61
+ </div>
62
+ </div>
63
+ </footer>
64
+ `;
65
+ }
66
+ }
67
+
68
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ .navbar {
7
+ transition: all 0.3s ease;
8
+ }
9
+ .navbar.scrolled {
10
+ @apply shadow-md;
11
+ }
12
+ .mobile-menu {
13
+ max-height: 0;
14
+ overflow: hidden;
15
+ transition: max-height 0.3s ease-out;
16
+ }
17
+ .mobile-menu.open {
18
+ max-height: 500px;
19
+ }
20
+ </style>
21
+ <nav class="navbar bg-white fixed w-full z-10">
22
+ <div class="container mx-auto px-4">
23
+ <div class="flex justify-between items-center py-4">
24
+ <a href="/" class="flex items-center">
25
+ <span class="text-2xl font-bold text-blue-600">CallConnect Pro</span>
26
+ </a>
27
+
28
+ <div class="hidden md:flex items-center space-x-8">
29
+ <a href="/" class="text-gray-700 hover:text-blue-600 font-medium">Home</a>
30
+ <a href="#services" class="text-gray-700 hover:text-blue-600 font-medium">Services</a>
31
+ <a href="#testimonials" class="text-gray-700 hover:text-blue-600 font-medium">Testimonials</a>
32
+ <a href="tel:8888062779" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg font-medium transition duration-300 flex items-center gap-2">
33
+ <i data-feather="phone"></i>
34
+ 888-806-2779
35
+ </a>
36
+ </div>
37
+
38
+ <button class="md:hidden focus:outline-none mobile-menu-button">
39
+ <i data-feather="menu" class="w-6 h-6 text-gray-700"></i>
40
+ </button>
41
+ </div>
42
+
43
+ <div class="mobile-menu md:hidden">
44
+ <div class="flex flex-col space-y-4 px-4 py-6 border-t">
45
+ <a href="/" class="text-gray-700 hover:text-blue-600 font-medium">Home</a>
46
+ <a href="#services" class="text-gray-700 hover:text-blue-600 font-medium">Services</a>
47
+ <a href="#testimonials" class="text-gray-700 hover:text-blue-600 font-medium">Testimonials</a>
48
+ <a href="tel:8888062779" class="text-blue-600 font-medium flex items-center gap-2">
49
+ <i data-feather="phone"></i>
50
+ 888-806-2779
51
+ </a>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </nav>
56
+ `;
57
+
58
+ // Initialize mobile menu toggle
59
+ const mobileMenuButton = this.shadowRoot.querySelector('.mobile-menu-button');
60
+ const mobileMenu = this.shadowRoot.querySelector('.mobile-menu');
61
+
62
+ mobileMenuButton.addEventListener('click', () => {
63
+ mobileMenu.classList.toggle('open');
64
+ const icon = mobileMenuButton.querySelector('i');
65
+ if (mobileMenu.classList.contains('open')) {
66
+ icon.setAttribute('data-feather', 'x');
67
+ } else {
68
+ icon.setAttribute('data-feather', 'menu');
69
+ }
70
+ feather.replace();
71
+ });
72
+
73
+ // Add scroll effect
74
+ window.addEventListener('scroll', () => {
75
+ const navbar = this.shadowRoot.querySelector('.navbar');
76
+ if (window.scrollY > 10) {
77
+ navbar.classList.add('scrolled');
78
+ } else {
79
+ navbar.classList.remove('scrolled');
80
+ }
81
+ });
82
+ }
83
+ }
84
+
85
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,112 @@
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>CallConnect Pro - Professional Contact Solutions</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="components/navbar.js"></script>
12
+ <script src="components/footer.js"></script>
13
+ </head>
14
+ <body class="bg-gray-50">
15
+ <custom-navbar></custom-navbar>
16
+
17
+ <main class="container mx-auto px-4 py-12">
18
+ <!-- Hero Section -->
19
+ <section class="flex flex-col md:flex-row items-center justify-between gap-12 mb-20">
20
+ <div class="md:w-1/2">
21
+ <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">Professional Communication Solutions</h1>
22
+ <p class="text-lg text-gray-600 mb-8">Connect with us anytime for premium service and support. Our team is ready to assist you 24/7.</p>
23
+ <div class="flex items-center gap-4">
24
+ <a href="tel:8888062779" class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-3 rounded-lg font-medium text-lg transition duration-300 flex items-center gap-2">
25
+ <i data-feather="phone"></i>
26
+ Call Now: 888-806-2779
27
+ </a>
28
+ </div>
29
+ </div>
30
+ <div class="md:w-1/2">
31
+ <img src="http://static.photos/technology/1200x630/42" alt="Professional communication" class="rounded-xl shadow-xl w-full">
32
+ </div>
33
+ </section>
34
+
35
+ <!-- Services Section -->
36
+ <section class="mb-20">
37
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Our Services</h2>
38
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
39
+ <div class="bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300">
40
+ <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
41
+ <i data-feather="phone-call" class="text-blue-600 w-8 h-8"></i>
42
+ </div>
43
+ <h3 class="text-xl font-semibold mb-3">24/7 Support</h3>
44
+ <p class="text-gray-600">Round-the-clock assistance whenever you need it.</p>
45
+ <a href="tel:8888062779" class="text-blue-600 font-medium mt-4 inline-block">Call 888-806-2779</a>
46
+ </div>
47
+ <div class="bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300">
48
+ <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
49
+ <i data-feather="users" class="text-blue-600 w-8 h-8"></i>
50
+ </div>
51
+ <h3 class="text-xl font-semibold mb-3">Expert Team</h3>
52
+ <p class="text-gray-600">Highly trained professionals ready to help.</p>
53
+ <a href="tel:8888062779" class="text-blue-600 font-medium mt-4 inline-block">Call 888-806-2779</a>
54
+ </div>
55
+ <div class="bg-white p-8 rounded-xl shadow-md hover:shadow-lg transition duration-300">
56
+ <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
57
+ <i data-feather="shield" class="text-blue-600 w-8 h-8"></i>
58
+ </div>
59
+ <h3 class="text-xl font-semibold mb-3">Secure Solutions</h3>
60
+ <p class="text-gray-600">Your privacy and security are our top priority.</p>
61
+ <a href="tel:8888062779" class="text-blue-600 font-medium mt-4 inline-block">Call 888-806-2779</a>
62
+ </div>
63
+ </div>
64
+ </section>
65
+
66
+ <!-- CTA Section -->
67
+ <section class="bg-blue-600 rounded-xl p-12 text-center mb-20">
68
+ <h2 class="text-3xl font-bold text-white mb-6">Ready to Connect?</h2>
69
+ <p class="text-blue-100 text-lg mb-8 max-w-2xl mx-auto">Don't hesitate to reach out. Our team is standing by to provide you with exceptional service.</p>
70
+ <a href="tel:8888062779" class="bg-white text-blue-600 hover:bg-gray-100 px-8 py-4 rounded-lg font-medium text-lg transition duration-300 inline-block">
71
+ <i data-feather="phone" class="inline mr-2"></i>
72
+ Call Now: 888-806-2779
73
+ </a>
74
+ </section>
75
+
76
+ <!-- Testimonials -->
77
+ <section class="mb-20">
78
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">What Our Clients Say</h2>
79
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
80
+ <div class="bg-white p-8 rounded-xl shadow-md">
81
+ <div class="flex items-center mb-4">
82
+ <img src="http://static.photos/people/200x200/101" alt="Client" class="w-12 h-12 rounded-full mr-4">
83
+ <div>
84
+ <h4 class="font-semibold">Sarah Johnson</h4>
85
+ <p class="text-gray-500 text-sm">CEO, TechSolutions</p>
86
+ </div>
87
+ </div>
88
+ <p class="text-gray-600">"The response time is incredible! Whenever we call 888-806-2779, we get immediate assistance from knowledgeable professionals."</p>
89
+ </div>
90
+ <div class="bg-white p-8 rounded-xl shadow-md">
91
+ <div class="flex items-center mb-4">
92
+ <img src="http://static.photos/people/200x200/102" alt="Client" class="w-12 h-12 rounded-full mr-4">
93
+ <div>
94
+ <h4 class="font-semibold">Michael Chen</h4>
95
+ <p class="text-gray-500 text-sm">Director, Global Corp</p>
96
+ </div>
97
+ </div>
98
+ <p class="text-gray-600">"We've been using their services for years. Just dial 888-806-2779 and you'll understand why we keep coming back."</p>
99
+ </div>
100
+ </div>
101
+ </section>
102
+ </main>
103
+
104
+ <custom-footer></custom-footer>
105
+
106
+ <script>
107
+ feather.replace();
108
+ </script>
109
+ <script src="script.js"></script>
110
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
111
+ </body>
112
+ </html>
script.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Main JavaScript file for functionality
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ // Smooth scroll for anchor links
4
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
5
+ anchor.addEventListener('click', function (e) {
6
+ e.preventDefault();
7
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
8
+ behavior: 'smooth'
9
+ });
10
+ });
11
+ });
12
+
13
+ // Track phone number clicks
14
+ document.querySelectorAll('a[href^="tel:"]').forEach(link => {
15
+ link.addEventListener('click', function() {
16
+ // Here you would typically add analytics tracking
17
+ console.log('Phone number clicked: ', this.getAttribute('href'));
18
+ });
19
+ });
20
+
21
+ // Mobile menu toggle would be handled by the navbar component
22
+ });
style.css CHANGED
@@ -1,28 +1,34 @@
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
28
  }
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles that complement Tailwind */
2
  body {
3
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
4
+ line-height: 1.6;
5
  }
6
 
7
+ /* Smooth scrolling */
8
+ html {
9
+ scroll-behavior: smooth;
10
  }
11
 
12
+ /* Custom button animations */
13
+ .btn-hover-animation {
14
+ transition: all 0.3s ease;
15
+ transform: translateY(0);
 
16
  }
17
 
18
+ .btn-hover-animation:hover {
19
+ transform: translateY(-2px);
 
 
 
 
20
  }
21
 
22
+ /* Custom focus styles */
23
+ input:focus, button:focus, a:focus {
24
+ outline: none;
25
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
26
  }
27
+
28
+ /* Responsive typography */
29
+ @media (min-width: 1024px) {
30
+ .text-hero {
31
+ font-size: 3.5rem;
32
+ line-height: 1.2;
33
+ }
34
+ }