{include file="header.tpl"}
<div class="row">
    <div class="col-md-12">
        <h1>Welcome to EasyStream</h1>
        <p>Your streaming platform is ready!</p>
        
        {if $error}
            <div class="alert alert-danger">{$error}</div>
        {/if}
        
        {if $success}
            <div class="alert alert-success">{$success}</div>
        {/if}
        
        <div class="row">
            <div class="col-md-6">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">Browse Content</h5>
                        <p class="card-text">Discover videos and streams.</p>
                        <a href="/browse" class="btn btn-primary">Browse</a>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="card">
                    <div class="card-body">
                        <h5 class="card-title">Administration</h5>
                        <p class="card-text">Manage your streaming platform.</p>
                        <a href="/admin" class="btn btn-secondary">Admin Panel</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="footer.tpl"}