Doubleupai commited on
Commit
2fa1071
·
verified ·
1 Parent(s): b78eb0d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +114 -19
index.html CHANGED
@@ -1,19 +1,114 @@
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>YouTube Clone</title>
7
+ <style>
8
+ body {
9
+ font-family: Arial, sans-serif;
10
+ background-color: #f9f9f9;
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+ .container {
15
+ width: 100%;
16
+ max-width: 1200px;
17
+ margin: 20px auto;
18
+ background-color: #fff;
19
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
20
+ padding: 20px;
21
+ border-radius: 8px;
22
+ }
23
+ .search-bar {
24
+ display: flex;
25
+ justify-content: center;
26
+ margin-bottom: 20px;
27
+ }
28
+ .search-bar input {
29
+ width: 70%;
30
+ padding: 10px;
31
+ border: 1px solid #ccc;
32
+ border-radius: 4px;
33
+ }
34
+ .search-bar button {
35
+ padding: 10px 20px;
36
+ background-color: #007BFF;
37
+ color: #fff;
38
+ border: none;
39
+ border-radius: 4px;
40
+ cursor: pointer;
41
+ margin-left: 10px;
42
+ }
43
+ .video-grid {
44
+ display: grid;
45
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
46
+ gap: 20px;
47
+ }
48
+ .video-card {
49
+ background-color: #fff;
50
+ border: 1px solid #ddd;
51
+ border-radius: 8px;
52
+ overflow: hidden;
53
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
54
+ }
55
+ .video-card img {
56
+ width: 100%;
57
+ height: auto;
58
+ }
59
+ .video-card .video-info {
60
+ padding: 10px;
61
+ }
62
+ .video-card .video-title {
63
+ font-size: 16px;
64
+ font-weight: bold;
65
+ margin-bottom: 5px;
66
+ }
67
+ .video-card .video-channel {
68
+ font-size: 14px;
69
+ color: #666;
70
+ }
71
+ .video-card .video-link {
72
+ display: block;
73
+ text-align: center;
74
+ padding: 10px;
75
+ background-color: #007BFF;
76
+ color: #fff;
77
+ text-decoration: none;
78
+ border-radius: 4px;
79
+ margin-top: 10px;
80
+ }
81
+ </style>
82
+ </head>
83
+ <body>
84
+
85
+ <div class="container">
86
+ <div class="search-bar">
87
+ <input type="text" placeholder="Search videos...">
88
+ <button>Search</button>
89
+ </div>
90
+ <div class="video-grid">
91
+ <!-- Example Video Card -->
92
+ <div class="video-card">
93
+ <img src="thumbnail1.jpg" alt="Video Thumbnail">
94
+ <div class="video-info">
95
+ <div class="video-title">Amazing AI-Generated Art</div>
96
+ <div class="video-channel">Artificial Creations</div>
97
+ <a href="https://www.youtube.com/watch?v=VIDEO_ID_1" class="video-link" target="_blank">Watch on YouTube</a>
98
+ </div>
99
+ </div>
100
+ <!-- Repeat the above structure for more videos -->
101
+ <div class="video-card">
102
+ <img src="thumbnail2.jpg" alt="Video Thumbnail">
103
+ <div class="video-info">
104
+ <div class="video-title">Future Cities by AI</div>
105
+ <div class="video-channel">Tech Visionaries</div>
106
+ <a href="https://www.youtube.com/watch?v=VIDEO_ID_2" class="video-link" target="_blank">Watch on YouTube</a>
107
+ </div>
108
+ </div>
109
+ <!-- Add more video cards as needed -->
110
+ </div>
111
+ </div>
112
+
113
+ </body>
114
+ </html>