- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
204 lines
6.3 KiB
Smarty
204 lines
6.3 KiB
Smarty
{if $not_found}
|
|
<div class="pointer left-float wdmax" id="cb-response">
|
|
<!-- NOTIFICATION CONTAINER -->
|
|
<article>
|
|
<h2 class="content-title"><i class="icon-warning"></i>Not found</h2>
|
|
<div class="line"></div>
|
|
<p class="">The requested page was not found!</p>
|
|
<br>
|
|
</article>
|
|
<!-- END NOTIFICATION CONTAINER -->
|
|
{else}
|
|
<script type="text/javascript">
|
|
var current_url = '{$main_url}/';
|
|
var menu_section = '{href_entry key="index"}';
|
|
</script>
|
|
|
|
<!-- ENHANCED HOMEPAGE START -->
|
|
<style>
|
|
.enhanced-homepage {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
}
|
|
|
|
.hero-section {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 60px 40px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.hero-section h1 {
|
|
font-size: 3rem;
|
|
margin: 0 0 16px 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-section p {
|
|
font-size: 1.2rem;
|
|
margin: 0 0 30px 0;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.hero-actions {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.btn-enhanced {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
margin: 0 10px;
|
|
background: #007bff;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.btn-enhanced:hover {
|
|
background: #0056b3;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255,255,255,0.3);
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-number {
|
|
display: block;
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 30px;
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.feature-card {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
text-align: center;
|
|
}
|
|
|
|
.feature-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.quick-actions {
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
text-align: center;
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-section h1 { font-size: 2rem; }
|
|
.hero-stats { gap: 20px; }
|
|
.stat-number { font-size: 1.5rem; }
|
|
.action-buttons { flex-direction: column; align-items: center; }
|
|
}
|
|
</style>
|
|
|
|
<div class="enhanced-homepage">
|
|
<div class="hero-section">
|
|
<h1>🎬 Welcome to EasyStream</h1>
|
|
<p>The ultimate platform for sharing and discovering amazing videos</p>
|
|
|
|
<div class="hero-actions">
|
|
{if $smarty.session.usr_id}
|
|
<a href="{$main_url}/upload" class="btn-enhanced">Upload Video</a>
|
|
<a href="{$main_url}/browse" class="btn-enhanced btn-secondary">Browse Videos</a>
|
|
{else}
|
|
<a href="{$main_url}/signup" class="btn-enhanced">Get Started</a>
|
|
<a href="{$main_url}/signin" class="btn-enhanced btn-secondary">Sign In</a>
|
|
{/if}
|
|
</div>
|
|
|
|
<div class="hero-stats">
|
|
<div class="stat-item">
|
|
<span class="stat-number">1,000+</span>
|
|
<span class="stat-label">Videos</span>
|
|
</div>
|
|
<div class="stat-item">
|
|
<span class="stat-number">50K+</span>
|
|
<span class="stat-label">Views</span>
|
|
</div>
|
|
<div class="stat-item">
|
|
<span class="stat-number">500+</span>
|
|
<span class="stat-label">Creators</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="features-grid">
|
|
<div class="feature-card">
|
|
<div class="feature-icon">📹</div>
|
|
<h3>Upload & Share</h3>
|
|
<p>Upload your videos in multiple formats and share them with the world instantly.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">🔍</div>
|
|
<h3>Discover Content</h3>
|
|
<p>Browse through thousands of videos across different categories and find what you love.</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">👥</div>
|
|
<h3>Build Community</h3>
|
|
<p>Connect with other creators, comment on videos, and build your audience.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="quick-actions">
|
|
<h2>Explore EasyStream</h2>
|
|
<div class="action-buttons">
|
|
<a href="{$main_url}/browse" class="btn-enhanced">Browse Videos</a>
|
|
<a href="{$main_url}/search" class="btn-enhanced btn-secondary">Search</a>
|
|
<a href="{$main_url}/upload" class="btn-enhanced btn-secondary">Upload</a>
|
|
<a href="{$main_url}/test" class="btn-enhanced btn-secondary">Feature Test</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- ENHANCED HOMEPAGE END -->
|
|
{/if} |