@page
@model IndexModel
@{
    ViewData["Title"] = "Home";
    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=@Request.Cookies["bookmark"]</code><br/><br/>
    <div class="btn-group">
        <a type="button" class="btn btn-primary" href="/Conference?c=36c3&bookmark=@Request.Cookies["bookmark"]">36c3</a>
        <a type="button" class="btn btn-primary" href="/Conference?c=35c3&bookmark=@Request.Cookies["bookmark"]">35c3</a>
        <a type="button" class="btn btn-primary" href="/Conference?c=34c3&bookmark=@Request.Cookies["bookmark"]">34c3</a>
        <a type="button" class="btn btn-primary" href="/Conference?c=33c3&bookmark=@Request.Cookies["bookmark"]">33c3</a>
    </div>
</div>