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