@page
@model IndexModel
@{
    ViewData["Title"] = "Home";
    var cookie = c3stream.UpdateCookie(Request, Response, "/");
}

<div style="text-align: center">
    <h1>Welcome to c3stream!</h1>
    Your bookmark link:<br/>
    <code onclick="copyToClipboard(this)">https://@Request.Host.Value?bookmark=@cookie</code><br/><br/>
    <div class="btn-group">
        @foreach (var conf in c3stream.Conferences) {
            <a role="button" class="btn btn-primary" href="/Conference?c=@conf.Acronym">@conf.Acronym</a>
        }
    </div>
</div>