Hamster.1.01.001
This commit is contained in:
parent
c941d22f59
commit
12a2ae7116
139
assets/css/custom.css
Normal file
139
assets/css/custom.css
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #121212;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-player {
|
||||||
|
background-color: #000000;
|
||||||
|
width: 100%;
|
||||||
|
height: 0;
|
||||||
|
padding-bottom: 56.25%; /* 16:9 aspect ratio */
|
||||||
|
position: relative;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-player-placeholder {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-title {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-stats {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
color: #AAAAAA;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-stats span {
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-buttons .btn {
|
||||||
|
margin-right: 8px;
|
||||||
|
background-color: #282828;
|
||||||
|
border: none;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-buttons .btn:hover {
|
||||||
|
background-color: #383838;
|
||||||
|
}
|
||||||
|
|
||||||
|
.channel-info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 16px 0;
|
||||||
|
border-top: 1px solid #383838;
|
||||||
|
border-bottom: 1px solid #383838;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.channel-info img {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.channel-name {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.channel-subs {
|
||||||
|
color: #AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subscribe-btn {
|
||||||
|
background-color: #E50914;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description-box {
|
||||||
|
background-color: #1E1E1E;
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description-content {
|
||||||
|
display: none;
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comments-section h3 {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment img {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-body {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-author {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-text {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-actions {
|
||||||
|
color: #AAAAAA;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
14
assets/js/main.js
Normal file
14
assets/js/main.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
const descriptionBox = document.querySelector('.description-box');
|
||||||
|
const descriptionContent = document.querySelector('.description-content');
|
||||||
|
|
||||||
|
if (descriptionBox) {
|
||||||
|
descriptionBox.addEventListener('click', () => {
|
||||||
|
if (descriptionContent.style.display === 'none' || descriptionContent.style.display === '') {
|
||||||
|
descriptionContent.style.display = 'block';
|
||||||
|
} else {
|
||||||
|
descriptionContent.style.display = 'none';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
18
index.php
18
index.php
@ -132,19 +132,17 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main class="container mt-5">
|
||||||
<div class="card">
|
<div class="card text-white bg-dark text-center">
|
||||||
<h1>Analyzing your requirements and generating your website…</h1>
|
<div class="card-body">
|
||||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
<h1 class="card-title">Welcome to MyTube</h1>
|
||||||
<span class="sr-only">Loading…</span>
|
<p class="card-text">A new place to share and watch videos. Check out our first featured video!</p>
|
||||||
|
<a href="video.php" class="btn btn-danger">Watch Video</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
|
|
||||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
|
||||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer class="text-center text-muted fixed-bottom py-3">
|
||||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
Page generated at: <?= htmlspecialchars($now) ?> (UTC)
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
97
video.php
Normal file
97
video.php
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Video Title | MyTube</title>
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="video-container">
|
||||||
|
<!-- Video Player -->
|
||||||
|
<div class="video-player">
|
||||||
|
<div class="video-player-placeholder">
|
||||||
|
<i class="material-icons" style="font-size: 64px;">play_circle_filled</i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Video Info -->
|
||||||
|
<h1 class="video-title">Exploring the Alps: A Scenic Journey</h1>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="video-stats">
|
||||||
|
<span>1,234,567 views</span>
|
||||||
|
<span>•</span>
|
||||||
|
<span>2 weeks ago</span>
|
||||||
|
</div>
|
||||||
|
<div class="action-buttons">
|
||||||
|
<button class="btn"><i class="material-icons">thumb_up</i> 15K</button>
|
||||||
|
<button class="btn"><i class="material-icons">thumb_down</i> 432</button>
|
||||||
|
<button class="btn"><i class="material-icons">share</i> Share</button>
|
||||||
|
<button class="btn"><i class="material-icons">playlist_add</i> Save</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Channel Info -->
|
||||||
|
<div class="channel-info">
|
||||||
|
<img src="https://i.pravatar.cc/48?u=channel1" alt="Channel Avatar">
|
||||||
|
<div class="flex-grow-1">
|
||||||
|
<div class="channel-name">NatureWalks</div>
|
||||||
|
<div class="channel-subs">2.3M subscribers</div>
|
||||||
|
</div>
|
||||||
|
<button class="btn subscribe-btn">Subscribe</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Description -->
|
||||||
|
<div class="description-box">
|
||||||
|
<strong>Description</strong>
|
||||||
|
<div class="description-content">
|
||||||
|
<p>Join us on an incredible adventure through the stunning landscapes of the Swiss Alps. From breathtaking peaks to serene lakes, this is a journey you won't forget.</p>
|
||||||
|
<p>Filmed with a Drone Pro 4K.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Comments -->
|
||||||
|
<div class="comments-section">
|
||||||
|
<h3>3 Comments</h3>
|
||||||
|
<div class="comment">
|
||||||
|
<img src="https://i.pravatar.cc/40?u=user1" alt="User Avatar">
|
||||||
|
<div class="comment-body">
|
||||||
|
<div class="comment-author">Alex Doe</div>
|
||||||
|
<div class="comment-text">Wow, amazing footage! What drone did you use?</div>
|
||||||
|
<div class="comment-actions">
|
||||||
|
<span>Like</span> • <span>Reply</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="comment">
|
||||||
|
<img src="https://i.pravatar.cc/40?u=user2" alt="User Avatar">
|
||||||
|
<div class="comment-body">
|
||||||
|
<div class="comment-author">Jane Smith</div>
|
||||||
|
<div class="comment-text">Makes me want to book a flight right now!</div>
|
||||||
|
<div class="comment-actions">
|
||||||
|
<span>Like</span> • <span>Reply</span>
|
||||||
|
</div>
|
||||||
|
<!-- Nested Comment -->
|
||||||
|
<div class="comment mt-3">
|
||||||
|
<img src="https://i.pravatar.cc/40?u=channel1" alt="User Avatar">
|
||||||
|
<div class="comment-body">
|
||||||
|
<div class="comment-author">NatureWalks</div>
|
||||||
|
<div class="comment-text">Glad you liked it! It was filmed with a Drone Pro 4K.</div>
|
||||||
|
<div class="comment-actions">
|
||||||
|
<span>Like</span> • <span>Reply</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user