Prince-7878 commited on
Commit
2e3fba6
·
verified ·
1 Parent(s): f6c934a

https://live.yalla-shoot24.live/

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +21 -0
  3. components/navbar.js +68 -0
  4. index.html +131 -19
  5. script.js +11 -0
  6. style.css +33 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Streamsphere Live
3
- emoji: 🐢
4
- colorFrom: blue
5
- colorTo: indigo
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: StreamSphere Live ⚡️
3
+ colorFrom: purple
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,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background-color: #111827;
8
+ border-top: 1px solid #1f2937;
9
+ }
10
+
11
+ .footer-links a {
12
+ transition: color 0.2s ease;
13
+ }
14
+
15
+ .footer-links a:hover {
16
+ color: #3B82F6;
17
+ }
18
+ </style>
19
+ <footer class="py-8 mt-12">
20
+ <div class="container mx-auto px-4">
21
+ <div class="grid grid-cols-1 md:grid-c{"ok":false,"message":"terminated"}
components/navbar.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background-color: rgba(17, 24, 39, 0.9);
8
+ backdrop-filter: blur(8px);
9
+ -webkit-backdrop-filter: blur(8px);
10
+ }
11
+
12
+ @media (max-width: 768px) {
13
+ .mobile-menu {
14
+ display: none;
15
+ }
16
+
17
+ .mobile-menu.active {
18
+ display: flex;
19
+ }
20
+ }
21
+ </style>
22
+ <nav class="border-b border-gray-800 sticky top-0 z-50">
23
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
24
+ <div class="flex items-center">
25
+ <a href="/" class="flex items-center">
26
+ <i data-feather="play-circle" class="text-primary-500 mr-2"></i>
27
+ <span class="text-xl font-bold">StreamSphere</span>
28
+ </a>
29
+ </div>
30
+
31
+ <div class="hidden md:flex items-center space-x-6">
32
+ <a href="/" class="text-white hover:text-primary-500 transition">Home</a>
33
+ <a href="/live" class="text-white hover:text-primary-500 transition">Live</a>
34
+ <a href="/schedule" class="text-white hover:text-primary-500 transition">Schedule</a>
35
+ <a href="/sports" class="text-white hover:text-primary-500 transition">Sports</a>
36
+ </div>
37
+
38
+ <div class="flex items-center space-x-4">
39
+ <button class="md:hidden focus:outline-none" id="mobile-menu-button">
40
+ <i data-feather="menu"></i>
41
+ </button>
42
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-full text-sm font-medium transition">
43
+ <i data-feather="user" class="mr-1"></i> Sign In
44
+ </button>
45
+ </div>
46
+ </div>
47
+
48
+ <!-- Mobile Menu -->
49
+ <div class="mobile-menu flex-col items-center py-4 px-4 border-t border-gray-800 md:hidden">
50
+ <a href="/" class="w-full text-center py-2 hover:text-primary-500 transition">Home</a>
51
+ <a href="/live" class="w-full text-center py-2 hover:text-primary-500 transition">Live</a>
52
+ <a href="/schedule" class="w-full text-center py-2 hover:text-primary-500 transition">Schedule</a>
53
+ <a href="/sports" class="w-full text-center py-2 hover:text-primary-500 transition">Sports</a>
54
+ </div>
55
+ </nav>
56
+ `;
57
+
58
+ // Add mobile menu toggle functionality
59
+ const mobileMenuButton = this.shadowRoot.getElementById('mobile-menu-button');
60
+ const mobileMenu = this.shadowRoot.querySelector('.mobile-menu');
61
+
62
+ mobileMenuButton.addEventListener('click', () => {
63
+ mobileMenu.classList.toggle('active');
64
+ });
65
+ }
66
+ }
67
+
68
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,131 @@
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>StreamSphere Live | Sports Streaming</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>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: {
17
+ 500: '#3B82F6',
18
+ },
19
+ secondary: {
20
+ 500: '#10B981',
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ </head>
28
+ <body class="bg-gray-900 text-white">
29
+ <custom-navbar></custom-navbar>
30
+
31
+ <main class="container mx-auto px-4 py-8">
32
+ <section class="mb-12">
33
+ <h1 class="text-3xl md:text-4xl font-bold mb-6">Live Sports Streaming</h1>
34
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
35
+ <!-- Live Stream Cards -->
36
+ <div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow">
37
+ <div class="relative pt-[56.25%]">
38
+ <iframe class="absolute top-0 left-0 w-full h-full" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
39
+ </div>
40
+ <div class="p-4">
41
+ <div class="flex items-center mb-2">
42
+ <span class="inline-block w-3 h-3 rounded-full bg-red-500 mr-2"></span>
43
+ <span class="text-sm font-medium">LIVE</span>
44
+ </div>
45
+ <h3 class="text-xl font-semibold mb-2">Premier League: Arsenal vs Chelsea</h3>
46
+ <p class="text-gray-400 text-sm">English Premier League • 25,432 viewers</p>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow">
51
+ <div class="relative pt-[56.25%]">
52
+ <iframe class="absolute top-0 left-0 w-full h-full" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
53
+ </div>
54
+ <div class="p-4">
55
+ <div class="flex items-center mb-2">
56
+ <span class="inline-block w-3 h-3 rounded-full bg-red-500 mr-2"></span>
57
+ <span class="text-sm font-medium">LIVE</span>
58
+ </div>
59
+ <h3 class="text-xl font-semibold mb-2">NBA: Lakers vs Warriors</h3>
60
+ <p class="text-gray-400 text-sm">NBA Basketball • 18,765 viewers</p>
61
+ </div>
62
+ </div>
63
+
64
+ <div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow">
65
+ <div class="relative pt-[56.25%]">
66
+ <iframe class="absolute top-0 left-0 w-full h-full" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
67
+ </div>
68
+ <div class="p-4">
69
+ <div class="flex items-center mb-2">
70
+ <span class="inline-block w-3 h-3 rounded-full bg-red-500 mr-2"></span>
71
+ <span class="text-sm font-medium">LIVE</span>
72
+ </div>
73
+ <h3 class="text-xl font-semibold mb-2">Tennis: Australian Open Final</h3>
74
+ <p class="text-gray-400 text-sm">Grand Slam Tennis • 12,543 viewers</p>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </section>
79
+
80
+ <section class="mb-12">
81
+ <h2 class="text-2xl font-bold mb-6">Upcoming Events</h2>
82
+ <div class="overflow-x-auto">
83
+ <table class="w-full bg-gray-800 rounded-lg overflow-hidden">
84
+ <thead class="bg-gray-700">
85
+ <tr>
86
+ <th class="py-3 px-4 text-left">Sport</th>
87
+ <th class="py-3 px-4 text-left">Event</th>
88
+ <th class="py-3 px-4 text-left">Time</th>
89
+ <th class="py-3 px-4 text-left"></th>
90
+ </tr>
91
+ </thead>
92
+ <tbody>
93
+ <tr class="border-b border-gray-700 hover:bg-gray-750">
94
+ <td class="py-3 px-4">Football</td>
95
+ <td class="py-3 px-4">Barcelona vs Real Madrid</td>
96
+ <td class="py-3 px-4">Tomorrow, 20:00 GMT</td>
97
+ <td class="py-3 px-4">
98
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-1 rounded text-sm font-medium transition">Notify Me</button>
99
+ </td>
100
+ </tr>
101
+ <tr class="border-b border-gray-700 hover:bg-gray-750">
102
+ <td class="py-3 px-4">Basketball</td>
103
+ <td class="py-3 px-4">NBA All-Star Game</td>
104
+ <td class="py-3 px-4">Feb 18, 01:00 GMT</td>
105
+ <td class="py-3 px-4">
106
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-1 rounded text-sm font-medium transition">Notify Me</button>
107
+ </td>
108
+ </tr>
109
+ <tr class="hover:bg-gray-750">
110
+ <td class="py-3 px-4">Tennis</td>
111
+ <td class="py-3 px-4">Wimbledon Championships</td>
112
+ <td class="py-3 px-4">Jul 1, 11:00 GMT</td>
113
+ <td class="py-3 px-4">
114
+ <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-1 rounded text-sm font-medium transition">Notify Me</button>
115
+ </td>
116
+ </tr>
117
+ </tbody>
118
+ </table>
119
+ </div>
120
+ </section>
121
+ </main>
122
+
123
+ <custom-footer></custom-footer>
124
+
125
+ <script src="components/navbar.js"></script>
126
+ <script src="components/footer.js"></script>
127
+ <script src="script.js"></script>
128
+ <script>feather.replace();</script>
129
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
130
+ </body>
131
+ </html>
script.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ // Initialize any global functionality here
3
+ console.log('StreamSphere Live initialized');
4
+
5
+ // Example: Add click event for notification buttons
6
+ document.querySelectorAll('[data-notify]').forEach(button => {
7
+ button.addEventListener('click', () => {
8
+ alert('You will be notified when this event starts!');
9
+ });
10
+ });
11
+ });
style.css CHANGED
@@ -1,28 +1,43 @@
 
 
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
+ @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
+ min-height: 100vh;
6
+ background-color: #111827;
7
+ }
8
+
9
+ /* Custom scrollbar */
10
+ ::-webkit-scrollbar {
11
+ width: 8px;
12
+ height: 8px;
13
  }
14
 
15
+ ::-webkit-scrollbar-track {
16
+ background: #1f2937;
 
17
  }
18
 
19
+ ::-webkit-scrollbar-thumb {
20
+ background: #374151;
21
+ border-radius: 4px;
 
 
22
  }
23
 
24
+ ::-webkit-scrollbar-thumb:hover {
25
+ background: #4b5563;
 
 
 
 
26
  }
27
 
28
+ /* Animation for live indicator */
29
+ @keyframes pulse {
30
+ 0% {
31
+ opacity: 1;
32
+ }
33
+ 50% {
34
+ opacity: 0.5;
35
+ }
36
+ 100% {
37
+ opacity: 1;
38
+ }
39
  }
40
+
41
+ .live-pulse {
42
+ animation: pulse 1.5s infinite;
43
+ }